?
Solved

("IISSample.PageCounter") on Windows 2000

Posted on 2001-08-30
1
Medium Priority
?
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

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

Server.CreateObject("MSWC.PageCounter")
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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/…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

764 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