让Asp.net1.0和2.0同时运行

 大部分情况下,他们都可以同时运行,但是有时候他们不能在同一台机器的IIS上同时运行。

修改办法:
1:把网站的asp.net属性设置由1.0--〉2.0--〉1.0
  很奇怪。居然好了。这个网站下边的1.0和2.0的虚拟目录都能正常工作了。
2:创建两个应用程序池:asp.net1.0 AppPool和asp.net2.0 AppPool,然后让程序分别应用这两个程序池,问题也解决了。

附:出错时的错误信息,在事件查看器里找到的。
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.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
posted @ 2007-04-21 10:50  芙蓉客  阅读(212)  评论(0)    收藏  举报