Click to See Complete Forum and Search --> : Page Counter


bburden
04-18-2005, 01:50 PM
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
%>

bburden
04-18-2005, 02:16 PM
I am sorry I placed this in the wrong area