我正试图让我的网站出现在本地主机上。我在windows特性中安装了asp和asp.net,IIS看起来确实有效,但是问题是,当我在本地主机上访问站点本身时,就会出现这个错误。
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.然后在下面写着
Config Source
-1:
0: 现在我知道问题可能在web.config文件中,这里列出了.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<add value="index.asp" />
</files>
</defaultDocument>
</system.webServer>
</configuration>我能做些什么来解决这个问题?我上传了一张截图。

发布于 2013-02-08 17:02:09
这可能是因为ACL阻止IIS进程访问配置文件。确保应用程序池正在运行的帐户对包含网站的文件夹中的所有内容都具有读取访问权限。
https://serverfault.com/questions/472256
复制相似问题