RE: SmartNav.js permission denied after Windows update

From: Mike Masterton (MikeMasterton_at_discussions.microsoft.com)
Date: 12/02/04


Date: Thu, 2 Dec 2004 14:35:08 -0800

Thanks Ken. Yes, the Windows Update and the Web Server and client browser
are all on the same machine.

I was able to eliminate the problem by removing the SmartNavigation="true"
directive from the ASP.NET Web page. I still run into an intermittent
"Access is Denied" JavaScript error at the line shown below, so I'm not
entirely out of the woods yet. Maybe this is a question for another
discussion thread, but I did not see these errors before the Windows Update.

Line causing "Access is Denied":
if (element.document.parentWindow.name.indexOf("__hifSmartNav") == 0) return;

Mike

"Ken Schaefer" wrote:

> Is the Windows 2003 machine you refer to (the one you ran WindowsUpdate one)
> the same as the machine that you are browsing the site from?
>
> The javascript error that you are seeing indicates that the javascript file
> has been downloaded to the browser, but the browser is denying access to some
> resource that's been accessed in line 204
>
> Cheers
> Ken
>
>
> "Mike Masterton" wrote:
>
> > I ran the latest Windows update for Windows Server 2003 on 11/24/2004. After
> > the security hotfixes in that update were applied, I started getting the
> > following error when I try to run a local ASP.NET Web Application in the
> > Visual Studio .NET 2003 debugger:
> >
> > http://localhost/aspnet_client/system_web/1_1_4322/SmartNav.js
> > “Microsoft JScript runtime error: Permission denied” at line:
> > var url = window.location.href.split("?")[0];
> >
> > When I run outside the debugger, I get:
> > A Runtime Error has Occurred. Do you wish to debug?
> > Line: 204
> > Error: Permission Denied
> >
> > I did not save the old SmartNav.js to try it out. Any idea how I can
> > resolve this problem?



Relevant Pages

  • Re: Browser freezes with Windows XP update, shutdown problems
    ... No luck with the security settings. ... still the same browser freeze issue. ... Is there a problem getting to other websites, or, is it only Windows Update. ... > Suggestion A: Put some MS sites in Trusted Sites list of IE browser. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: IE6 cant access Windows Updates - works find surfing
    ... Go directly the Windows Update site ... Windows Update Trouble Shooter ... Alternative way to download Windows and other updates. ... > browser couldn't access them. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: IE6 cant access Windows Updates - works find surfing
    ... Go directly the Windows Update site ... Windows Update Trouble Shooter ... Alternative way to download Windows and other updates. ... > browser couldn't access them. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Script error on Google Homepage
    ... >> abandoning backward-compatibility. ... Automatic Updates do not require ActiveX in the browser. ... Windows Update and Automatic Updates are not one and the same. ...
    (microsoft.public.scripting.jscript)
  • Re: Is google.com totally broken in Firefox 3.6?
    ... mess. ... It looks like a sprite that is displayed for the search results. ... The page throws the javascript error `a is undefined` ... Anyone who slaps a 'this page is best viewed with Browser X' label on ...
    (comp.infosystems.www.authoring.html)