如何使用可视化工作室发布网站.它在本地主机上运行良好,但我不断收到HTTP错误500



发布我的网站后,它会完美地显示主页。但是,当我尝试登录时,它向我显示HTTP错误500。

我已经尝试将我的数据库连接到 azure,但它仍然不起作用。

我建议您参考此链接,它可能会为您提供有关如何使用Visual Studio部署Web应用程序的信息:

http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html

错误 500 只是表示某些请求未按时得到正确响应的通用方式。

另外,我请您参考该帖子,该帖子可能会为您提供有关该问题的一些见解:参考:

http://stackoverflow.com/questions/29518365/how-to-get-error-details-of-an-asp-net-5-app-deployed-on-azure-websites

http://stackoverflow.com/questions/30184344/windows-azure-publish-fails-500-internal-server-error

http://www.asp.net/mvc/overview/deployment/visual-studio-web-deployment/troubleshooting

希望对您有所帮助。

最新更新