• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

popup windows error message in IE: 'Access is Denied'

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I got a very strange problem in popup window. I tried to popup window using window.open(...) to open a local html file which is going to open a media player to play a wmv clip. However, the popup window is not opened with error message 'Access is denied'

The code of the local html file is :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML<

<HEAD><TITLE>CLSA Movie</TITLE><LINK href="clsa.css" rel=stylesheet>

</HEAD>

<BODY>
<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<param name="filename" value="images/clsa_movie.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">

<!--http://media.pmcmovies.com/SixtiesLove.wmv-->
<embed type="application/x-mplayer2" src="images/clsa_movie.wmv" name="MediaPlayer" width=320 height=260></embed>

</object>

</BODY>

</HTML>

Suppose this html file in the popped-up window should trigger the window media player to play the wmv file. Unfortunately, the popup window cannot be opened with error message 'Access is Denied'


Any ideas/suggestions are welcome.


Thanks
Benson
[ March 16, 2007: Message edited by: Bear Bibeault ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is because you are tyring to talk to a local file. It is a security concern. It is the same thing as talking to two different domains.

Eric
 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric,

Thanks for your reply, I appreciate very much in the first place.
The story is that. The page includes two frame. The upper frame is like a header.jsp and the lower frame is the main content. If I put the pop-up link on the upper link, i.e. header.jsp, it doesn't work. If I put it to the lower link, it does work perfectly. I am not quite sure what the problem is. At least, it works partially.

If you want to know more details, I can give you more becasue there is whole bunch of code I need to show.


Thanks
Benson
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a reference for ppl coming back: http://support.microsoft.com/kb/889407
reply
    Bookmark Topic Watch Topic
  • New Topic