Re: wsx to asp ad rotator doesn't work

From: Ravi Raman (ravira_at_Online.microsoft.com)
Date: 09/27/04


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


Relevant Pages

  • Re: Writing to a printer from a WSH script called by ASP
    ... "Schadrach" wrote in message ... I mapped lpt1 on the server to the printer share on the workstation ... my .asp file in it. ...
    (microsoft.public.scripting.wsh)
  • Re: How to link to wsx files on WM 2K3 server
    ... www.qbrick.se streaming media in north europe. ... Can you show me what the path would look like in the wsx file? ... Then pull localy from your own media server in the ... Once I create a wsx file where do I put it and how do I link to it? ...
    (microsoft.public.windowsmedia.server)
  • FSO exploit
    ... My server was hacked over this weekend using the FSO exploit. ... areas by disabling IUSR access; however many folders still need IUSR to write ... Also this asp file can see inside access databases too; ...
    (microsoft.public.inetserver.iis.security)
  • RE: Help making wsx work
    ... You might want to change your uplink URl in the WSX to HTTP:// or RTSP:// ... but I am not sure if Helix server supports WM Server compliant HTTP and RTSP ... please try sourcing from an upstream Windows Media ...
    (microsoft.public.windowsmedia.server)
  • Re: Parse ASP file from ASP Page
    ... > web server When I post a data from this server ... >>> I have one ASP file in one WebServer which has to ... >>> parse the another ASP file in another webserver ... >>> If username and password is valid allow to login. ...
    (microsoft.public.frontpage.client)