Error When Playing File with Many Script or Marker Commands (238295)



The information in this article applies to:

  • Microsoft Windows Media Services 4.0
  • Microsoft Windows Media Services 4.1
  • Microsoft Windows Media Player 5.2
  • Microsoft Windows Media Player 6.0
  • Microsoft Windows Media Player 6.1
  • Microsoft Windows Media Player 6.2
  • Microsoft Windows Media Player 6.4
  • Microsoft Windows Media Player 7

This article was previously published under Q238295

SYMPTOMS

When playing an .asf file that contains many script or marker commands, you may receive one of the following errors:
The operation timed out, possibly due to network problems. (Error=C00D0013)

-or-

Windows Media Player cannot open 'mms://myserver/myscriptfile.asf'. Please verify that the path and filename are correct and try again. (Error=80070002)

CAUSE

The header, which contains the script and marker commands, must be delivered at the specified bitrate. If you have a very large header, such as one containing 700 or more script or marker commands, this file cannot be delivered within the timeout window of 20 seconds.

WORKAROUND

To work around this problem, you can use the Windows Media Encoder to embed the script and marker commands directly into the bitstream of the .asf file. For the greatest amount of control over when the encoder embeds individual script commands, you may want to write a Visual Basic program that controls the encoder.

Because the encoder must have a live source or a source that is a .wav, .avi, or .mp3 file, this will not work with existing .asf files.

MORE INFORMATION

For more information on controlling the Windows Media Encoder with Visual Basic, see the Windows Media Services Software Developer's Kit (SDK), available at:

Modification Type:MajorLast Reviewed:9/11/2006
Keywords:kbpending kbprb KB238295