Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Mutex could not be created.
newcomer
#1 Posted : Wednesday, June 28, 2006 7:25:11 PM(UTC)
Groups: Member
Joined: 6/28/2006(UTC)
Posts: 2

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)


Ultidev Team
#2 Posted : Wednesday, June 28, 2006 7:29:01 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, newcomer!

Are you using an UltiDev Cassini or Microsoft Cassini? Also, what version of Visual Studio is it: 2003 or 2005?

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
newcomer
#3 Posted : Wednesday, June 28, 2006 7:40:31 PM(UTC)
Groups: Member
Joined: 6/28/2006(UTC)
Posts: 2

Hi,
I use UltiDev Cassini and Microsoft VS.net 2003. Thank you very much!
Ultidev Team
#4 Posted : Wednesday, June 28, 2006 7:46:17 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hmm, nothing points to any particular problem. If you could reboot your machine and see if it still happens, then contact us via email, so after we respond you'll be able to ZIP your project and send it to us as an email attachment.

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Gonzo
#5 Posted : Monday, July 24, 2006 10:33:54 PM(UTC)
Groups: Member
Joined: 7/24/2006(UTC)
Posts: 3

Hi,

I have the same problem now.
- Exception Mutex couldnt be created
- shown port in console output is different to port in registered application

Is there any solution?

Regards
Gonzo

P.S. using visual studio 2003, .NET 1.1, UltiDev Cassini
Ultidev Team
#6 Posted : Wednesday, July 26, 2006 5:30:49 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Gonzo.

Unfortunately we were never able to reproduce the problem. If you have list of steps that reliably lead to the situatuion - we would be glad to look in it.

Rgards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
antxxxx
#7 Posted : Wednesday, November 8, 2006 7:15:47 AM(UTC)
Groups: Member
Joined: 11/8/2006(UTC)
Posts: 1

Hi
I had the same problem, but found that if i restarted the ultidev cassini service then it went away.

HTH

Anthony
Ultidev Team
#8 Posted : Wednesday, November 8, 2006 8:22:55 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you for the hint, Anthony!

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.