[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

("IISSample.PageCounter") on Windows 2000

Posted on 2001-08-30
1
Medium Priority
?
300 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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/…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

649 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