Partilhar via


Requirements for Running the Notification Services Samples

Before running Notification Services samples, verify that your computer meets the requirements listed below. We strongly recommend that you run the samples only on a development or test server, not on a production server.

Requirements

The Notification Services sample applications require the environment shown in the following table. For additional SQL Server 2005 requirements, see Hardware and Software Requirements for Installing SQL Server 2005.

Applications

Microsoft SQL Server 2005 Database Engine

SQL Server 2005 Notification Services

SQL Server 2005 Analysis Services (Profit Margin sample only)

Microsoft Visual Studio 2005 (with Microsoft Visual C#, Microsoft Visual C++, and Microsoft Visual Basic components installed)

Services

Microsoft Windows Internet Information Services (IIS) with the Simple Mail Transfer Protocol (SMTP) service.

Accounts

One or more accounts under which the instances of Notification Services will run and that you can use to create instances of Notification Services in SQL Server Management Studio.

For more information about these accounts and their required permissions, see Securing Notification Services.

Installing Software for Samples Deployment

To simplify the use of these samples, we recommend running the samples on a single computer. If you choose to deploy the samples in a multi-server environment, you must install the required software as follows.

The server running the samples must have the following software

  • Notification Services.
  • .NET Framework SDK 2.0 or Microsoft Visual Studio 2005. You can obtain .NET Framework SDK free of charge. See Installing the .NET Framework SDK.
  • The SMTP service.
  • The SQL Server 2005 Management Tools. These tools are required to follow the instructions for running the samples, but is not strictly required to deploy Notification Services applications.

The server running the databases must have the SQL Server 2005 Database Engine installed.

Configuring the SMTP Service

Note

In Windows Server 2003, the Microsoft SMTP service is not installed by default. First, you must use Manage Your Server to install Internet Information Services (IIS). After IIS is installed, you can then install the SMTP service. For more information, see "Install Microsoft SMTP Service" in your Windows Server 2003 documentation.

To send e-mail notifications, you must configure the Simple Mail Transport Protocol (SMTP) service to relay messages and start running. If the SMTP service is not configured to relay messages or is not running, the notifications generated by the sample applications are delivered to the \inetpub\mailroot\queue directory. Depending on the configuration of your SMTP service, the messages might appear in a different \inetpub\mailroot folder, such as \pickup or \badmail. For more information about configuring SMTP, see your "Microsoft Mail (SMTP) Service" documentation.

See Also

Other Resources

SQL Server Notification Services Samples

Help and Information

Getting SQL Server 2005 Assistance