Media Player Eventually Stops Responding to Events If Events Are Not Handled (298812)



The information in this article applies to:

  • Microsoft Windows Media Player 7, when used with:
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows Millennium Edition
    • the operating system: Microsoft Windows 98

This article was previously published under Q298812

SYMPTOMS

Clients that connect to a stream through a stream redirector (.asx) file may eventually see the player stop responding to events within the stream.

CAUSE

This appears to happen when events are not handled within the .asx file. This can be caused by one of the following situations:
  • The ENTRY tag is in the .asx file, but there is no corresponding EVENT tag.
    <asx version = "3.0">
      <title>StreamSwitch</title>
      <entry>
         <ref href = "mms://WMS-SRV/Live_Stream"/>
      </entry>
    
      <Event name="Event1" whenDone="resume">
    	<entry>
    		<ref href = "http://IIS-SRV/name.asp"/>
    	</entry>      
      </Event>
     
      <Event name="Event2" whenDone="resume">
      </Event>
    
    </asx>
    
  • The encoder, or an embedded script command, is passing an event that has not been scripted. In the following example, assume that the encoder is passing an event called Event2.
    <asx version = "3.0">
      <title>StreamSwitch</title>
      <entry>
         <ref href = "mms://WMS-SRV/Live_Stream"/>
      </entry>
    
      <Event name="Event1" whenDone="resume">
    	<entry>
    		<ref href = "http://IIS-SRV/name.asp"/>
    	</entry>      
      </Event>
     
    </asx>
    					

WORKAROUND

Make sure that the handler for an event is properly scripted.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Modification Type:MinorLast Reviewed:9/27/2004
Keywords:kbbug kbpending KB298812