We are experiencing issues with newly rolled out laptops which have
the same basic set up as existing machines (Windows XP, IE6 with SP2),
however with different patches.
It's a "permission denied" javascript error and it would appear that
it is to do with the Same Origin Policy.
Presumably there is a patch or upgrade which enforces the policy more
rigidly than on our existing machines.
The design off the application at this point of failure involves a web
page with a button which when selected produces a modal dialog for the
user to select a value from.
This is then returned to the calling page.
The problem appears to be that the value gets set in a javascript file
in the page
<<HomeDir>>\Jscript\Custom
using the code
oReturn = window.showModalDialog("dialogs/location/location.asp",
oArguments, "dialogHeight:480px; dialogWidth:640px;")
if (oReturn!=-1)
The error occurs on the if statement.
Firstly can anyone concur with the diagnosis or if not provide an
alternative.
Secondly if this is the cause, presumably altering the directory the
files are stored in would overcome this, however it would mean
altering any paths to those files.
Does anyone know a workaround which doesn't involve a heap of
recoding, especially as this would have to be done to a number of
applications?
Is there a way to make the laptops recognise the fact that the
directories are all from the same source (i.e. home directory)?
If there are those f you reading this that think it looks familiar, I
originally registered this issue on the link below. However things
have moved on and the original description is no longer valid and
therefore misleading so I felt it best to open it again with a more up
to date explanation.
http://groups.google.co.uk/group/microsoft.public.internetexplorer.general/brows
e_thread/thread/57a151dd9da61987?hl=en
rob^_^ - 25 Jun 2008 12:35 GMT
Hi Kevin,
Add the mark of the Web to your local pages.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" >
This
<!-- saved from url=(0014)about:internet -->
is the MOTW.
Regards.
> We are experiencing issues with newly rolled out laptops which have
> the same basic set up as existing machines (Windows XP, IE6 with SP2),
[quoted text clipped - 43 lines]
>
> http://groups.google.co.uk/group/microsoft.public.internetexplorer.general/brows
e_thread/thread/57a151dd9da61987?hl=en
KevinS - 26 Jun 2008 11:28 GMT
Thanks for this.
I have applied the full
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" >
to the web pages which I think are affected, replacing the existing
<html>.
It hasn't stopped the problem unfortunately.
It's possible I could have missed one page in the tree, however I
don't think this is the case.