p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_codeclinic thread: Content rotator Component question

Message #1 by "Mitch Swetsky" <mswetsky@r...> on Tue, 5 Mar 2002 06:56:42 -0500
This is a multi-part message in MIME format.

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable

Subject: Content rotator Component question

I am getting an error message when trying to create a content rotator 
component. This seems kind of simple  but I must be missing something. 
Is this component included in IIS or does it need to be obtained 
I have a directory (family)that has this default.asp in it, and a 
subdirectory (fampics) with the pictures to rotate as well as the 
rotator text file. Can someone provide me with some possible solutions.
Any feedback is appreciated, Thanks
The error displayed is:

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed

/family/Default.asp, line 25

Invalid class string

The Script in the default.asp is:

<%Set fampic=3DServer.CreateObject("MSWC.ContentRotator")%>

The Script in the fampicrotator.txt is:

%% #35 // This pic will display one fifth of the time
<IMG SRC=3D"fampics/fam2.jpg">
The folks! <p>
%% #35 // This pic will display one fifth of the time
<IMG SRC=3D"fampics/fam3.jpg">
Here we are!<P>


  Return to Index