Solved

Javascript problem in IE6 on XP SP2

Posted on 2006-06-21
4
809 Views
Last Modified: 2013-12-16
I have a client that uses a GIS product called Intramaps. This used to work with no problems using IE6 on win2k. The same product no longer works on IE6 (or IE7) and XP. Having looked at the source there seems to be a lot of javascript. One of the functions prevents anything other than IE from running the app so Firefox is not an option (besides there's activex components as well it seems).  Problem revolves around not displaying map information. I tried loading the Java run time and that gave an error about MapView.class not being available.

Does anyone have any idea why this app no longer works? I seem to remember that MS reworked how Java/Javascript was handled but I can't remember when this happened.

The client can't approach the supplier of Intramaps as they have had a, lets say, a difference of opinion. There may, therefore be a patch available but at this time, if there is such a patch I couldn't get hold of of it.

I hope someone can help as this is quite urgent!
0
Comment
Question by:MARKR1963
  • 2
  • 2
4 Comments
 
LVL 69

Accepted Solution

by:
Merete earned 500 total points
ID: 16957783
check your internet explorer security settings  are at defaults suchs as internet medium  trusted low restricted high. and so on.
check the advanced settings and allow activex.
disable the popup blocker.
How Windows XP Service Pack 2 affects web pages running locally on your computer
http://www.phdcc.com/xpsp2.htm

http://java.com/en/download/index.jsp
JAVA SOFTWARE for Your Computer

FREE DOWNLOAD

when you open a web page>>To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options... To enable active content, click on this message and then select:
Allow Blocked Content...  

You will also be asked to OK this message:
Allowing active content such as script and ActiveX controls can be useful, but active content might also harm your computer.
Are you sure that you want to let this file run active content?
 
After all this, the active content should run. Note that the active content is only enabled for this Internet Explorer window. If you close this window and come back again you will have to go through the same process again. However, all further active content in this window is enabled (unless you navigate to non-HTML pages such as XML).
Microsoft have provided new options to turn off the security on local files to let active content run, as shown on the right.
To run active content on all CDs without warnings, you must change a security setting in Internet Explorer:

Open menu Tools+Internet Options+Advanced tab
Scroll down to the Security section.
Make sure that "Allow active content from CDs to run on My Computer" is checked.
If you want to run active content in all files on your hard disk or similar, then you need to:

Make sure that "Allow active content to run in files on My Computer" is checked.
Note: With "Allow active content from CDs" selected, I have found that the Information Bar sometimes still appears saying that it has restricted active content, even though the content runs OK.

its all here
http://www.phdcc.com/xpsp2.htm
------------------------------------------------------
final desperation lol
Open an ms-dos prompt window and type the following hitting enter after each line.

regsvr32 Shdocvw.dll
regsvr32 Shell32.dll
regsvr32 Oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 Mshtml.dll
regsvr32 Urlmon.dll

--------------------------------------
could be related:
Microsoft issues its security patches on the second Tuesday of every month and the June 2006 update will be the biggest for more than a year!

This is because Microsoft is not only tackling security problems but also the fallout of a legal case that the software maker lost - See my article KB912945 - Before now, users could choose to apply this change to their browser, but this June 2006 update makes it mandatory...
This change is due to a patent suit brought against Microsoft by a company named Eloas. The name is an acronym for "Embedded Object Links Across Systems." Basically, Eloas claims to own (along with the University of California) the patent for the technology that allows browsers to automatically launch external files like Flash, RealPlayer, MP3, and PDF.

By applying Microsoft Internet Explorer ActiveX update - KB912945 for Microsoft Windows XP Service Pack 2 (SP2) or for Microsoft Windows Server 2003 Service Pack 1, changes will occur in the behaviour of Java applets or ActiveX controls in Internet Explorer 6.1

This basically means this "non security" patch KB912945 will see users NOT being able to "directly interact" with ActiveX controls loaded by the APPLET, EMBED, or OBJECT elements.

This includes:

Adobe Reader – PDF documents in a webpage
Apple QuickTime Player - Video and Audio on webpage’s
Macromedia Flash Player - Video and Audio on webpage’s
Microsoft Windows Media Player – Video and Audio on webpage’s
Real Networks RealPlayer - Video and Audio on webpage’s
Sun Java Virtual Machine – External software that runs in IE


...AFTER the update KB912945 is installed you cannot interact with ActiveX controls from Web pages until these controls are enabled. To enable an ActiveX control, you will have to MANUALLY click the control - not a huge issue, just a pain to have to click the screen BEFORE it will work.
http://www.updatexp.com/june-2006-updates.html
http://www.updatexp.com/kb912945.html

Ok good Luck
Merete
0
 

Author Comment

by:MARKR1963
ID: 16958128
Merete

Many thanks for this. I'll pass it on to the client and let you know what happens.

Mark
0
 

Author Comment

by:MARKR1963
ID: 17078659
I have not heard from the client so I shall assume no news is good news. I have used some of the suggestions elsewhere though.
So, many thanks and full points to Merete
0
 
LVL 69

Expert Comment

by:Merete
ID: 17078854
Thank you too MARKR1963
Always a pleasure to help out.
Regards Merete

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now