我装上4.0后,原先iis上2.0的程序都打不开了,卸载了4.0又正常了

解决方案 »

  1.   

    可以共存的
    注意iis里面asp.net版本的选择和应用程序池的划分
      

  2.   

    错误提示:
    Server Application Unavailable 
    The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request. 系统日志:It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.
    我装了4.0后就出现该提示了,原先2.0的程序还能用,但是4.0的程序用不了,打开就出现上述错误提示
      

  3.   

    执行下
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i貌似是没有注册导致
      

  4.   

    注册了还是出现错误了,改framework版本的时候出错如下提示:
    "Changing the Framework version requires a restart of the W3SVC service. Alternatively, you can change the Framework version without restarting the W3SVC service by running: aspnet_regiis.exe -norestart -s IIS-Virtual-Path. Do you want to continue(this will change the Framework version and restart the W3SVC service)?"
      

  5.   

    It is not possible to run two different versions of ASP.NET in the same IIS process.
    应该是一个程序池被2个版本的.net使用了你需要创建2个应用程序池,一个给2.0网站使用,另外一个给4.0网站使用
      

  6.   

    应用程序池,设置问题。首先,查看你站点选择的应用程序池,
    在基础设置里。然后在 站点节点上边的应用程序池里,看你使用的应用程序池的.NET 版本。