我在visual Studio.NET中创建一个ASP.NET Web应用程序时候出现一个错误,错误信息是:"HTTP/1.1 500 Server Error",我重新安装IIS,错误还是没有解决,恳请高人指点迷津,谢谢

解决方案 »

  1.   

    500 error mean that there is something wrong with you application, 
    so you must check you code.
      

  2.   

    到相应目录运行aspnet_regiis -i
      

  3.   

    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -u
    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
      

  4.   

    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -c
      

  5.   

    执行以下步骤:
    1.重新安装IIS
    2.运行C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
    3.手动配置一下FrontPage 扩展如果不行,去浏览器的菜单, 工具->Internet选项->高级页,把“显示友好HTTP错误信息”前的勾去掉,看是什么错关于此错误,参看
    PRB: "HTTP/1.1 500 Internal Server Error" Error Message When You Have Multiple ASP.NET Applications That Use the Same Application Pool with Different Script-Mapped Versionshttp://support.microsoft.com/?kbid=822319
      

  6.   

    重新安装IIS
    除了HTTP/1.1 500 Server Error信息以外是否有其他更详细的信息?看看IIS的日志文件中是否有详细信息?在看看浏览Html文件或asp文件出错么?