Discussion Locked

Microsoft FrontPage Counter won't work

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a web page that I created with FrontPage and I used the web add-ins feature to add a counter to my page. The problem is that the counter does not go any higher when people access my site. It is stuck at 1. I was wondering how I can fix this. The website is being hosted on my Windows XP computer with IIS and I am connected through a router to a cable connection. I also have tried using the ip address to access the page but this also does not increment the counter. Help would be very much appreciated. Thanks.

5 replies

by wilsonjude

Change the permissions on the .htm.cnt file to read and write for the IUSR_ account on the Windows NT server. To do this, follow these steps:
On the Windows Start menu, point to Programs, and then click Windows NT Explorer.
Expand the following folder:
C:\Inetpub\wwwroot\_private\
Right-click the Default.htm.cnt file, and then click Properties on the menu that appears.
Click the Security tab.
Click Permissions. The IUSR_ should be listed. Double-click it to edit permissions. Select the following options:Read (R)Write (W)delete (D)
When you enable Anonymous access, the IUSR_ account is used to authenticate. If the virtual directory is local to the computer, the Windows NT File System (NTFS) checks directory and file permissions. If this account does not have Change permissions on the directory, the Hit Counter does not increase. This is because Everyone has Full Control by default. Because the IUSR_ is a local account, it is included in Everyone.
If the virtual directory is on a remote server, then the computer uses the "Connect As..." information to retrieve the requested pages. The FrontPage Server Extensions are implemented as CGI applications. The computer starts these applications in a separate process with the context of the user who is logged on, in this case IUSR_. Then the Hit Counter application, FPCount.exe, tries to get the _private/.htm.cnt file on the remote server. The request fails with the error "ACCESS DENIED" because the IUSR_ account does not exist on the remote computer. The system retries until it times out. As a result, the page takes a long time to be displayed. Even if the share has assigned Everyone Full Control, the request fails because the user is unknown. When you enable the Guest account, the request does not work for the same reason.

This discussion is closed to new replies.