ExecutionEngineException :Failed to load JIT compiler

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I created web application using ASP.NET 2.0.
that application located in three different servers.
only one application in a certain server does work very strangely.
when it tried to connect to the datasource using one of class of
System.Data, it return error (I debug remotely).
the error is like below.
==========================================================================

An error occurred in the following application: DigeReports

In the following module: login_aspx

The Source was: System.Data

With the Message: Could not load file or assembly 'System.Transactions,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of
its dependencies. Access is denied.

Stack Trace: at
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at login.DoLogin() in
D:\Hosting\digecenter.com\reports-stage\html\login.aspx.vb:line 204

Target Site: System.Data.ProviderBase.DbConnectionInternal
GetConnection(System.Data.Common.DbConnection)

Additional Info: Error occurred in login_aspx/DoLogin
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
owningObject)
at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection)
at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at login.DoLogin() in
D:\Hosting\digecenter.com\reports-stage\html\login.aspx.vb:line 204

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
============================

after I got this, I add the "System.Transactions, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089'" in web.config and
recycled the application. then it start working for a while and then it stop
working again.

sometime, I got this error (JIT ) on page as well for this application.When
I looked at the EventViewer then it is warning


========================================================
Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 6/24/2007 7:53:23 PM

Event time (UTC): 6/25/2007 12:53:23 AM

Event ID: 988500d5ad0d4fe29516b2db2cb49cfa

Event sequence: 4

Event occurrence: 1

Event detail code: 0


Application information:

Application domain: /LM/W3SVC/984866870/Root-1-128272063608134754

Trust level: Full

Application Virtual Path: /

Application Path: D:\Hosting\digecenter.com\reports-stage\html\

Machine name: STAGE1


Process information:

Process ID: 3492

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE


Exception information:

Exception type: ExecutionEngineException

Exception message: Failed to load JIT compiler


Request information:

Request URL: http://reports.test.com/login.aspx?ReturnUrl=/default.aspx

Request path: /login.aspx

User host address: 192.168.18.150

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: True

Stack trace: at
__ASP.FastObjectFactory_app_web_login_aspx_cdcab7d2_gk76gqdf.Create_ASP_login_aspx()

at System.Web.Compilation.BuildResultCompiledType.CreateInstance()

at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)

at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context,
String requestType, VirtualPath virtualPath, String physicalPath)

at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)

at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)



Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.



.



Relevant Pages

  • Re: Path to path denied
    ... granting access rights to the resource to the ASP.NET request identity. ... FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean ... System.Web.Hosting.VirtualPathProvider.OpenFile(VirtualPath virtualPath) ...
    (microsoft.public.vsnet.general)
  • Re: Path to path denied
    ... granting access rights to the resource to the ASP.NET request identity. ... FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean ... System.Web.Hosting.VirtualPathProvider.OpenFile(VirtualPath virtualPath) ...
    (microsoft.public.vsnet.general)
  • MOSS Search Recurrent Event Log Errors
    ... (VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, ... (HttpContext context, VirtualPath virtualPath, Boolean noBuild, ... (HttpContext context, String verb, String url, String filePath) ...
    (microsoft.public.sharepoint.portalserver)
  • Path to path denied
    ... granting access rights to the resource to the ASP.NET request identity. ... FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean ... System.Web.Hosting.VirtualPathProvider.OpenFile(VirtualPath virtualPath) ...
    (microsoft.public.vsnet.general)
  • Re: vb script or asp.net problem - not sure where to begin
    ... i uninstalled asp.net 2.0 and just running iis with whatever is default ... >> virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean ... >> String requestType, VirtualPath virtualPath, String physicalPath) ...
    (microsoft.public.dotnet.framework.aspnet)