Forum Moderators: open
I am simply trying to run one of the examples in the book that uses the Page Counter Component, ie:-
<%
set PageCount=Server.CreateObject("MSWC.PageCounter")
Response.write('You are the ' & PageCount.PageHit & ' person to visit this page.')
%>
OK, so far so good except I get this error:-
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
I looked across the internet and found this site that explains quite a lot:- [4guysfromrolla.com...]
So, I try their example to confirm that the relevant bits are installed on my WINDOWS 2003 ENTERPRISE Server:-
<% Set obj = Server.CreateObject("MSWC.PageCounter") %>
I try it on another WINDOWS 2003 SERVER and its still the same error. So I now conclude that the server is missing the components. I follow the instructions on the 4guysfromrolla site, download and install the IIS Resource Kit. Guess what? Still the same. Now I am stuck.
Is this something really simple? I am not too hot on server configuring but all seems well. I have even added the Frontpage extension components to the server too, using Add/Remove Windows Components.
Could anyone steer me in the right direction please? I know that the ASP side of the server is working perfectly because I have other custom scripts (not written by me) connecting into Access databases etc and running fine. I have also added iusr_ to the folder as well so I don't think it's permissions.
Please help if you can.
Thanks very much.
This can't be right can it? Have Microsoft removed this feature in the latest Server OS's?
Does anyone have a copy of pagecnt.dll they can email to me please?