问题描述
在此先感谢,
我已经在IIS中创建了一个虚拟目录,并已授予IIS_IUSRS(完全控制)的权限,甚至添加了所有人,但是当我从网页访问附件时,它给出了错误
Thanks in advance,
I have made a virtual Directory in IIS and has given permissions to IIS_IUSRS (Full Control) and Even added everyone,But when i am accessing attached file from the webpage its giving error
异常详细信息:System.ComponentModel.Win32Exception:访问被拒绝
Exception Details: System.ComponentModel.Win32Exception: Access is denied
在Visual Studio中,当我单击链接时,文件正在打开,仅当我从IIS浏览时,它会报错.当我添加标识时,会冒充="true"
在web.config中,它会导致页面加载错误
while from Visual studio when i click on the link , files are opening , Only when i browse from IIS it gives error.when i adds identity impersonate ="true"
in web.config,it gives error on page load
检测到ASP.NET设置不适用于集成托管管道模式.
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
有什么建议吗?
Any suggestions ?
推荐答案
这篇关于从IIS虚拟目录访问文件时,ASP.net错误访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!