Click to See Complete Forum and Search --> : to use Adrotator Object in ASP+


kamranzafar
February 15th, 2001, 04:28 AM
The follwing code is written in test.asp and adrot.txt and is working fine in ASP environment.

--------
test.asp
--------


---------
adrot.txt
---------
REDIRECT adredir.asp
WIDTH 460
HEIGHT 60
BORDER 0
*
logo.gif
http://www.aspsite.com
The Active Server Pages Site
50

ColorControl.gif
http://www.yahoo.com
Ahsan Ashja
50


But when I wrote the same code in test.aspx and tried to run it in ASP.NET environment, it's giving error as: "Ad Rotator control must be created using the object tag or Server.CreateObject method".
Can anybody tell me what is the possible solution?

---------
test.aspx
---------

tomcat99
February 17th, 2001, 01:51 PM
Hi there,
I just guess that in ASP the global.asa has a OBJECT tag or in some method app_start() creates a AdRotator object; opposed to ASP+ which doesn't have one.

tomcat