主题:  AD Rotartor 广告系统的用方法?

冷月宫主

职务:普通成员
等级:1
金币:0.0
发贴:40
注册:2002/7/19 18:34:06
#12002/9/23 15:50:16
adrot.txt是一个约定文件,我在试广告系统,我的空间支持ad rotator

提示第五行有错,
<%
set Yourad=server.createobject("MSWC.AdRotator")
Yourad.targetframe="_blank"
%>
<%=Yourad.GetAdvertisement("adrot.txt")%>

错误:

MSWC.Adrotator 错误 '80004005'

错误,未知的头名

/temp/ad/insert.asp,行5

我是照书做的不知问题出在那儿!


adrot.txt内容如下:
Redirect redirect.asp
WIDTH 440
HEIGTH 60
BORDER 0
*
images/1.gif
www.microsoft.com
微软网站
25
images/2.gif
www.163.com
网易网站
25
images/3.gif
www.sohu.com
搜狐网站
25
images/4.gif
www.szzzt.com
中正招标网站
25

编辑历史:[这消息被冷月宫主编辑过(编辑时间2002-09-23 15:55:15)]
[这消息被冷月宫主编辑过(编辑时间2002-09-23 15:56:16)]