Friday, March 25, 2011

Mutex could not be created

While working on a .NET 2.0 ASP.Net website, I tried to run the website and this is the error I got 

"Mutex could not be created"
Seemed like a difficult error, which would take days to resolve, and even when you finally find a solution, you still won't know what actually caused it.
But a little googling got me the solution, however, I still don't know what caused the error to occur.

Copy pasting the solution from this site so that you don't have to go through the whole page. Just do EXACTLY as it says and you'll be out..
- If you have visual studio 2005 open, close it
- Go to the ASP.NET temporary folder for v2.0 of the framework
    <Windows dir>\Microsoft.Net\Framework\v2.0<extra numbers>\Temporary ASPNET pages
- Remove the folder for your application (or all of them)
- Reset IIS (on a command line window, >iisreset) [not always needed, but I had to use it sometimes]
- First Browse your page from IE (http://localhost/your app)
- Then reopen Visual studio

No comments:

Post a Comment