HTTP 500内部服务器错误意味着您访问的网站存在服务器问题,导致网页无法显示 [英] HTTP 500 Internal Server Error means that the website you are visiting had a server problem which prevented the webpage from displaying

查看:426
本文介绍了HTTP 500内部服务器错误意味着您访问的网站存在服务器问题,导致网页无法显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨................





我正在尝试托管网络Windows 7中的应用程序在浏览目录时出现以下错误。



此错误(HTTP 500内部服务器错误)表示您访问的网站存在服务器问题防止网页显示。提供soln

hi................


I am trying to host web application in windows 7.i got following error while brows directory.

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.provide soln

推荐答案

当错误为500时,这意味着它是一个内部错误,意味着服务内部 - 服务引发了异常没有被抓住。

查看服务器上的 Windows事件日志,看看出了什么问题。



另外,尝试:

- 转到IE中的菜单工具/ Internet选项。

- 单击高级选项卡,取消选中显示友好HTTP错误消息选项,然后单击确定。

- 再次尝试访问您的网页。现在您将看到更有意义的错误消息,它将帮助您解决问题。



其他几种可能性:

可能有一个您托管应用的方式存在问题。可能是多个配置文件?

请确保您已正确托管应用程序。将应用程序发布为网站并设置虚拟目录。



详情请见: Microsoft支持:当您访问IIS 7.0上承载的网站时出现错误消息:HTTP错误500.0 - 内部服务器错误 [ ^ ]
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 server 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 few possibilities:
There might be an issue in the way you have hosted your app. May be multiple config files?
Do make sure, you have hosted your application correctly. Published the application as website and setting up the virtual directory.

See details here: Microsoft Support: Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"[^]


请确保您的应用程序web.config或app.config文件没有任何问题或在配置部分完善。如果您更改了HTTPS配置或其他配置,请验证配置是否已完全更新。



谢谢

Dushmantha
Please make sure that your application web.config or app.config file has not any issue or perfect in config sections. If you changed the config for HTTPS configuration or something else, please verify config is perfectly updated.

Thanks
Dushmantha


这篇关于HTTP 500内部服务器错误意味着您访问的网站存在服务器问题,导致网页无法显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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