Re: wsx to asp ad rotator doesn't work

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


Date: Tue, 28 Sep 2004 18:48:04 -0700

Just to be clear, you are saying that changing the
response.write to Response.Write("<media
src=""c:\wmpub\wmroot\SoundOfTriState00030020-
2.wmv"" />") didn't work?
 
If yes, next thing to check is: What kind of access
control is enabled on the IIS box? Is Anonymous access
allowed on the IIS box?

It is possible that IIS has Negotiate Authentication
enabled (and Anonymous access disabled). If this is the
case, then it would work when you are logged on as a valid
domain user using IE to get the web page but it will fail
with WMS.

If indeed negotiate is enabled on the IIS, then on the
publishing point that sources from the playlist, go to
Properties->"Credentials" and set a valid
username/password that the IIS server will accept and see
if that works.

Thx,
Ravi

--
This posting is provided "AS IS" with no warranties, and 
confers no rights.
>-----Original Message-----
>Ravi,
>
>I just read about the "network Services" account that WMS 
>runs under, and gave permissions to that account for the 
>entire IIS file tree, with inheritance. Still doesn't 
work.
>
>Harry
>
>>-----Original Message-----
>>Ravi, Thanks for your suggestions.
>>
>>I changed the link to a file link (d:/ etc.) If I remote 
>>into the server and pop that link into a browser, the 
>>media player starts and plays the file correctly, I so 
>>know the link is ok.
>>
>>Also, you can access the asp page with a remote browser, 
>>and it executes correctly -- you can look at the source 
>>that is returned, and it appears to be correctly 
>formatted.
>>
>>And also, I added a media file in the wsx preceeding the 
>>link to the asp file, and that media file plays, so I am 
>>sure that the server is reading the wsx file.
>>
>>But, the media server still reports the error that it is 
>>unable to stream the media from the asp page.
>>
>>The asp page is within the IIS file tree -- is there 
some 
>>type of special premissions required for WMS to access 
an 
>>IIS file? (btw, the HTTP Download plugin is enabled).
>>
>>thanks again,
>>
>>Harry
>>
>>
>>>-----Original Message-----
>>>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: asp pages error
    ... our intranet connects to several access databases we dont get an asp ... I tried to add a new site to iis, ... > down and type the full content of the error message to the Newsgroup. ... > SP1 on your SBS 2K3 server? ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem with freezing on IIS
    ... Low protection means the web app is running inside inetInfo.exe itself ... something wrong with COM+ or IIS is having some kind of logon problem. ... When we had it set to Medium, it would not even process ASP pages. ... settings (as is the problem server). ...
    (microsoft.public.inetserver.iis)
  • Re: ASP app not working in IIS 6
    ... specific to Win2003 or if it is a IIS 6 issue. ... server with personal web service. ... "To circumvent this silliness and get real ASP errors, ... >debugging the application in Visual Development. ...
    (microsoft.public.inetserver.iis)
  • Re: Problem with freezing on IIS
    ... If we set this to Low (IIS Process), ... When we had it set to Medium, it would not even process ASP pages. ... I don't have the problem on my other server, which is also using the default ... I have the identical ASP settings (including asp script timeout of 90 ...
    (microsoft.public.inetserver.iis)
  • Re: wsx to asp ad rotator doesnt work
    ... >Also, you can access the asp page with a remote browser, ... I added a media file in the wsx preceeding the ... >sure that the server is reading the wsx file. ...
    (microsoft.public.windowsmedia.server)