ASP.NET应用程序包安装错误页面 [英] ASP.NET application package setup error page

查看:130
本文介绍了ASP.NET应用程序包安装错误页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我可以在IIS 7上设置asp.net应用程序,但是此错误消息显示是什么问题?

谢谢


Hi any one can help me i want to set up asp.net application on the IIS 7 but the this error message display please what is the problem?

Thanks


Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module  IIS Web Core
Notification    BeginRequest
Handler Not yet determined
Error Code  0x80070021
Config Error    Configuration section not allowed to be set below application
Config File \\?\C:\inetpub\wwwroot\Test\University\web.config
Requested URL   http://localhost:80/waterlooUniversity/waterlooUniversity
Physical Path   C:\inetpub\wwwroot\Test\University
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source

   51:   <system.webServer>
   52:     <modules runAllManagedModulesForAllRequests="true"/>
   53:   </system.webServer>

推荐答案

好像您用于应用程序池的用户帐户无权访问网站目录,因此它无法从那里读取配置.检查应用程序池,并查看其配置为以哪个用户身份运行.

检查目录,并查看该用户是否具有适当的权限.在查看事件日志时,请查看事件日志,看看IIS是否在那里记录了更详细的诊断信息
Looks like the user account you''re using for your app pool doesn''t have rights to the web site directory, so it can''t read config from there. Check the app pool and see what user it is configured to run as.

Check the directory and see if that user has appropriate rights to it. While you''re at it, check the event log and see if IIS logged any more detailed diagnostic information there


这是HTTP 500内部错误.

当错误为500时,这意味着它是内部错误,这意味着服务内部-服务引发了未捕获的异常.
在服务上的 Windows事件日志中查看问题出在哪里.

另外,请尝试:
-转到IE中的菜单工具/Internet选项".
-单击高级"选项卡上的取消选中显示友好的HTTP错误消息"选项,然后单击确定".
-尝试再次访问您的网页.现在,您将看到更有意义的错误消息,它将帮助您解决问题.

其他可能性:
您托管服务的方式可能存在问题.可能是多个配置文件?
It''s HTTP 500 Internal error.

When the error is 500, that means it''s an internal error, meaning internal to the service - the service threw an exception that was not caught.
Look in the Windows event logs on the service to see what went wrong.

Also, try:
- Go to menu Tools/Internet Options in your IE.
- Click on the Advanced tab, uncheck "Show friendly HTTP error messages" option and click Ok.
- Try accessing your web page again. Now you will see much more meaningful error message which will help you to troubleshoot the problem.

Other possibility:
There might be an issue in the way you have hosted your service. May be multiple config files?


这篇关于ASP.NET应用程序包安装错误页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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