Mutex exception

G

Guest

After going productive a few days ago, we had a very strange exception on of
our loadbalanced productive servers running a Microsoft Content Management
Server ASP.Net application. As this exception is not thrown by our
application but a general one I would like to post this here. Any clue what
can cause such an generic exception? We could not reproduce it however i am
afraid that this probably can happen again.


Cheers,
Dominik

Server Error in '/Ingmcms' Application
--------------------------------------------------------------------------------

Mutex could not be created.
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.InvalidOperationException: Mutex could not be
created.

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:


[InvalidOperationException: Mutex could not be created.]
System.Web.Compilation.CompilationMutex..ctor(Boolean initialOwner,
String name, String comment) +245
System.Web.Compilation.CompilationLock..cctor() +112

[TypeInitializationException: The type initializer for
"System.Web.Compilation.CompilationLock" threw an exception.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +20
System.Web.UI.TemplateParser.GetParserCacheItem() +32
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
+43
System.Web.HttpApplicationFactory.Init(HttpContext context) +484
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
 
G

Guest

Dominik, Have you made any progress on this issue. I'm getting the same error
and I cannot find a solution.

Thanks
Brian
 
J

jeremy

I'm getting the same error, and no one seems to have an answer for it.

I've done some experimentation, and this is the extent of what I've
found:

My web application is running under Windows 2003 Enterprise Server.
It's querying a db server and binding data to a datagrid for display.
I am using impersonation, with a given username and pw b/c the database
and webapp are not running on the same server.

I found that if I change the application pool that the webapplication
is running under to run as the "local system" account or "local
service" account, instead of the "network service" account, it fixes
the problem.

Detailed Error Information:

Server Error in '/applications/ids/SupportWebForms' Application.
--------------------------------------------------------------------------------

Mutex could not be created.
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.InvalidOperationException: Mutex could not be
created.

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:


[InvalidOperationException: Mutex could not be created.]
System.Web.Compilation.CompilationMutex..ctor(Boolean initialOwner,
String name, String comment) +245
System.Web.Compilation.CompilationLock..cctor() +112

[TypeInitializationException: The type initializer for
"System.Web.Compilation.CompilationLock" threw an exception.]
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +20
System.Web.UI.TemplateParser.GetParserCacheItem() +32

System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplication(HttpContext
context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +484
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+414
 

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

Top