Update the web.config for SharePoint 2010

If you are using Microsoft SharePoint 2010, do the following to modify the web.config file.

Prerequisites

Navigation

  1. In a text editor, open the web.config file for your SharePoint installation.

Instructions

  1. In the web.config within the AssemblyBinding node, paste the following:
    <dependentAssembly>
       <assemblyIdentity name="Microsoft.SharePoint.ApplicationPages" 
          publicKeyToken="71e9bce111e9429c" culture="neutral" />
       <bindingRedirect oldVersion="12.0.0.0" newVersion="14.0.0.0" />
    </dependentAssembly>

    This step addresses a limitation in Microsoft SharePoint 2010. If you do not complete this step, an error will appear on the pages wfassociation.aspx and processviewer.aspx.

  2. In the web.config within the system.serviceModel node, paste the following:
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

    This step addresses an issue that can cause an error in Windows Service environments.

  3. Save and close the web.config.