In IIS7 you now have an integrated mode and an classic mode. Is it possible to force a site to run in integrated mode using web.config and without access to IIS7.
在IIS7中,您现在拥有集成模式和经典模式。是否可以使用web.config强制站点以集成模式运行,并且无法访问IIS7。
Reason I ask is that I have recently signed up with Mosso and need to run my site in integrated mode and not classic.
我问的原因是我最近与Mosso签约并需要以集成模式运行我的网站而不是经典。
I know I can call them and maybe get them to change it over...
我知道我可以打电话给他们,也许让他们改变它...
2 个解决方案
#1
That's a setting you won't be able to change through your app's web.config
.
这是一个您无法通过应用程序的web.config更改的设置。
The pipeline mode is a property of the application pool and is configured:
管道模式是应用程序池的属性,并配置为:
C:\Windows\System32\inetsrv\config\applicationHost.config
under:
configuration->system.applicationHost->applicationPools
#2
You also need to be aware that there are new nodes in the web.config for integrated mode. If you use http headers they need to be moved from system.web to system.webserver. There are some good articles that discuss this here: http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html and here: http://msdn.microsoft.com/en-us/library/46c5ddfy.aspx
您还需要注意web.config中有新节点用于集成模式。如果使用http标头,则需要将它们从system.web移动到system.webserver。这里有一些很好的文章讨论这个:http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html和这里:http://msdn.microsoft.com/en-us/library/46c5ddfy。 ASPX
#1
That's a setting you won't be able to change through your app's web.config
.
这是一个您无法通过应用程序的web.config更改的设置。
The pipeline mode is a property of the application pool and is configured:
管道模式是应用程序池的属性,并配置为:
C:\Windows\System32\inetsrv\config\applicationHost.config
under:
configuration->system.applicationHost->applicationPools
#2
You also need to be aware that there are new nodes in the web.config for integrated mode. If you use http headers they need to be moved from system.web to system.webserver. There are some good articles that discuss this here: http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html and here: http://msdn.microsoft.com/en-us/library/46c5ddfy.aspx
您还需要注意web.config中有新节点用于集成模式。如果使用http标头,则需要将它们从system.web移动到system.webserver。这里有一些很好的文章讨论这个:http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html和这里:http://msdn.microsoft.com/en-us/library/46c5ddfy。 ASPX