Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PAGE COUNTER

Status
Not open for further replies.

BLBurden

Technical User
Jan 25, 2003
236
0
0
US
I have enter the below hit counter on a Window 2003 server and it will not work. The error message is Page cannot be displayed in web site.
But when I put it on my local PC it work fine. Can anyone tell me why.

Thanks

<%
Dim lngHits
Dim objCounter

Set objCounter = Server.CreateObject("MSWC.PageCounter")
objCounter.PageHit
lngHits = objCounter.Hits
Set objCounter = Nothing
%>



BLB[elephant2] - Always Grateful
A good friend will bail you out of jail. A true friend will be sitting at your side saying, &quot;Boy - didn't we have fun?&quot;
 
The MSWC.PageCounter object is probably not installed and registered on the server.
 
Thank you I will check that out.

BLB[elephant2] - Always Grateful
A good friend will bail you out of jail. A true friend will be sitting at your side saying, &quot;Boy - didn't we have fun?&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top