简体   繁体   中英

Installing VB6 app causes IE6 errors?

I have a VB 6 app that I've inherited, and made some small updates to, but now when it is scripted to install (for SMS, using BITS_INST.exe) and I install it from that script, I get the following javascript error on our portal on links that are attempting to open new windows:

Error: 'window.open(...)' is null or not an object

This app never caused this problem before. It's been installed for years, and was updated just about a year ago without a problem.

Anyone have any ideas?

Some problem solving tips to try:

  • Is it possible to uninstall the app? Does that make Javascript work again?
  • Does the VB app make changes to the registry, or system files?
  • Does this problem happen when installed on another computer?
  • Does this problem happen on another computer without the VB app installed?
  • Does this problem happen on a different browser?
  • Is it coincidence? Has your Portal code been changed?
  • Are you able to compare the current VB app's code with a previous version? What's changed?
  • Is it possible to do what you want a different way?

In my experience if you ask enough questions, and experiment with different scenarios, you'll usually discover what the problem is.

Jonathan, thank you for your reply.

You posted many of the questions anyone should ask while debugging an unexpected behavior, and I did most of them before posting my question.

This problem was resolved. The person who was building the install script discovered that the bits_inst.exe was getting corrupted. When she was able to correct the problem and build so that there was no corruption, then the installed app did not affect IE adversely. I had a strong feeling that the app wasn't the cause, and it wasn't, but had to look at all possbile sources of the offending IE behavior.

Again, thanks for your response.

Brian Sherwood Houston, tx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM