Solved

("IISSample.PageCounter") on Windows 2000

Posted on 2001-08-30
1
274 Views
Last Modified: 2008-03-17
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("IISSample.PageCounter")
 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("IISSample.PageCounter")
0
Comment
Question by:mraible
1 Comment
 
LVL 7

Accepted Solution

by:
TheNige earned 50 total points
ID: 6443341
try chaning it to this for ASP 3.0

Server.CreateObject("MSWC.PageCounter")
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question