Installing Contact subscription (ASP.NET)

You must install Contact subscription components on a publicly accessible Web site. This task describes how to install Contact subscription components on Internet Information Service (IIS).

Before you begin

  • You must have created a Subscription database.
  • You must install Contact subscription on a publicly accessible Web site.

About this task

Audience Manager provides sample Web pages that implement Subscription management.

Procedure

  1. Open Internet Information Services (IIS) Manager.
  2. Go to your existing public-facing Web site.
  3. Install and configure the Content Delivery API Server Role:
    1. Installing a server role as a .NET Web application—universal procedure
    2. Configuring the API server role for a .NET Web application
  4. Access the SDL Tridion installation media.
  5. Install DLLs for Contact Subscription: navigate to Outbound E-Mail\Presentation System\NET\Samples\bin and copy the DLLs to the \bin folder of your Web site.
  6. Install ASPXs for Contact Subscription: navigate to Outbound E-Mail\Presentation System\NET\Samples and copy the ASPXs (and default Web.config, if necessary) to a directory in your Web site.
  7. Install JARs: navigate to Outbound E-Mail\Presentation System\NET\lib and copy the JAR files to your Web site \lib directory.
  8. Download the JDBC driver (JAR file) required for your specific database vendor and Java version, and copy it into the lib folder:
    Database vendorJDBC DriverFile to download when using Java 5File to download when using Java 6
    Microsoft SQL ServerMicrosoft SQL Server JDBC Driver 3.0sqljdbc.jarsqljdbc4.jar
    Oracle

    Oracle JDBC driver 11.2.0.2 or

    Oracle JDBC driver 11.2.0.1.0 (deprecated)

    ojdbc5.jarojdbc6.jar
  9. Configure the following files:
    1. cd_storage_conf.xml—see Configuring the Tracking and Subscription databases
    2. cd_audience_manager.conf.xml—see:
    3. logback.xml (configure logging).
  10. Add the following settings to your Web.config:
    <configuration>
    	<appSettings>
    		<add key="Subscribe.NotificationPageId" value="tcm:0-0-0"/>
    		<add key="Confirm.NotificationPageId" value="tcm:0-0-0"/>
    		<add key="ChangeProfile.NotificationPageId" value="tcm:0-0-0"/>
    		<add key="Unsubscribe.NotificationPageId" value="tcm:0-0-0"/>
    		<add key="KeywordNewsletter" value="tcm:6-518-1024"/>
    		<add key="KeywordOffers" value="tcm:6-519-1024"/>
    		<add key="ConfigurationFile" value="cd_audience_manager_conf.xml"/>
    	</appSettings>

Results

You have installed the Subscription Web pages.