Error : Mutex could not be created
Hi,
While creating a web service I got the following error.
<html>
<head>
<title>Mutex could not be created.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;c
olor:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-t
op: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top
: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;col
or:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;col
or:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color
:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/EPApp1001' Application.</H1>
<h2> <i>Mutex could not be created.</i> </h2></span>
<b> Description: </b>An unhandled exception occurred during the exec
ution of the current web request. Please review the stack trace for more informa
tion about the error and where it originated in the code.
<br><br>
<b> Exception Details: </b>System.InvalidOperationException: Mutex c
ould not be created.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web req
uest. Information regarding the origin and location of the exception can be iden
tified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[InvalidOperationException: Mutex could not be created.]
System.Web.Compilation.CompilationMutex..ctor(Bool ean initialOwner, String na
me, String comment) +212
System.Web.Compilation.CompilationLock..cctor() +112
[TypeInitializationException: The type initializer for "System.Web.Compilat
ion.CompilationLock" threw an exception.]
System.Web.Compilation.CompilationLock.SetMutexSta te(Int32 state) +0
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfNotF
ound) +21
System.Web.UI.TemplateParser.GetParserCacheItem() +32
System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String virtu
alPath, String inputFile, HttpContext context) +120
System.Web.UI.TemplateControlParser.GetCompiledIns tance(String virtualPath, S
tring inputFile, HttpContext context) +36
System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String virtualPath,
String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String reque
stType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String request
Type, String path, String pathTranslated, Boolean useAppConfig) +691
System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.
Execute() +95
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& comp
letedSynchronously) +173
</pre></code>
</td>
</tr>
</table>
<br>
<b>Version Information:</b> Microsoft .NET Framework Version:1.
1.4322.2032; ASP.NET Version:1.1.4322.2032
</body>
</html>
<!--
[InvalidOperationException]: Mutex could not be created.
at System.Web.Compilation.CompilationMutex..ctor(Bool ean initialOwner, String
name, String comment)
at System.Web.Compilation.CompilationLock..cctor()
[TypeInitializationException]: The type initializer for "System.Web.Compila
tion.CompilationLock" threw an exception.
at System.Web.Compilation.CompilationLock.SetMutexSta te(Int32 state)
at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean fCreateIfN
otFound)
at System.Web.UI.TemplateParser.GetParserCacheItem()
at System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String vi
rtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String virtualPath
, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String virtualPat
h, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String re
questType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requ
estType, String path, String pathTranslated, Boolean useAppConfig)
at System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionSt
ep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& compl
etedSynchronously)
-->
Can anyone give me some clue to fix it.
regards,
Rohit
Rohit
|