Commerce Server General - NullReferenceException CreateProfile

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > September 2004 > NullReferenceException CreateProfile





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author NullReferenceException CreateProfile
Quinn Wilson

2004-08-30, 5: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.CreateProfile(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(String
keyValue, String profileType)
at Microsoft.CommerceServer.Site.Components.AccountManager.CreateAccount(String
Username, String ClearPassword, String EmailAddress, Boolean
LoginUser, Boolean AnonymousUser)
at Microsoft.CommerceServer.Site.Components.AccountManager.CreateAnonymousUserAccount()
at Microsoft.CommerceServer.Site.Components.CommerceApplication.Application_BeginRequest(Object
sender, EventArgs e)
at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) SERVER_VARIABLESConnection:
Keep-Alive
Quinn Wilson

2004-09-02, 6:21 pm

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

2004-09-03, 5: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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com