Share via


Event ID 343 — Windows Media Server-side Playlist Delivery

Applies To: Windows Server 2008

When you use a server-side playlist, you can stream multiple pieces of digital media content as you would with a playlist created by using Windows Media Player (called a client-side playlist). However, in a server-side playlist, you can use additional attributes to further control the behavior of the content. Server-side playlists that are created by content producers, server administrators, or Web page scripts are saved as Windows Media metafiles with a .wsx file name extension.

Windows Media Services includes the Windows Media Playlist Editor, which can be used to create and edit server-side playlists. For more information, see Creating and editing playlists.

Event Details

Product: Windows Media Services
ID: 343
Source: WMServer
Version: 9.5
Symbolic Name: WMS_EVMSG_CANNOT_READ_PLAYLIST
Message: The playlist file '%1' on publishing point '%2' cannot be read.

Resolve

Specify Network Service account permissions for the content source directory

Make sure that the server-side playlist is not opened by another program, such as Windows Media Playlist Editor. If the file is not being used by another program, specify Network Service account permissions for the content source directory

Windows Media Services uses the Network Service account to access digital media content that is stored in %systemdrive%\WMPub and its subdirectories. By default, the Network Service account has Read permissions to the WMPub directory and its subdirectories.

The src attribute of a media element in a server-side playlist identifies the content source using a URL, Universal Naming Convention (UNC) path, or an absolute path. If the specified content source does not reside in %systemdrive%\WMPub or in one of its subdirectories, you must specify Read permissions on the alternate content source for the Network Service account.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To specify Network Service account permissions for content sources:

  1. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.

  2. In the console tree, click the publishing point that sources from the server-side playlist file.

  3. In the details pane, click the Source tab.

  4. In Content source, note the path of the playlist file (for example, C:\WMPub\WMRoot\playlist.wsx).

  5. In Windows Explorer, open the playlist file in a text editor such as Notepad.

  6. Note the content source file locations specified by the src attributes in the playlist. For example, the following sample playlist shows that the files Title.jpg and Audio.wma are stored in C:\WMA:

    <?wsx version='1.0'?>

    <smil>

        <media src="C:\WMA\title.jpg" dur="10s"/>

        <media src="C:\WMA\audio.wma"/>

    </smil>

  7. If a specified content source does not reside in %systemdrive%\WMPub or in one of its subdirectories, in Windows Explorer, right-click the folder that contains the content source specified by the src attribute in the playlist, and then click Properties.

  8. On the Security tab, click Edit.

  9. In the Permissions for <Object name> dialog box, click Add.

  10. In the Select Users, Computers, or Groups dialog box, in Enter the object names to select, type Network Service, and then click OK.

  11. In the Permissions for <Object name> dialog box, in the Group or user names area, click NETWORK SERVICE.

  12. In the Permissions for NETWORK SERVICE area, click the Allow check box for the following permissions: Read.

  13. Click OK to save the changes.

Verify

To verify that the server-side playlist can be delivered to clients, test the stream by using Windows Media Player:

  1. If you want to test the stream by using Windows Media Player on the computer that is running Windows Media Services, you must install Desktop Experience. For more information, see Installing Desktop Experience.
  2. On the Windows Media server, open Windows Media Services. To open Windows Media Services, click Start, point to Administrative Tools, and then click Windows Media Services.
  3. In the console tree, click the publishing point that hosts the stream you want to test.
  4. In the details pane, click the Announce tab, and then, in Connect to a unicast stream, note the value of the URL that a client can use to access the content.
  5. Start Windows Media Player on a computer that can access the stream, and enter the URL that you noted in the previous step.
  6. Using the Player controls, test the control functionality of the content stream. Broadcast streams can use the Start and Stop commands. On-demand streams can use the Start, Stop, and Pause commands, and the Seek bar.

Note: If some members of your expected audience will access the stream from outside your network firewall, your testing scenario should include that condition. For more information about the firewall configuration for Windows Media Services, see Firewall Information for Windows Media Services.

Windows Media Server-side Playlist Delivery

Streaming Media Services