简体   繁体   English

HTTP 错误 500.19 - 内部服务器错误

[英]HTTP Error 500.19 - Internal Server Error

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.专用服务器在带有 IIS 7 的 64 位 Windows 2008 服务器上运行。我在新服务器中的应用程序池处于集成模式。

I have a default.htm page as the start page and it works fine.我有一个 default.htm 页面作为起始页面,它工作正常。 I cannot access any other pages and encountering the error "HTTP Error 500.19 - Internal Server Error"我无法访问任何其他页面并遇到错误“HTTP 错误 500.19 - 内部服务器错误”

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" /}

Please help.请帮忙。

Thanks in advance!提前致谢!

Error Message: "HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid."错误消息: “HTTP 错误 500.19 - 内部服务器错误由于页面的相关配置数据无效,无法访问请求的页面。”

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.通常可以通过退出 Visual Studio 的所有实例,然后重新启动您正在处理的项目来解决此问题。 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.选择 Web 选项卡,然后在 Project Url 文本框中更改端口号。

For more information please visit: Advanced Entity Framework 6 Scenarios for an MVC 5 Web Application (12 of 12)有关更多信息,请访问: MVC 5 Web 应用程序的高级实体框架 6 方案(12 个,共 12 个)

Hope this helps...希望这可以帮助...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM