ASP.NET 2.0 – Mutex cannot create and Weird web outputs

If you face 2 scenarios as below:

 

1st scenario:

 

When you run your web application and you find out that you have an error Mutex cannot create error (InvalidException something like that), what should you do?

 

2nd scenario:

 

When you create a new web application project in Visual Studio 2005, then you drag 2 controls (button and textbox) into your web form. Later you try to run it and you cannot see any controls on your web form, what should you do?

 

Very simple. I learned something today while helping to fix my colleague’s development machine. Do this:

 

a)       Close your Visual Studio 2005 IDE.

b)       Go to this folder C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

c)       Delete all the files within that directory

d)       Then reset your IIS by typing this in the Start à Run “iisreset”

e)       Try running your web project inside Visual Studio 2005 IDE and rebuild that project

 

Trust me it will work J have fun.

Published Friday, December 29, 2006 6:44 PM by chuawenching