Solved

("IISSample.PageCounter") on Windows 2000

Posted on 2001-08-30
1
264 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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/…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now