Microsoft KB Archive/222110

= Hit Counter Only Works on One Virtual Server =

Article ID: 222110

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft FrontPage 97 Standard Edition
 * Microsoft FrontPage 98 Standard Edition

-



This article was previously published under Q222110



SYMPTOMS
Hit counters only work on one virtual server. Hit Counters on other servers on the same computer remain at 1.



CAUSE
This is caused by nesting virtual servers. Nested servers occur when the directory path of a virtual server is inside the directory path of another virtual server. For example:

Default Web Site: C:\Inetpub\wwwroot

Virtual Server 1: C:\Inetpub\wwwroot\server1

Virtual Server 2: C:\Inetpub\wwwroot\server2

The hit counters in the nested servers are referencing the counter file in (server)/_private when reading. When writing to the counter file, they reference /_private in the top level virtual server.

In the above example, a counter in Virtual Server 1 displays the information in the counter file in wwwroot/server1/_private when browsing to the Web. When recording the hit to the site, the counter file being written to is the one for the Default Web Site in wwwroot/_private/server1.



RESOLUTION
 Uninstall the extensions from the nested virtual servers (for example server1 and server. Move the virtual servers to a directory at the same level as the server that does work. For example:

Default Web Site: C:\Inetpub\wwwroot

Virtual Server 1: C:\Inetpub\server1

Virtual Server 2: C:\Inetpub\server2

For information on how to change the directory path for a virtual server, consult the documentation for your server. After you change the directory path of a server, type the following from a command prompt:

For IIS 4.0

net stop iisadmin /y

net start w3svc

Note: You will also need to restart any other services that IIS is running.

For IIS 3.0

net stop w3svc

net start w3svc

 Reinstall the FrontPage Server Extensions to the formerly nested servers. Open each root Web and subweb. On the Tools menu, click Recalculate Hyperlinks.

<div class="moreinformation_section">

MORE INFORMATION
For additional information, see the following article or articles in the Microsoft Knowledge Base:

183777 FP: Server Extensions Do Not Support Nested Virtual Roots

Keywords: kbhowto KB222110

-

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

© Microsoft Corporation. All rights reserved.