IIS服务器遇到的一个问题(已解决)

本文解决了一个关于在同一服务器上同时运行.NET 1.1和.NET 2.0应用程序的问题。当尝试运行.NET 2.0应用时遇到了“Server Application Unavailable”的错误。通过配置IIS将不同版本的应用程序分配到不同的应用池中解决了这一问题。
问题: I have .NET 1.1 running on remote (dedicated) server.  I have just installed Net 2.0 and created a Hello-World App to test it.  It worked fine yesterday, but today when I try it again I get "Server Application Unavailable" 

My 1.1 web apps seem to be running ok.  The following message was in the event log.  "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"


解决:


Check your application pools.

1.  Expand the Application Pool in the IIS MMC
2.  If there is only one create a new one.

Point all of your new 2.0 sites to point to the new application pool you created.  1.1 and 2.0 web applications can not use the same application pool., and can be changed under the sites properties - Home Directory tab..


完!


讨论地址:http://forums.asp.net/p/940519/3798562.aspx/1?Re+Running+NET+2+0+and+NET+1+1+apps+on+same+server+Problem+

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值