且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

ASP.NET应用程序包安装错误页面

更新时间:2022-11-06 18:09:16

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

检查目录,并查看该用户是否具有适当的权限.在查看事件日志时,请查看事件日志,看看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?