部署asp.net Web应用程序 [英] deployment of asp.net web application

查看:102
本文介绍了部署asp.net Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上我部署了一个Web应用程序.... dis z for de first tym ....只是我发布了de file并上传了....它显示500(互联网服务器)错误.... wat将是de problem

actually i deployed an web application....dis z for de first tym....just i published de file and uploaded it....its showing 500(internet server)error....wat would be de problem

推荐答案

通过这个讨论...



http://stackoverflow.com/questions/5385714/deploying-website-500-internal-server-error [ ^ ]

http://stackoverflow.com/questions/6012460/deploy -asp-net-site-only-error-500 [ ^ ]



这是微软排除故障的链接

http://www.asp.net/ mvc / tutorials / deployment / visual-studio-web-deployment / troubleshooting [ ^ ]
Go through this discussion...

http://stackoverflow.com/questions/5385714/deploying-website-500-internal-server-error[^]
http://stackoverflow.com/questions/6012460/deploy-asp-net-site-only-error-500[^]

And here is the link for troubleshooting from Microsoft
http://www.asp.net/mvc/tutorials/deployment/visual-studio-web-deployment/troubleshooting[^]


您可能知道,HTTP 500错误是Web服务器返回的一般错误消息它知道出现了问题,但无法对错误进行更具体的说明。但是,当您试图找出导致错误的原因时,这并不一定有用,因此您可以修复它并让您的网站加载。



将此添加到web.config以查看实际错误是什么:

As you may know, a HTTP 500 error is a generic error message returned by a web server when it knows something has gone wrong but it is unable to be more specific about the error. That’s not necessarily helpful, though, when you are trying to figure out what is causing the error so you can fix it and get your web site to load.

Add this to the web.config to see what the actual error is :
<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
    </system.webServer>
    <system.web>
        <customErrors mode="Off" />
        <compilation debug="true" />
    </system.web>
</configuration>  


这篇关于部署asp.net Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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