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
You need to give us more information. Are you getting an exception What's the exact error message Maybe you can post the code where the error occured !
In my case it was an invalid "machine.config" file that caused this message. (I was trying to run the ASPWorkerprocess under a different user under XP). Another hint is to check the eventlog in such a chase. That was how i found it. After fixing the config file and restarting IIS the problem was gone. Greetings Andreas
Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at
Mutex could not be created
sharpc
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:
Mike Price
I just closed Visual Studio editor and restarted IIS once. And its started working.
HTH.
Raj
Tom Medland
Steve Hale
In my case it was an invalid "machine.config" file that caused this message. (I was trying to run the ASPWorkerprocess under a different user under XP). Another hint is to check the eventlog in such a chase. That was how i found it.
After fixing the config file and restarting IIS the problem was gone.
Greetings
Andreas
Milskin
Hi!
Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at
http://www.asp.net/welcome.aspx tabindex=1&tabid=39HTH,
PEte