Documentation Center

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: see Installing the API Server Role as 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 DriverRequired JAR
    Microsoft SQL ServerMicrosoft JDBC Driver 4.0 for SQL Serversqljdbc4.jar
    OracleOracle JDBC driver 11.2.0.3ojdbc6.jar for Java 6 or Java 7
    OracleOracle JDBC driver 12.1.0.1

    ojdbc6.jar for Java 6

    ojdbc7.jar for Java 7

  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.