Microsoft KB Archive/232530

= Incorrect DNS Names in Ad Placement Report =

Article ID: 232530

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Site Server 3.0 Commerce Edition
 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q232530



SYMPTOMS
If you are using a Redirector to your Web server hosting Ad Server (for example Windows Load Balancing, Cluster Server, or a firewall), the data in the Ad Placement Report may not contain the actual DNS name used to access the server.



CAUSE
The cs-referrer in the log used to generate the Ad Placement Data is the actual server name and not necessarily the actual name used to access the Ad Impressions.



RESOLUTION
To resolve this issue, do the following:  Open the AdLogConvert.vbs file from the Microsoft Site Server\Bin directory in any Text Editor. Go to Line 307 and insert the following lines:

Dim sdnsname

sdnsname = GetArg("dnsname")

This adds a /dnsname to the existing parameters /in and /out. Edit line 337, as follows:

change:

fields("cs(Referer)") = fields("cs-uri-stem")

to:

fields("cs(Referer)") = "http://" & sdnsname & ":" & fields("cs-uri-stem")



This takes the DNS name you specified and adds the actual page in which the Ad Impression appeared, for example http://www.myserver.com/myads.asp.



MORE INFORMATION
For more information, see the following article in the Microsoft Knowledge Base:

189752 Ad Placement Reports Show "Unknown Placement Location"

Additional query words: AdServer DNS

Keywords: kbprb kbpending KB232530

-

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

© Microsoft Corporation. All rights reserved.