FP98: Hit Counter Doesn't Advance Past 1 on IIS

Last reviewed: March 18, 1998
Article ID: Q181662
The information in this article applies to:
  • Microsoft FrontPage 98 for Windows

SYMPTOMS

When you preview a page that contains a hit counter, the hit counter does not advance past the number one. This problem appears if the page that contains the hit counter is hosted on a Microsoft Internet Information Server (IIS) for Microsoft Windows NT Server.

CAUSE

This behavior occurs if the IUSR_<machine name> account does not have sufficient permissions to read and write to the <Pagename>.htm.cnt file, where <machine name> is the name of the Windows NT server and <Pagename> is the name of the page that contains the hit counter.

NOTE: The <Pagename>.htm.cnt file stores a log of how many times the page was accessed, thus incrementing the hit counter.

RESOLUTION

Change the permissions on the <Pagename>.htm.cnt file to read and write for the IUSR_<machine name> account on the Windows NT server. To do this, follow these steps:

  1. On the Windows Start menu, point to Programs, and then click Windows NT Explorer.

  2. Expand the following folder:

          C:\Inetpub\wwwroot\_private\
    

  3. Right-click the Default.htm.cnt file, and then click Properties on the menu that appears.

  4. Click the Security tab.

  5. Click Permissions. The IUSR_<machine name> should be listed. Double-click it to edit permissions. Click to select the following options:

          Read (R)
          Write (W)
          Delete (D)
    

    NOTE: If the IUSR_<machine name> account is not listed, you must add it. To do this, click Add, click the IUSR_<machine name> account, and then click OK.

  6. Click OK.

NOTES: You must verify that the correct permissions are set for each page that contains a hit counter. By default the <Pagename>.htm.cnt files are located in the _Private folders in each Web.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q161414
   TITLE     : FP: How to Publish a FrontPage Web to the Internet, Intranet

   ARTICLE-ID: Q143090
   TITLE     : Overview of FrontPage WebBot Components


Additional query words: 98
Keywords : fpedit fpext kbdta
Technology : internet
Version : WINDOWS:98
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.