创建ASP.NET程序时候发生错误"HTTP/1.0500ServerError"的一个解决办法

来源:互联网 发布:百视通网络电视 编辑:程序博客网 时间:2024/06/06 03:01
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
今天同事在打开以前的HTTP://www.66of.com" target=_blank>ASP.HTTP://www.66of.com" target=_blank>NET项目时,报了此错"HTTP/1.0 500 Server Error"
经多方查询,原因多种多样,解决方法也是五花八门,但都无效.
最后灵机一动,尝试着重新进行HTTP://www.66of.com" target=_blank>ASP.HTTP://www.66of.com" target=_blank>NET的IIS注册,再打开项目时,ok!问题解决.

步骤:
命令行模式进入 C:/WINNT/Microsoft.HTTP://www.66of.com" target=_blank>NET/Framework/v1.1.4322
先执行卸载 HTTP://www.66of.com" target=_blank>ASPHTTP://www.66of.com" target=_blank>NET_regiis.exe -u
再执行注册 HTTP://www.66of.com" target=_blank>ASPHTTP://www.66of.com" target=_blank>NET_regiis.exe -i

<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>