随心所欲

做个幸福的人
posts - 158, comments - 1617, trackbacks - 28, articles - 0
  博客园 :: 首页 :: 新随笔 ::  :: 订阅 订阅 :: 管理

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

Posted on 2005-08-05 09:14 随心所欲 阅读(566) 评论(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.
Google