Hi, everyone,
I am a newbie to Cassini. When I debug my VJ.net application, I fond this error: "Mutex could not be created." ,"An unhandled exception of type 'System.InvalidOperationException' occurred in system.web.dll" and Cassini did not launch the browser pointing to the application. I also found the port displaying on the command screen is different from the port the Cassini generate. Can some one help me?
Following is the error detail:
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)
System.Web.Compilation.CompilationLock..cctor()
[TypeInitializationException: The type initializer for "System.Web.Compilation.CompilationLock" threw an exception.]
System.Web.Compilation.CompilationLock.SetMutexState(Int32 state) +0
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound)
System.Web.UI.TemplateParser.GetParserCacheItem()
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser)
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
System.Web.HttpApplicationFactory.Init(HttpContext context)
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)