简体   繁体   English

应用程序池模式问题:经典或集成

[英]Application Pool Mode Problem: Classic Or Integrated

I am facing an issue and was hoping if you could please provide me with some guidance: 我正面临一个问题,希望你能提供一些指导:

  1. I have a Asp.net 4.0 website application that uses spring.net and ext.net libraries. 我有一个使用spring.net和ext.net库的Asp.net 4.0网站应用程序。 I have deployed it in IIS 7 using classic application pool mode and it works. 我使用经典的应用程序池模式在IIS 7中部署它,它可以工作。 It doesn't work in integrated mode . 它在集成模式下不起作用

  2. I have another Asp.net 4.0 silverlight website application that is deployed in IIS 7 using integrated application mode and it works. 我有另一个使用集成应用程序模式部署在IIS 7中的Asp.net 4.0 silverlight网站应用程序,它可以工作。 It doesn't work in classic mode . 它不适用于经典模式

I have created a new ASP.net web application that combines both of the 1 and 2 web applications above. 我创建了一个新的ASP.net Web应用程序,它结合了上面的1和2 Web应用程序。 It uses Ext.Net, Spring.Net and Silverlight 4.0. 它使用Ext.Net,Spring.Net和Silverlight 4.0。 In Visual Studio's web server, when I run it in debug mode, it works perfectly. 在Visual Studio的Web服务器中,当我在调试模式下运行它时,它完美地工作。

When I deploy it in IIS 7, it doesn't work. 当我在IIS 7中部署它时,它不起作用。 How can I make the application run in one mode? 如何使应用程序在一种模式下运行? Is there a web.config setting that can define the parts of the website to run under a different application pool mode? 是否有web.config设置可以定义在不同的应用程序池模式下运行的网站部分?

I suspect that the problem you're having with the [ext.net] application is due to it being in integrated mode and you not having populated your web.config correctly. 我怀疑你在[ext.net]应用程序中遇到的问题是由于它处于集成模式而你没有正确填充你的web.config Take a look at the Ext.Net wiki page for Web.config . 查看Web.config的Ext.Net wiki页面。 (That said, I didn't realise there was an Ext.Net wiki until I searched to pickup the exact details a moment ago!) (那就是说,我没有意识到有一个Ext.Net wiki,直到我刚才搜索到了确切的细节!)

Basically, for "classic" you need to have configuration entries under <system.web><httpModules> and <system.web><httpHandlers> whereas for IIS7/Integrated mode you need to have configuration entries under <system.webServer><modules> and <system.webServer><handlers> respectively. 基本上,对于“经典”,您需要在<system.web><httpModules><system.web><httpHandlers>下具有配置条目,而对于IIS7 /集成模式,您需要在<system.webServer><modules>下具有配置条目<system.webServer><modules><system.webServer><handlers>分别。

This MSDN document might help you better understand the differences and then modify the one to use Integrated mode, which is the preferred mode going forward and if you're going to be deploying to IIS 7. 此MSDN文档可能有助于您更好地理解差异,然后修改一个以使用集成模式,这是首选的模式,如果您要部署到IIS 7。

http://msdn.microsoft.com/en-us/library/bb515251.aspx http://msdn.microsoft.com/en-us/library/bb515251.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 应用程序池:集成或经典 - Application pool: Integrated or classic C#API例程集成到ASP Classic应用程序中? - C# API routines integrated into ASP Classic application? 经典ASP如何在集成模式下适应ASP.NET生命周期? - How does classic ASP fit into the ASP.NET life cycle in integrated mode? 在ASP.NET 4.5中以编程方式获取模式应用程序池 - Get mode Application Pool programmatically in ASP.NET 4.5 如何以编程方式检测我的应用程序是否在ASP.NET页面中的IIS 7.0集成模式下运行 - How to programatically detect if my application is running in IIS 7.0 Integrated mode from within an ASP.NET page 为应用程序池“ xxx v4.0(经典)”提供服务的辅助进程已请求回收,因为它已达到其专用字节内存限制 - A worker process serving application pool 'xxx v4.0 (Classic)' has requested a recycle because it reached its private bytes memory limit 如何找到Visual Studio的Web服务器的应用程序池模式? - How to find Visual Studio's web server's application pool mode? 我可以没有IIS 7集成模式吗? - Can i live without IIS 7 integrated mode? 图像处理程序无法在IIS 7集成模式下工作 - image handler not working iis 7 integrated mode 有关集成管道模式的卡西尼错误 - Cassini error regarding integrated pipeline mode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM