Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

There's nothing wrong with this, is there?

Status
Not open for further replies.

Huitzilopochtli

Programmer
Feb 18, 2002
81
DE
Hello

I have a simple ad rotater ASP script which doesn't seem to want to work, yet I have scrupulously follwed the instructions in the guidelines I have!

I have two files: an asp file which only contains:

<%
Dim ad
Set ad = Server.CreateObject(&quot;MSWC.AdRotator&quot;)
Response.Write ad.GetAdvertisement(&quot;adrot.txt&quot;)
%>

and an adrot.txt file:

REDIRECT
WIDTH 450
HEIGHT 72
BORDER 0
*

-
CMC Investigations
3

-
CMC Investigations
3

-
CMC Investigations
3

I have left REDIRECT blank, because there are no links from the banners.

Please, what am I doing wrong?

Thank you.
 
Hello sjravee

Thanks for your post.

I may have sorted it out now. The adrot.txt is fine (you don't need to specify the full path).

The problem was in the path.

Thanks again.
 
Im using MSWC.AdRotator (IIS s' included banner ad rotation routine) and am interested in allowing a client of mine to edit (via an HTML textara field, ideally) the AdRot.txt file that controls or sets the ad rotation particulars...

Has anyone ever come across a tutorial with someone using it in this fashion?

How easy/hard is this to do? Im an aspiring ASP developer, dont have a deep well of knowledge to draw on, but am eager to hear your thoughts on how this might be achieved - hopefully with some code example so I can see how its done.

-- Thanks for your help!
 
well, first of all, your images are dead links, that could be why....because if the rotator doesnt have an image to display, then...

ComputerCop911
ASP/HTML Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top