Re: wsx to asp ad rotator doesn't work
From: Ravi Raman (ravira_at_Online.microsoft.com)
Date: 09/27/04
- Next message: Ravi Raman: "RE: Problem of url Rollover"
- Previous message: Manny: "Re: wsx to asp ad rotator doesn't work"
- In reply to: harry: "Re: wsx to asp ad rotator doesn't work"
- Next in thread: Harry: "Re: wsx to asp ad rotator doesn't work"
- Reply: Harry: "Re: wsx to asp ad rotator doesn't work"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 09:40:19 -0700
Harry,
Haven't had a chance to try your ASP script, but have you
directly connected to your ASP file and looked at the
output (say on a simple web page?)? Does it adhere to a
valid WSX syntax?
I am not 100% sure but you might want to see if this is
happening in your case: if your ASP file presents a WSX
output and that in turn refers to a WMV, then the server
may try to download the WMV from web server. So, for
testing purposes, see if you can return the complete local
path on the server for the content (i.e, change your
response.write to Response.Write("<media
src=""c:\wmpub\wmroot\SoundOfTriState00030020-
2.wmv"" />"). change the directory appropriately) and see
if the server can stream.
Also, instead of HTTPD create a local WSX that points to
the exact same content you have and see if that streams
okay?
Thx,
Ravi
--
This posting is provided "AS IS" with no warranties, and
confers no rights.
>-----Original Message-----
>Manny,
>
>According to the MS literature, httpd references a
>webserver page that generates a custom playlist file. My
>interpretation is that the "d" tells the WM server to
>access a local file via the IIS Webserver.
>
>Harry
>
>>-----Original Message-----
>>For one thing, this line is wrong:
>>httpd://SURFERNET/Media/wjks/WJKS-AdRotator.asp
>>
>>Since I don't know what the right URL is I'd guess by
>saying
>>change the httpd
>>to http
>>
>>
>>
>>"Harry" <anonymous@discussions.microsoft.com> wrote in
>message
>>news:26e301c4a427$b0500310$a301280a@phx.gbl...
>>> Hi,
>>>
>>> I can't seem to get a simple test arrgt to work for ad
>>> rotation. If anyone can help, I'd really appreciate it.
>>> I've got a wsx assigned to the publishing
>>> point "TestPubPointForFiles":
>>>
>>> <?wsx version="1.0" ?>
>>> <smil>
>>> <media src="httpd://SURFERNET/Media/wjks/WJKS-
>>> AdRotator.asp"/>
>>> <media src="%requestedUrl%"/>
>>> </smil>
>>>
>>> I have an ASP ad rotator (listed below) located at
>>> d:/Inetpub/wwwroot/Media/wjks/WJKS-AdRotator.asp.
>>>
>>> Right now it only has one file to play, just for
>testing.
>>> If it ever plays this file, then I'll know it works.
>>> The WM server reports error code 0xc00d158c:
>>> "The publishing point 'TestPubPointForFiles' is unable
>to
>>> stream from 'httpd://SURFERNET/Media/wjks/WJKS-
>>> AdRotator.asp', referenced
>>>
>in 'file://D:\wmpub\WMRoot\wjks\WJKS_RotatorWrapper.wsx'."
>>>
>>> <% OPTION EXPLICIT %>
>>> <HTML>
>>> <smil>
>>> <%
>>> Randomize
>>> dim Index
>>> Index=Int(3*Rnd+1)
>>> select Case Index
>>> case 1
>>> Response.Write("<media
>>> src=""SoundOfTriState00030020-2.wmv"" />")
>>>
>>> case 2
>>> Response.Write("<media
>>> src=""SoundOfTriState00030020-2.wmv"" />")
>>>
>>> case 3
>>> Response.Write("<media
>>> src=""SoundOfTriState00030020-2.wmv"" />")
>>>
>>> end select
>>> %>
>>> </smil>
>>> </html>
>>
>>
>>.
>>
>.
>
- Next message: Ravi Raman: "RE: Problem of url Rollover"
- Previous message: Manny: "Re: wsx to asp ad rotator doesn't work"
- In reply to: harry: "Re: wsx to asp ad rotator doesn't work"
- Next in thread: Harry: "Re: wsx to asp ad rotator doesn't work"
- Reply: Harry: "Re: wsx to asp ad rotator doesn't work"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|