在VS2013中强制IIS Express应用程序池使用经典模式
option-1: In Visual Studio goto WebSite/WebApplication properties and change ManagedPipelineMode 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).
option-1: In Visual Studio goto WebSite/WebApplication properties and change ManagedPipelineMode 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).
If you want all the WebApplications/WebSites that you are going to create in Visual Studio to run in 'Classic' mode (by default), then in %userprofile%\documents\iisexpress\config\applicationhost.config file change the applicationDefaults app pool as shown below.
<sites>
........
........
<applicationDefaults applicationPool="Clr4ClassicAppPool" />
<virtualDirectoryDefaults allowSubDirConfig="true" />
</sites>