J
js
I got the following error and trace while trying to launch the
applicaiton. The application is installed on a Windows 2003 Server
running IIS6 with both Enterprise Library June 2005 and Jan 2006
installed. The application run perfectly on another Windows 2003
Server with exact configuration. This error seems to be database
related. This two installations hit the same database server.
Therefore, the connection string is identical. Does anyone know what
is going on? Thanks.
Type: System.TypeInitializationException
Message: The type initializer for
"Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent"
threw an exception.
Stack: at
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent.Fire(String
connectionString) at
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataInstrumentationFacade.ConnectionFailed(String
connectionString) at
Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection() at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DBCommandWrapper
command) at DMS_ASPX.Helper.News.LookupNewsByAccountType(Int32
intAccountType) at DMS_ASPX.form.main.fillNews()
applicaiton. The application is installed on a Windows 2003 Server
running IIS6 with both Enterprise Library June 2005 and Jan 2006
installed. The application run perfectly on another Windows 2003
Server with exact configuration. This error seems to be database
related. This two installations hit the same database server.
Therefore, the connection string is identical. Does anyone know what
is going on? Thanks.
Type: System.TypeInitializationException
Message: The type initializer for
"Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent"
threw an exception.
Stack: at
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent.Fire(String
connectionString) at
Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataInstrumentationFacade.ConnectionFailed(String
connectionString) at
Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection() at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DBCommandWrapper
command) at DMS_ASPX.Helper.News.LookupNewsByAccountType(Int32
intAccountType) at DMS_ASPX.form.main.fillNews()