It is not possible to run two different versions of ASP.NET in the same IIS process:IIS
2008-11-30 15:18
1036 查看
It is not possible to run two different versions of ASP.NET in the same IIS process.问题解决
在IIS6.0上,如果我们想同时部署.NET 1.0 和.NET2.0编写的Web应用程序,我们就需要针对不同版本的Framework建立不同的应用程序池。
如果直接将一个.Net 1.0 和一个.Net 2.0编写的Web应用程序部署到IIS6.0上,同时使用默认的AppPool,则回出现以下问题:
1. 通过浏览器访问Web应用的时候
2. 查看事件查看器 (运行-àcompmgmt.msc)
问题:
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.
3. 解决方法,针对不同的Framework应用程序,建立不同的Application Pool.
针对不同版本的站点(包括虚拟目录,因为它也要用Application Pool),采用不同的Application Pool,即新建一个用于.net2.0以Application Pool为模板的应用程序池.Net2.0,再修改站点的属性—>应用程序池为.Net2.0就OK了。就这么简单!
在IIS6.0上,如果我们想同时部署.NET 1.0 和.NET2.0编写的Web应用程序,我们就需要针对不同版本的Framework建立不同的应用程序池。
如果直接将一个.Net 1.0 和一个.Net 2.0编写的Web应用程序部署到IIS6.0上,同时使用默认的AppPool,则回出现以下问题:
1. 通过浏览器访问Web应用的时候
2. 查看事件查看器 (运行-àcompmgmt.msc)
问题:
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.
3. 解决方法,针对不同的Framework应用程序,建立不同的Application Pool.
针对不同版本的站点(包括虚拟目录,因为它也要用Application Pool),采用不同的Application Pool,即新建一个用于.net2.0以Application Pool为模板的应用程序池.Net2.0,再修改站点的属性—>应用程序池为.Net2.0就OK了。就这么简单!
相关文章推荐
- It is not possible to run two different versions of ASP.NET in the same IIS process
- It is not possible to run two different versions of ASP.NET in the same IIS process.问题的解决
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- 解决asp.net error: Operation is not valid due to the current state of the object
- ASP.NET4.0错误:Operation is not valid due to the current state of the object
- UISearchController Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior
- Is it possible to get the difference from two dynamic arrays regardless of their order?
- webview使用遇到 It is possible that this object was over-released, or is in the process of deallocation错误的解决办法
- PRB: "Requested Registry Access Is Not Allowed" Error Message When ASP.NET Application Tries to Write New EventSource in the Eve
- Is it possible to make asp.net themes available to all sites on the sever?
- Is it possible to make asp.net themes available to all sites on the sever?
- FW: How to spawn a process that runs under the context of the impersonated user in Microsoft ASP.NET pages
- Is it possible to use a checkbox in a split button list instead of the gear icon?
- How to spawn a process that runs under the context of the impersonated user in Microsoft ASP.NET pages
- linux oracle ORA-01221: data file 1 is not the same file to a background process
- .NET错误The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework
- InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pa
- add cool toolbar 256corler is easy,only two file and onCreate func is needed also the MainFrame.toolbar must resize to what real need and also the load width is same to it.
- AS.NET2.0 用户控件错误!!The base class includes the field 'MyControl_1', but its type (MyControl) is not compatible with the type of control (ASP.MyControl_ascx).
- 错误解决:Unable to add module to the current project as it is not of packagi