I know how to switch to "Classic Mode" (from "Integrated Mode") in the full IIS via application pool settings. But I can't find how to do it in the current IIS Developer Express beta.
The MS Developer Express FAQ says it can be done, but not how. It's not in the WebMatrix GUI, as far as I can tell. Maybe customization of the Developer Express project file, but I don't see any documentation for that at all.
FYI, there is a Settings area where you can set SSL, CLR version (2.0 in this case), which is where I figure the Pipeline mode (Classic/Integrated) would be, but it's not there.
To toggle the Management Pipeline Mode setting for this application pool, simply double click the application pool. In the drop-down menu for Managed Pipeline Mode, toggle the setting to Integrated and select 'OK'. Once the Managed Pipeline mode is set to Integrated, you must perform an IIS Reset.
option-1: In Visual Studio goto WebSite/WebApplication properties and change Managed Pipeline Mode to 'Classic'. option-2: Open %userprofile%\documents\iisexpress\config\applicationhost. config and locate your site in "Sites" section and change the app pool to classic (say Clr4ClassicAppPool ).
Classic mode maintains backward compatibility with earlier versions of IIS by using an ISAPI extension to invoke the ASP.NET runtime. IIS 7.0 Integrated mode is a unified request-processing pipeline that combines the ASP.NET request pipeline with the IIS core request pipeline.
An important difference is the way worker processes are managed. In IIS, the Windows Process Activation Service (WAS) silently activates and deactivates Web applications and the user has no direct control. In IIS Express, there is no WAS and the user has full control of application activation and deactivation.
Using appcmd is not needed, it is best to change this in the project's settings:
I found the following worked with my copy of the IIS Express beta ...
appcmd set app /app.name:ExampleApp/ /applicationPool:Clr4ClassicAppPool
Note the forward slash at the end of ExampleApp !
What version of VS are you using? The reason I ask is because tooling support for integrated mode is only supported from VS2010 up. See comment here:
http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe
http://learn.iis.net/page.aspx/870/use-the-command-line-to-run-a-webmatrix-site-or-application/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With