mraible
asked on
("IISSample.PageCounter") on Windows 2000
The code below was working great on Windows NT 4.0. When my website was upgraded to Windows 2000 - results in an error! Please help!
<%
Set PageCount = Server.CreateObject("IISSa mple.PageC ounter")
PageCount.PageHit
PageHits = PageCount.Hits
Response.write("<font face=arial size=1 color=#ffffff>This site has been accessed " & PageHits & " times.</font>")
%>
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/main.asp, line 135
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Line 135 is:
Set PageCount = Server.CreateObject("IISSa mple.PageC ounter")
<%
Set PageCount = Server.CreateObject("IISSa
PageCount.PageHit
PageHits = PageCount.Hits
Response.write("<font face=arial size=1 color=#ffffff>This site has been accessed " & PageHits & " times.</font>")
%>
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/main.asp, line 135
Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Line 135 is:
Set PageCount = Server.CreateObject("IISSa
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.