How To Change the Default HTTP Download Data Source Timeout in Windows Media Services 9 Series (328730)



The information in this article applies to:

  • Microsoft Windows Media Services 9 Series

This article was previously published under Q328730

SUMMARY

This article describes how to update the Windows Media Services namespace file to change the default HTTP Download Data Source Plugin timeout.

MORE INFORMATION

WARNING: This article contains information about editing the namespace. Before you edit the namespace, verify that you have a backup copy that you can restore if a problem occurs. If you edit the namespace incorrectly, you can cause serious problems that may require you to reinstall any product that uses the namespace. Microsoft cannot guarantee that problems that result if you incorrectly edit the namespace can be solved. Edit the namespace at your own risk.

By default, the HTTP Download Data Source Plugin has a 15-second timeout. You can change this by changing the ServerNamespace.xml file that the server uses:
  1. Stop the Windows Media Services (run the net stop wmserver command).
  2. Move to the directory where the namespace file is located (%SystemRoot%\system32\windows media\server).
  3. Open the ServerNamespace.xml file in a text editor, such as Notepad.
  4. Locate the WMS HTTP Download Data Source node in the namespace.
  5. Locate the Properties sub-node under the WMS HTTP Download Data Source node.
  6. Add the following line under the Properties sub-node (the new timeout value is 4096ms):
    <node name="DownloadTimeout" opcode="create" type="int32" value="0x1000" />
    					
  7. Restart the Windows Media Services (run the net start wmserver command).
Another representation of the code that you can add to the ServerNamespace.XML file is as follows:
<node name="WMS HTTP Download Data Source" opcode="create" >
    ...
    <node name="Properties" opcode="create" >
        ... 
        <node name="DownloadTimeout" opcode="create" type="int32" value="0x1000" />
        ...
    </node> 
    <!-- Properties -->
    ...
</node>
<!-- WMS HTTP Download Data Source -->
				
Although the value can be that of any 32-bit integer, the server has an internal timeout mechanism that will timeout after 2 minutes.

Modification Type:MinorLast Reviewed:8/30/2004
Keywords:kbDSWWMM2003Swept kbinfo KB328730