S
Sam ONeill
Hi there
I am developing an ASP application that will always run under IE
version 6 or later and I
have come accross a problem which only occurs if the user has Service
Pack 2 installed.
My application provides the user with a View Document button and if
they press it client-side Javascript makes a window.open() call to open
a popup window and display the selected document which may be on the
user's hard drive or on the server itself. The type of documents
displayed will always be one of the following
doc,.xls,.tif,.gif,..jpeg or .txt so no Javascript content in them.
This all works perfectly under service pack 1 but under Service Pack 2
I get a Javascript page error at the bottom left hand corner of the
page which says the following:
Problems with this web page might prevent it from being displayed
properly......
Line: 40
Char: 3
Error: Access is denied
Code: 0
URL: http://......
When the app tried to execute the window.open().
My application also allows the user to view the file in spliscreen mode
so that the document appears in an iframe on the right side of the
screen instead of in a popup and then I don't get an error but the file
does not appear in the IFrame.
Anyone any ideas how to resolve this?
Many thanks
Sam
I am developing an ASP application that will always run under IE
version 6 or later and I
have come accross a problem which only occurs if the user has Service
Pack 2 installed.
My application provides the user with a View Document button and if
they press it client-side Javascript makes a window.open() call to open
a popup window and display the selected document which may be on the
user's hard drive or on the server itself. The type of documents
displayed will always be one of the following
doc,.xls,.tif,.gif,..jpeg or .txt so no Javascript content in them.
This all works perfectly under service pack 1 but under Service Pack 2
I get a Javascript page error at the bottom left hand corner of the
page which says the following:
Problems with this web page might prevent it from being displayed
properly......
Line: 40
Char: 3
Error: Access is denied
Code: 0
URL: http://......
When the app tried to execute the window.open().
My application also allows the user to view the file in spliscreen mode
so that the document appears in an iframe on the right side of the
screen instead of in a popup and then I don't get an error but the file
does not appear in the IFrame.
Anyone any ideas how to resolve this?
Many thanks
Sam