HTTP 错误 500.19 - 内部服务器错误 [英] HTTP Error 500.19 - Internal Server Error

查看:34
本文介绍了HTTP 错误 500.19 - 内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的应用程序从云站点迁移到专用服务器.专用服务器在 IIS 7 的 64 位 Windows 2008 服务器上运行.我在新服务器中的应用程序池处于集成模式.

I am migrating my application from cloud sites to dedicated server. The dedicated server is running on Windows 2008 server 64 bit with IIS 7. My application pool in the new server is in integrated mode.

我有一个 default.htm 页面作为起始页面,它工作正常.我无法访问任何其他页面并遇到错误HTTP 错误 500.19 - 内部服务器错误"

I have a default.htm page as the start page and it works fine. I cannot access any other pages and encountering the error "HTTP Error 500.19 - Internal Server Error"

显示错误的配置源如下.

The configuration source showing as error is as follows.

{system.webServer}
   68:       {httpErrors errorMode="DetailedLocalOnly" defaultPath="/errorpage-404.asp" defaultResponseMode="ExecuteURL"}
   69:          {remove statusCode="404" subStatusCode="-1" /}

请帮忙.

提前致谢!

推荐答案

错误信息:HTTP 错误 500.19 - Internal Server Error 请求的页面无法访问,因为该页面的相关配置数据无效."

解决方案:获得此错误的一种方法是拥有解决方案的多个副本,每个副本都使用相同的端口号.您通常可以通过退出 Visual Studio 的所有实例,然后重新启动您正在处理的项目来解决此问题.如果这不起作用,请尝试更改端口号.右键单击项目文件,然后单击属性.选择 Web 选项卡,然后在 Project Url 文本框中更改端口号.

Solution: One way you can get this error is from having multiple copies of the solution, each of them using the same port number. You can usually solve this problem by exiting all instances of Visual Studio, then restarting the project you're working on. If that doesn't work, try changing the port number. Right click on the project file and then click properties. Select the Web tab and then change the port number in the Project Url text box.

更多信息请访问:Advanced Entity Framework 6 Scenarios for an MVC 5 Web Application (12 的 12)

希望这会有所帮助...

Hope this helps...

这篇关于HTTP 错误 500.19 - 内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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