2014-02-06 37 views
0

我有2 ASP.NET Web应用程序,webapp2的是ASP.NET 2.0,webapp1是ASP.NET 1.1 IIS是Windows Server 2008的如何使ASP.NET 1.1 web应用程序作为asp.net 2.0的子项工作?

我创建webapp2的一个网站上。对于asp.net 2.0

然后创建Web应用程序(添加应用程序)webapp1下webapp2的设置应用程序池,并设置applocation池Asp.net 1.1

设置应用程序池Asp.NET 1.1和托管管道模式综合, 然后webapp1不能正常工作。遇到错误为:

HTTP Error 500.21 - Internal Server Error 
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list 

设置应用程序池Asp.NET 1.1和托管管道模式古典, 然后webapp1不工作。遇到错误为:

Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Unrecognized attribute 'inheritInChildApplications'. 

Source Error: 

Line 1: <?xml version="1.0" encoding="utf-8" ?> 
Line 2: <configuration> 
Line 3: <location path="" inheritInChildApplications="false" > 
Line 4:  <system.web> 
Line 5:   <!-- DYNAMIC DEBUG COMPILATION 

如果我设置的应用程序池Asp.net 2.0 webapp1,它是工作,但在某些时候我得到了以下错误:

此前,webapp1是下ASP其他网络应用。净1.1和工作正常(在同一台服务器上)

如何解决此问题?

回答

0

尝试从1.1应用程序web.config中删除属性inheritInChildApplications,因为它似乎已在.net 2.0中引入。

inheritInChildApplications = “假”

see msdn article here

相关问题