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
---------
--------
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
---------