Looking for the v10 manual? Visit our new user's guide!
Search Descriptions Version
This article applies to: MultiStore

Running MSx in .NET 4.0+ Integrated App Pool

Beginning with version MSx you can set the site to run under a .NET 4.0 Integrated App Pool.


NOTE: This has been tested using Visual Studio 2012 and IIS7

NOTE: This should be performed by knowledgeable developers ONLY. VORTX cannot assist with issues resulting from the use of this article.
  1. Backup your existing web.config file to a safe location
  2. Load the website in Visual Studio, open the Property Pages (Shift+F4), select the Build menu, and change the Target Framework to 4.0, Apply/OK
  3. In the server IIS, set the web site to use an ASP.NET v4.0 App Pool running Integrated Managed Pipeline Mode.
  4. Add the following line in your web.config just before the closing system.web tag to disable request validation which is enabled by default in .NET 4.0:

    <httpRuntime requestValidationMode="2.0" />

NOTE: You may need assistance from your server host administration to change the App Pool for your site.

NOTE: To reset the site to use ASP.NET v2.0 and Classic mode, revert to the original web.config file you backed up in step 1. Be sure to consider any additional changes that may have been made to the v4.0 web.config that should be merged in the original file.

NOTE: For the VB codebase version you will need to modify the compiler version line in the web.config as below:

<providerOption name="CompilerVersion" value="v4.0"/>