简体   繁体   English

奇怪的asp.net“服务器无法访问应用程序目录...”错误

[英]weird asp.net 'Server cannot access application directory…' error

weird issue with visual studio 2010, right now i'm debugging a web application (which uses sitecore btw) and when entering in certain pages i get this error Visual Studio 2010的问题很奇怪,现在我正在调试一个Web应用程序(使用sitecore btw),并且在某些页面中输入时出现此错误

Server cannot access application directory c:\svn\foo\trunk The directory does not exist or is not accessible because of security settings.

now the real fun part. 现在最有趣的部分。 c:\\svn\\foo\\trunk is another asp.net project i worked on months ago on this same machine, with the same visual studio 2010, and they happen to both use sitecore too c:\\svn\\foo\\trunk是我几个月前在同一台计算机上使用同一Visual Studio 2010进行的另一个asp.net项目,它们碰巧也都使用了sitecore

besides those facts, the projects are absolutely not correlated. 除了这些事实之外,这些项目是绝对不相关的。 i deleted all the project files for foo eons ago 我删除了foo eons的所有项目文件

any idea what part of asp.net could be producing this error? 知道asp.net的哪一部分会产生此错误? what part does even know that i've used to work on this project?! 哪一部分甚至不知道我曾经从事过该项目?

如果使用符号链接或结点链接,请确保符号链接指向的文件夹仍然存在。

You may want to verify that your hosts file doesn't contain any strangeness, and likewise that your IIS instance doesn't contain any Applications that refer to your old codebase/directories. 您可能要验证您的hosts文件没有任何奇怪之处,同样,您的IIS实例也没有包含任何引用您旧代码库/目录的应用程序。

Also, try running VS as administrator, and/or setting your user's permissions to admin rights. 另外,尝试以管理员身份运行VS,和/或将用户的权限设置为管理员权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM