Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript Error on XP desktop

Status
Not open for further replies.

srelmore

MIS
Apr 25, 2012
8
0
0
US
I have a user running Boot Camp with Windows XP on her MAC (I know, this is not ideal). There is a javascript button on several of her group's Sharepoint web pages that will bring in information from a DB based on whatever job number is entered. She has IE8 and Java Version 6 Update 29. This button does not work. It used to work but ceased to function for some unknown reason. When clicked, is says "Error on Page" at the bottom.

A more detailed error states:

Message: Access is denied Line: 8 Char: 1 Code: 0

Have tried the following:
She logs in to this site from another PC - works fine
Coworker logs into this site from original user's PC - does not work
I log into this site from my PC - works fine.

So this appears to be a PC problem.

Have also tried: installing IE7 and various older versions of Java to no avail. Have even tried logging in to her PC with different XP profile but button still does not work.

User has full admin rights to her PC.

I also opened a java console to troubleshoot the problem and received the following information:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; MS-RTC LM 8; .NET CLR 1.1.4322) Timestamp: Mon, 2 Apr 2012 18:56:37 UTC

Message: Access is denied.

Line: 8 Char: 1 Code: 0 URI:
Message: Access is denied.

Line: 8 Char: 1 Code: 0 URI:
I am a Javascript novice so any information explained on an elementary level is greatly appreciated. Any ideas?
 
Java and Javascript are not the same thing. Installing versions of Java will not fix a Javascript problem.

Javascript is built into your browser. Have a look at the page source code and you can probably work out what the error is.
 
Seems clear it is just this one PC that this occurs on. Are all windows updates up to date?

If you install another browser, does it happen too?
Does it happen in IE9?

Marc
 
Thanks for your input. Like I said she is running Windows XP so IE 9 is not an option. She has all the current Windows updates.

The errors I got are listed in the initial post. It appears to be some sort of security permissions error, but I am not sure. She is a local admin on her desktop.
 
Does it error in another browser like FF or Chrome?

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.
 
Firefox and Chrome do not work with Sharepoint very well. She gets a blank page that simply says 404 ERROR in these other browsers.
 
Opera, Iceweasel, Tor...... :)

Have you tried disabling and uninstalling the original JS addon, running a registry cleaner and go back to the site and when it prompts, allow the new JS addon?

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.
 
Not yet. Not sure how to disable/uninstall JS add-on.
 
Tools - Manage Addons

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.
 
The only SUN Microsystems Add-ons she has are:
Java Plug-In 2 SSV Helper
JQSIESrartDetectorImpl Class

Disabled both of them but did not resolve the problem.

Could not find any way to uninstall them in the browser. I am assuming this is done in Control Panel.
 
Anyone have any more suggestions? This is becoming a problem for this user as she must have coworkers do some of her work for her.
 
Have you tried a SFC /scannow and/or a Windows Repair?

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.
 
Tried both of those with no luck,

Here is the error message when I click on the javascript button:
Access is denied
jobticket.js
Code:0

which I am assuming she does not have access to this JS file but that doesn't make sense since it works for her on other PCs.
 
Thought I had asked those before but couldnt find them above, sorry.

Have you manually uninstalled all traces of IE and then found IE8 and installed it clean? I would uninstall, hunt for anything IE/Java related and run a reg cleaner, then reinstall 8.

I assume you have tried that in that order but Im running out of ideas. I figured the Repair install would wipe out the IE settings too......

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.
 
OK I completely uninstalled IE8, then IE7, then IE6 until no traces of IE remained. I then ran CCleaner and fixed/cleaned the OS and registry. I rebooted, downloaded IE8 and installed it fresh. Same problem. Could this be a .NET issue?
 
After putting this much time and effort into it, you might be better suited to just backup and reinstall the OS. Running w/ Boot Camp, you may never track down this issue or if you do will likely be replaced by another issue of equal annoyance.

Hate to admit defeat but you could tweak till you're blue in the face and still might not have this all lined out.

Best of luck in whichever endeavor you choose.

Learning - A never ending quest for knowledge usually attained by being thrown in a situation and told to fix it NOW.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top