Hi,
We are facing a strange problem in one of our customers.
It "randomly" (few times per day) suffers from :
- "Could not configure datastore from input stream" errors (anonymized detail below, this can occurs on any embedded hbm.xml file)
- followed by System.OutOfMemoryException exceptions
As far as I know, our others customers (with the SAME version) are working fine.
I suspect :
- a corrupted assembly (very few probabilities, isn't it ?)
- low memory side effect
Any idea about this ?
Best regards,
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 08/12/2011 12:26:08 Event time (UTC): 08/12/2011 11:26:08 Event ID: 0820d36abb164954bfc1aa6b8dd90432 Event sequence: 204 Event occurrence: 1 Event detail code: 0 Application information: Application domain: XXXXXXXXXX Trust level: Full Application Virtual Path: XXXXXXXXXX Application Path: XXXXXXXXXX Machine name: XXXXXXXXXX Process information: Process ID: 4488 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: MappingException Exception message: Could not configure datastore from input stream XXXXXXXXXX.hbm.xml Request information: Request URL: XXXXXXXXXX Request path: XXXXXXXXXX User host address: XXXXXXXXXX User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception) at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream, String name) at NHibernate.Cfg.Configuration.AddResource(String path, Assembly assembly) at NHibernate.Cfg.Configuration.AddAssembly(Assembly assembly) at NHibernate.Cfg.Configuration.AddAssembly(String assemblyName) at NHibernate.Cfg.Configuration.DoConfigure(IHibernateConfiguration hc) at NHibernate.Cfg.Configuration.Configure(XmlReader textReader) at NHibernate.Cfg.Configuration.Configure(String fileName, Boolean ignoreSessionFactoryConfig) at NHibernate.Cfg.Configuration.Configure(String fileName) at ICS_Net.Data.NHibernateSessionManager.GetSessionFactoryFor(String sessionFactoryConfigPath) at ICS_Net.Data.NHibernateSessionManager.GetSessionFrom(String sessionFactoryConfigPath, IInterceptor interceptor) at ICS_Net.Data.NHibernateConfig.get_Session() at ICS_Net.Web.UI.IcsPage.AppliquerFiltresNHibernate(Int32 idLangue) at ICS_Net.Web.UI.IcsPage.OnPreInit(EventArgs e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)