Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 11th, 2005, 06:41 AM
Registered User
 
Join Date: Feb 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 &quot;System.Web.Compilat
ion.CompilationLock&quot; 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&amp; comp
letedSynchronously) +173
</pre></code>

                  </td>
               </tr>
            </table>

            <br>



            <b>Version Information:</b>&nbsp;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 &quot;System.Web.Compila
tion.CompilationLock&quot; 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
 
Old November 14th, 2005, 10:58 AM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you found the solution yet? I am having the same issue. I have installed visual studio 2005 and it started happening. My wks is XP and I know that XP runs IIS 5.1 and not 6.0. I also installed Sql Server 2005. I wonder if I need IIS 6.0. If so I have to upgrade my development wks to server 2003, I hope not.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Error for Package Created by VB6 Andraw VB Components 0 June 4th, 2008 10:57 AM
Created RTF when try to open RTF, got an error not24 C# 0 March 31st, 2006 01:31 PM
Self Created Function rajuru Beginning PHP 0 July 8th, 2005 06:33 AM
"An error log is being created"... where? MelissaEvans Beginning VB 6 5 January 14th, 2005 06:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.