josko
Hi,
I'm having a problem in my CS production environment: Too many SiteConfigReadOnlyFreeThreaded are being created.
After some time I finally managed to reproduce the problem on development machine and the culprit seems to be the CommerceDataWarehouseAuthenticationModule as suggested by Vinayak in the post above.
What do I need to do to use the CommerceDataWarehouseAuthenticationModule and not receive the warning
----------------------------------
Here is the EventLog info:
The Warning:
The Commerce Server runtime has detected that more than 12 instances of the SiteConfigReadOnlyFreeThreaded object have been created. Creating many SiteConfigReadOnlyFreeThreaded instances will negatively affect the performance of the site. Please refer to the Commerce Server documentation for the recommended use of the SiteConfigReadOnlyFreeThreaded object.
The error*:
Exception information:
Exception type: CommerceException
Exception message: The call to function 'InitializeAuthLib' in the dll 'C:\Program Files\Microsoft Commerce Server 2007\AuthObjHlpr.dll' failed (HRESULT=2147614729). This may indicate an issue with the product installation, or with the settings for the site. Please verify your settings.
Stack trace: at Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule.SetupEncryptionSettings()
at Microsoft.CommerceServer.Runtime.CommerceDataWarehouseAuthenticationModule.Init(HttpApplication appInstance)
at System.Web.HttpApplication.InitModules()
at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)
at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
*I updated the dev machine registry with two flags as recommended in another post:
Go to HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\COMMERCE SERVER 2007
Create a DWORD "ExcessiveUseWarnLevel" and set it low, like 5. Default is 100
Create a second DWORD "ThrowExceptionOnExcessiveUse" set it to 1, Default is 0
Thanks,