iis 7 \ windows 7 asp.net 访问被拒绝
我正在尝试一个非常简单的操作,将文件保存到我的文件夹中。我使用 iis 7 在 Windows 7 上托管我的应用程序。当我尝试保存文件时,出现以下错误:
访问路径“C:\MyWebsite\MyFolder”被拒绝
我不是在模仿,我已授予网络服务完全控制权在文件夹上。可能是什么原因造成的?
谢谢你!
抱歉:我的错误,显然我安装的是 iis 7(不是 7.5)
I am trying a very simple action of saving a file into a folder of mine. I am hosting my application on windows 7 using iis 7. When I try saving my file I get the following error:
Access to the path 'C:\MyWebsite\MyFolder' is denied
I am not impersonating, I have given network service full control on the folder. What can be causing this?
Thank you!
Sorry: My mistake, apprently I have an installation of iis 7 (not 7.5)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您从未解决过这个问题,则需要检查其他内容 - 您是否覆盖了现有文件?如果是这样,请确保它不是只读的。这会给你同样的错误,并且通常的权限更改都无法修复它。
我有类似的设置并尝试了一切。终于做到了。
If you never solved this, something else to check - are you overwriting an existing file? If so, make sure it's not read-only. That will give you this same error, and none of the usual permission changes will fix it.
I had a similar setup and had tried everything. That finally did it.