Windows 7 - IE7 + Vista - Window.Open issue

Asked By Ganesh
03-Oct-07 11:42 AM
This is an issue related to IE 7 on Vista OS. Whenever user clicks a link
that opens a new window using window.open, parent window throws JavaScript
exception with message "window object is null or undefined. Do you want to
continue?" But this works fine on IE 6 (or IE 7) in other OS like Windows
XP.



In Vista, if we disable the "Protected Mode" option in IE settings, then
this error is not occurring. So it means window is not allowing opening the
new window in protected mode.



One link where a discussion resembles this sort of issue is:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=867012&SiteID=1. From
the discussion thread, it looks like that we cannot manipulate the instance
of the window created through window.open(url,name,.) method. On this basis,
just for a trial, we've commented all the code that manipulates window (as
below)





window.open(navigatorUrl, "Nav1",

// navigatorWindow = document.open(navigatorUrl, "Navigator",

// navigatorWindow.opener = window;

// navigatorWindow.focus();



At first instance it seemed to work. But, later we noticed that, it was
creating different tabs of the same page in single window if user clicks the
same link multiple times.



So to summarize our requirement is as follows-



1) To get rid of JavaScript error that is occurring on Vista/IE7 on
Window.Open.

2) It should open single instance with single tab of the window on clicking
same link multiple times.
Windows XP
(1)
Vista
(1)
PostID
(1)
SiteID
(1)
JavaScript
(1)
NavigatorWindow.opener
(1)
NavigatorWindow.focus
(1)
NavigatorWindow
(1)
  Scott M. replied...
03-Oct-07 12:40 PM
How does this relate to ASP .NET?
Create New Account
help
Windows installer 3.1 & IE7 fails to install Windows 7 3 weeks ago I upgraded my motherboard, processor, RAM & display card. Since I can't clean install a new windows XP cause my old system has all needed programs & settings to my needs (very hard to get all of my programs needed) I used to option of repair install, inserted the XP CD that gave me "upgrading windows", & all went OK, new drivers installed, removed old ones. Funny thing is my IE7 is goes till the point where registry editing starts & stops installation & rolls back changes to IE6 & windows restarts. . Same when I try to update Windows installer to 3.1, it stops installation at the point or registry changing & rolls back
Error 898461 and spmsg.dll error Windows 7 I have the same probs as many others but being just a novice I further updates. Is it worth running chkdsk as suggested in one of these forums? Smithy Windows Update Discussions Windows XP (1) Windows Update (1) UpdSpDecompressOrCopyFile (1) ProcessesToRunAfterReboot (1) SetAltOsLoaderPath (1) UpdateSpUpdSvcInf (1) FetchSourceURL (1) GetFileAttributesEx (1) Smithy time. The following error came up: speficied below is correct or change it and insert Windows XP Hotfix Source Files in the drive you specify." In a further box there is the 16410f784dc9858cc1098da3760d35 " Can anyone tell me what the above means please. What is meant by "insert Windows XP Hotfix Source Files" ?? Am now thoroughly confused. Smithy Good idea. Please also see the
Downloaded Windows Updates fail to install in Windows Update Windows 7 Re: XP Home Edition SP2. 1 / 6 / 09 Shenan Stanley offered remedial sequence of commands. I completed the first 3 steps but stalled out on the 4th (download Windows UpdateAgent & save to root of C: \ ). 1 / 15 / 09 JS provided commands to save downloaded step calls for: Start- --Run and type in a window pops up stating the latter windows file that I just typed in cannot be found. Any suggestions will be appreciated. - - DHF Windows Update Discussions Windows XP (1) Windows Installer (1) Windows Update (1) BigBoxStoreUSA (1) Outlook (1) XP (1) CltUI
Troubleshooting Long Boot Time? Windows 7 Just re-imaged my PC last nite. The image was not from that long boot time has gone completely down the tubes. I am getting 1:25 to the Windows Desktop, but at that point there is no connectivity to my NAS box. TeamViewer, OTOH trial-and-error removal of everything optional startup that I can think of? - - Pete Cresswell Windows XP Discussions WINDOWS system32 (1) Office (1) Vista (1) Adobe (1) Backup (1) Disk (1) Bit (1) XP (1) Is there anything listed in the Event logs that might be of help? Another thing you can do is enable boot logging using msconfig. - - SC Tom Try bootlog XP http: / / greatis.com / utilities / bootlogxp / Per JRosenfeld: I gave it a shot. it is probably
Same problem Windows Installer 3.1 v2 will not install. Windows 7 I use Windows Automatic Update to install my updates. Just recently, it shows to update to Windows Installer 3.1 Redistributable (v2). I have it update but it says that it could DoInstallation: FetchSourceURL for c: \ bf69b2f4cb1ad887fac3a65d6255e4c0 \ update \ update_wxp.inf failed 2.203: CreateUninstall = 1, Directory = C: \ WINDOWS \ $MSI31Uninstall_KB893803v2$ 2.203: LoadFileQueues: UpdSpGetSourceFileLocation for halaacpi.dll failed: 0xe0000102 2.219: BuildCabinetManifest: update.url absent 2.234: Starting AnalyzeComponents 2.234: AnalyzePhaseZero used 0 ticks 2.234: No c: \ windows \ INF \ updtblk.inf file. 2.234: SetupFindFirstLine in LoadExclusionList Failed with error: 0xe0000102 2.234 successfully complete this installation, the following services will automatically be stopped and restarted. 21.781: Windows Installer. 24.906: LoadFileQueues: UpdSpGetSourceFileLocation for halaacpi.dll failed: 0xe0000102 25.719: Num Ticks for halaacpi.dll failed: 0xe0000102 47.031: System Restore Point set. 47.094: Copied file: C: \ WINDOWS \ system32 \ spmsg.dll 47.469: PFE2: Not avoiding Per File Exceptions. 47.484: GetCatVersion: Failed