Enabling Ambient Data Framework on the .NET Web site

Enable Ambient Data Framework on the .NET Web site to make UGC work.

Procedure

  1. Navigate to the root directory of your .NET Web site and open web.config in that location in a plain-text or XML editor.
  2. To enable the Ambient Data Framework, do one of the following:
    IIS 6, or IIS 7.x (Application Pool in Classic Mode)

    Add the following inside the <httpModules> inside the <system.web> section (create an <httpModules> element if it does not yet exist):

    <add type="Tridion.ContentDelivery.AmbientData.HttpModule" name="AmbientFrameworkModule" />
    IIS 7.x (Application Pool in Integrated Mode)

    Add the following inside the <modules> inside the <system.webServer> section (create a <modules> element if it does not yet exist):

    <add type="Tridion.ContentDelivery.AmbientData.HttpModule" name="AmbientFrameworkModule" preCondition="managedHandler" />
  3. Copy the file cd_ambient.jar from Content Delivery\roles\api\java\lib\ on your SDL Tridion installation media to the bin\lib\ folder of your Web site.
  4. Copy the file cd_ambient_conf_sample.xml from Content Delivery\resources\configurations\ on your SDL Tridion installation media to the bin\config\ folder of your Web site, and rename it to cd_ambient_conf.xml.
  5. Open cd_ambient_conf.xml in a plain-text or XML editor.
  6. Find the <Security> section and enclose it in comments. This element is only needed if you intend to set up OAuth authentication.
  7. Save and close cd_ambient_conf.xml.