Microsoft KB Archive/275324

= Windows Media Server Does Not Log Query String in Log File =

Article ID: 275324

Article Last Modified on 10/28/2003

-

APPLIES TO


 * Microsoft Windows Media Services 4.0
 * Microsoft Windows Media Services 4.1

-



This article was previously published under Q275324



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
Windows Media Server does not log the query string of the URL in the log file. For example, if you open the following URL with Windows Media Player:

mms://panthers/sample.asf?param1=test

The following log entry for cs-uri-stem is returned:

mms://x.x.x.x/sample.asf



CAUSE
This is the default action.



RESOLUTION
The entire URL can be logged by changing the following registry parameter:

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Start Registry Editor (Regedt32.exe). Locate the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\nsunicast\Parameters

 On the Edit menu, click Add Value, and then add the following registry value:

Value Name: LogQueryInClientURL

Data Type: REG_DWORD

Radix: Decimal, or Hexidecimal

Value: 1

 Quit Registry Editor.

A question mark must be used to define the beginning of the query in order for it to be logged.

Additional query words: netshow

Keywords: kbprb kbpending KB275324

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.