NullReferenceException CreateProfile
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > NullReferenceException CreateProfile




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    NullReferenceException CreateProfile  
Quinn Wilson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-30-04 10:55 PM

Periodically I get the following error in my event log. It appears to
be a problem creating or retrieving profiles from the SQL server. I
cannot reproduce it in my development environment but once it occurs,
every subsequent connection produces the same error message. ( i.e.
the commerce site is down )

My only solution is to iisreset on that machine. After an iisreset
everything runs fine - for a while - as much as a couple of days and
as little as a couple of minutes.

Please help if you have seen this.



Event Type:	Error
Event Source:	Retail 2002
Event Category:	None
Event ID:	0
Date:		8/30/2004
Time:		1:51:32 PM
User:		N/A
Computer:	IKNT87
Description:
An error occured while processing the request. Request Url:
http://staging/onlinestore/Default.aspx Stack Trace:
System.NullReferenceException: Object reference not set to an instance
of an object.
at Microsoft.CommerceServer.Interop.Profiles.ProfileServiceClass.CreateProfi
le(Object
sValue, String bstrType)
at Microsoft.CommerceServer.Runtime.Profiles.Profile..ctor(ProfileContext
profileService, String keyValue, String profileType, Boolean
retrieveProfile)
at Microsoft.CommerceServer.Runtime.Profiles.ProfileContext.CreateProfile(St
ring
keyValue, String profileType)
at Microsoft.CommerceServer.Site.Components.AccountManager.CreateAccount(Str
ing
Username, String ClearPassword, String EmailAddress, Boolean
LoginUser, Boolean AnonymousUser)
at Microsoft.CommerceServer.Site.Components.AccountManager.CreateAnonymousUs
erAccount()
at Microsoft.CommerceServer.Site.Components.CommerceApplication.Application_
BeginRequest(Object
sender, EventArgs e)
at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionSt
ep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) SERVER_VARIABLESConnection:
Keep-Alive





[ Post a follow-up to this message ]



    Re: NullReferenceException CreateProfile  
Quinn Wilson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:21 PM

I should add that I made the errors go away ( for now ) by touching my
web.config to make the application restart.





[ Post a follow-up to this message ]



    Re: NullReferenceException CreateProfile  
Quinn Wilson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-03-04 10:49 PM

Well I seem to be the only one posting to this thread but I did figure
it out, or rather someone else did

http://groups.google.com/groups?hl=....news.dfncis.de

profile-resource connection also.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:47 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register