您的位置:首页 > 其它

解决“未能创建 Mutex”的问题

2008-01-14 23:34 295 查看
解决“未能创建 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 试试
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: