解決“未能創建 Mutex”的問題
英文原文及帖子地址:
http://forums.asp.net/1109781/ShowPost.aspx
I have got the same issue. It seems like Visual studio 2005 and the web application pool running ASP.NET 2.0 are having a conflict over the temporary folder.
The workaround I have got for now is:
- If you have visual studio 2005 is open, close it
- Go tot 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
翻譯一下:
1 如果你還開着VS2005,關掉。
2 到ASP.NET的臨時目錄下面<Windows dir>/Microsoft.Net/Framework/v2.0<extra numbers>/Temporary ASpNET pages
3 刪除你的項目的那個目錄(或者都刪除也行)
4 重啓IIS(如果在命令行下輸入 iisreset)
5 先打開IE訪問你的項目(http://localhost/yourapp)
6 然後再打開VS2005
.net framework 和 IIS重裝一下
或者先進入.Net framework的目錄,運行 aspnet_regiis /r 試試