Enterprise Library June 2005 error

Joined
Jun 9, 2008
Messages
1
Reaction score
0
Hi,

I'm using ASP.Net 1.x and the microsoft patterns & practices Enterprise Library.

I've got everything working on my development machine but when I try to publish this to the web server I keep getting the below error.

We have tried clearing the eventlogs, registered the enterprise dlls using installutil and even rebuilt the code and tried publishing.


Server Error in '/' Application.
________________________________________
DataAccess.GetRoles:():The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent" threw an exception.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: DataAccess.GetRoles:():The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent" threw an exception.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[Exception: DataAccess.GetRoles:():The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent" threw an exception.]
DataLayer.DataManager.GetRoles(String AssociateID)

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess) +0
System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess) +311
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +23
System.Reflection.MethodInfo.Invoke(Object obj, Object[] parameters) +17
DataLayer.DataManagerServer.Fetch(String methodName, Object[] parameters, String typeName)
BusinessLayer.DataManagerClient.Fetch(Object[] parameters)
BusinessLayer.DataManager.GetRoles(String AssociateID)
Dexterity.Global.Application_AuthenticateRequest(Object sender, EventArgs e) in c:\inetpub\wwwroot\Dexterity\Global.asax.cs:62
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407


Kindly help us out
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top