Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Patch 918899 breaks my application on IE6

123 views
Skip to first unread message

Shiva

unread,
Aug 14, 2006, 10:01:02 AM8/14/06
to
I have installed latest KB 918899 on Windows XP SP2. After installing the
patch my web application started giving JAVA SCRIPT ‘Permission Denied' error
on IE6. If I remove the patch then it works. Also I noticed that my
application works fine on Windows 2000 using IE6 even after installing the
patch. So it seems the patch 918899 breaks IE6 on Windows XP SP2.
Please note that I use frames in my application. The line top.opener.name in
JS gives this error.
Please help me.

PA Bear

unread,
Aug 14, 2006, 4:57:50 PM8/14/06
to
See Known Issues section of http://support.microsoft.com/kb/918899
--
~Robear Dyer (PA Bear)
MS MVP-Windows (IE/OE, Shell/User, Security), Aumha.org VSOP, DTS-L.org

Shiva wrote:
> I have installed latest KB 918899 on Windows XP SP2. After installing the

> patch my web application started giving JAVA SCRIPT ā?~Permission Denied'

SeanK

unread,
Aug 14, 2006, 5:06:02 PM8/14/06
to
I think I'm experiencing the same problem. JavaScript that has been working
for months now gets the "Permission Denied" error. It seems to happen
randomly. Same configuration: Windows XP SP2, IE 6. Except I have a parent
page open a child page (in the same domain). Then the parent page checks to
see if the child is closed (WindowObjectReference.closed) and sometimes it
gets a "permission denied". I don't want to uninstall the patch because
there are several more on top of it. Any sign of a fix coming soon?

Shiva

unread,
Aug 15, 2006, 4:33:01 AM8/15/06
to

Hi I have gone through the known issues, and tried 923762 917344
(http://support.microsoft.com/kb/917344/) MS06-023: Vulnerability in
Microsoft JScript could allow remote code execution.
Could you please let me know the specific known issue that is applicable to
my issue here?
"PA Bear" wrote:

> See Known Issues section of http://support.microsoft.com/kb/918899
> --
> ~Robear Dyer (PA Bear)
> MS MVP-Windows (IE/OE, Shell/User, Security), Aumha.org VSOP, DTS-L.org
>
> Shiva wrote:
> > I have installed latest KB 918899 on Windows XP SP2. After installing the

> > patch my web application started giving JAVA SCRIPT â?~Permission Denied'

SeanK

unread,
Aug 15, 2006, 11:53:02 AM8/15/06
to
Shiva,

I have searched around and found several other people having the same
problem after installing kb918899. It appears to be a bug and I have not
heard anything about a fix yet. The following is an example of one of the
other posts that was made today. It is the exact same problem I'm
experiencing:

Subject: IE - opener.closed - Permission denied 8/15/2006 7:32 AM PST

By: mnichols In: microsoft.public.inetexplorer.scripting


Hello,

We've been using the following code for quite a while in IE:

if(opener && !opener.closed)
opener.focus();

It has been working quite well for a few years, but since the Cumulative
Security Update for Internet Explorer
for Windows XP (KB918899) we have been experiencing this error:

Microsoft JScript runtime error: Permission denied

The error is occurring when "opener.closed" is evaluated and when the window
has been closed.

Does anyone know if Microsoft has a patch for this?

As I type this I am wondering if the error goes by unnoticed unless script
debugging has been enabled in IE.
That would be positive since most end users would not experience the problem.

Any ideas out there? I general it looks like KB918899 has caused a few
problems but this one is not too common.

mnichols

Shiva

unread,
Aug 15, 2006, 12:14:02 PM8/15/06
to
Thanks Sean,
For the time being, I have uninstalled the patch.

BostonSQD

unread,
Aug 21, 2006, 4:04:01 PM8/21/06
to

I have similiar problem after launching a modal dialog... when user click ok
.. and top.close() called, the window close, and when access the data got
from that dialog...
I have permission denied.

Uninstall kb918899 fixed my problem, but I want to know if there any work
around for code wise. Otherwise I wish Microsoft could release another
kb.... to fix this problem?

Message has been deleted

BostonSQD

unread,
Aug 24, 2006, 7:20:01 PM8/24/06
to
Hi ,
I think the problem lied in the shallow copy of Arrays/Object.
Look like kb918899 have clean out the memory that my array/object referenced
after the Modal dialog closed. At the parent or caller, trying to access
that memory was "permission denied". This is not happened before install
kb918899 or with FireFox.

I am doing these, and it caused me error after I called top.close() on Modal
dialog:

function OkButtonClicked() {
var args = getDialogArguments();

args.newItems = new Array();

args.newItems = document.dialogForm.currentData.dataselections;

top.close();
}

The args.newItems at the parent dialog created a new Array structures, but
the data are gone (emptied). That is why it error with "permission denied".

I am trying with deep copy of arrays/objects but no success...
Any ideas or suggestions?

Shiva

unread,
Aug 25, 2006, 10:13:01 AM8/25/06
to

BostonSQD

unread,
Aug 25, 2006, 1:53:01 PM8/25/06
to
Thanks for the info but these links really affect IE6 with SP1

I am using IE6 with SP2 -- it is still a problem for me.

I think my problem lied in deep copy, if I can figure out a deep copy that
work then I am gold.

Other than that, I wish could change back to the old way... so I don't have
to change my code ;-)

Cout

unread,
Aug 25, 2006, 3:26:02 PM8/25/06
to
After applying KB918899 we had "access denied" or "permission denied" in our
ASP page, javascript code.... We found the solution today.

Check that address. http://support.microsoft.com/?kbid=884698

The value of the key is probably to ON for you. Put it at OFF.

Cout

Cout

unread,
Aug 25, 2006, 3:28:02 PM8/25/06
to
Try that http://support.microsoft.com/?kbid=884698. It did resolved our
problem today.

KB918899 is installed with that key to OFF.

We are all with XP SP2...

Cout

Mott@discussions.microsoft.com Gordon Mott

unread,
Aug 25, 2006, 4:05:02 PM8/25/06
to
The behavior I've seen is that if you do a try... catch block... and query
the .number property of the received error... you're always going to get the
permission denied error if the window you're referring to does not exist. In
other words - you get the error only when it's closed. The error presenting
itself tells you all you need to know. just catch it.

BostonSQD

unread,
Aug 25, 2006, 5:04:02 PM8/25/06
to
IT WORKED!!!
Thanks Cout!!!!
Ya Da Man.... ;-)

AMac

unread,
Aug 25, 2006, 5:19:02 PM8/25/06
to
Worked for me too, but IE is now crashing like the dickens when running my
app. Still, it's better than getting that JS error.
0 new messages