Compartir a través de


How to Install and Use the ASP Page

The sample plug-in project includes an ASP page that you can use to administer the plug-in from the Windows Media Services Web Administrator. By default, the Web administrator is not installed. To install it, click Details on the Windows Media Services Setup dialog box, click Windows Media Services Administrator for the Web, and click OK. This creates a new directory structure under \%systemroot%\system32\windows media\server\admin\web and copies files to the new folders.

You must also make certain that you enable Active Server Pages (ASP) and Server Side Includes (SSI) for Internet Information Services (IIS). The necessary steps are:

  1. On the Windows Start menu, click Settings.

  2. Click Control Panel.

  3. Click Administrative Tools, and then click Internet Information Services to start the IIS management console.

  4. Expand the local computer node and click Web Service Extensions.

  5. If the status column for Active Server Pages and Server Side Includes indicates that they are prohibited, click Add and allow extensions for a specific application.

  6. In the drop-down box, click Active Server Pages, and then click OK.

  7. Repeat steps 5 and 6 for Server Side Includes if necessary.

You must then copy ContextSample.asp from the \Program Files\Microsoft Platform SDK\Samples\multimedia\WindowsMediaServices9\EventNotification\ContextSampleASPPage folder to the \%systemroot%\system32\windows media\server\admin\web\wmssecure\pages\plugins folder.

The ASP page enables you to configure the WMS SDK Sample Context plug-in by identifying the log file, the relevant contexts, and the load type in the Windows Media Services Web Administrator just as the property pages do in the Windows Media Services snap-in. For more information about the property pages, see How to Use the Event Notification Sample.

To start the Web administrator, click Settings on the Windows Start menu and click Control Panel. Then click Administrative Tools and click Windows Media Services (Web).

See Also

Concepts

Event Notification Plug-in Sample