在IIS7.5中托管ASP.NET会导致Access被拒绝? [英] Hosting ASP.NET in IIS7.5 gives Access is denied?

查看:104
本文介绍了在IIS7.5中托管ASP.NET会导致Access被拒绝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我当地主人的工作。

但主机上的错误。

为什么?



图片here => 图片

It's work on my local host.
But error on hostting.
Why?

Image here => Image

推荐答案

错误是说代码无法访问那条路。您需要进入IIS,找到您的应用所在的应用池,找到它正在运行的身份,并将身份更改为具有权限的帐户或授予该帐户访问该文件夹结构的权限。
The error is saying that the code cannot access that path. You need to go into IIS, find the app pool that your app is in, find the identity it is running as and either change the identity to an account that has permissions or grant that account access to the folder structure.


这篇关于在IIS7.5中托管ASP.NET会导致Access被拒绝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆