Visual Studio 对路径的访问被拒绝 - 多个驱动器
刚刚在 Windows 2008 服务器上安装了 vs2010,并尝试运行一个访问其中一个驱动器的应用程序,并收到错误
access to the path E:\logfiles is denied.
我以管理员身份登录,并且我看到 Visual Studio 正在以管理员身份运行。
是否有我需要设置的任何特定权限,或者是其他什么。
我怀疑这是我的代码,因为它在我的桌面上使用 Visual Studio 2008 运行良好
Just installed vs2010 on a windows 2008 server and tried running an application that accesses one of the drives and got the error
access to the path E:\logfiles is denied.
I am logged in as an administrator and I see visual studio is being run as administrator.
Is there any specific permissions I need to set or is it something else.
I doubt it's my code since it ran fine on my desktop using visual studio 2008
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我刚刚在 VS2008 的报表项目中尝试保存对 RDL 文件的更改时遇到了此错误。我的解决方案是检查文件系统中项目文件夹的属性对话框,并取消选中“属性”部分中的“只读”复选框。
I just ran into this error while trying to save changes on a RDL file in a Report Project in VS2008. The solution for me was to check the properties dialog of the project folder in the file system and uncheck the "Read-only" checkbox in the "Attributes" section.
我的第一个想法是检查 E:\logfiles 的权限。
通过 VS 中的调试器运行应用程序可能意味着该应用程序正在另一个无权访问该位置的用户帐户下运行(我强调可能,我'我真的不确定)。尝试导航到项目的 bin/debug 或 bin/release 目录中的 .exe,并从那里以管理员身份运行应用程序。
My first thought would be checking permissions on E:\logfiles.
Running an application through the debugger in VS could mean the application is running under a different user account that doesn't have permission to access that location (I emphasize could , I'm really not sure). Try navigating to the .exe in the bin/debug or bin/release directory of your project and run the application as administrator from there.
我取消选中 wwwroot 上的“只读”选项,这对我很有帮助。
I unchecked the "read-only" option on the wwwroot and it helped me.