Jump to content

Recommended Posts

Posted

Hi everyone,

 

We have recently purchased a piece of software called from Testwise 3 - the application is web-based. We are having problems with script errors in IE7, this is the message:

 

Line: 2
Char: 1
Error: Invalid character
Code: 0
URL: http://www.testingforschools.com/do/login/**********

 

We are on an RM CC3 network. I have installed the latest java & flash versions along with all of the windows updates for IE7. Also I have tried this article from Microsoft - Error message when you try to open an ActiveX control-based MIME handler in Windows Internet Explorer 7: "Invalid character"

 

I have run out of ideas now :p anyone wanna point me in the right direction? :nerd:

 

Cheers.

Posted
I have tried a reset & updating shockwave, installed IE8 - same problem. Yes, it works fine with firefox so it's an IE issue :(

 

relevant permissions on the directory for flash or shockwave as per the technical faq on the below site

 

Help

 

3. Please change user access from read only to full control for

c:\windows\system32\macromed

on all testing PC’s. If this is not done one of the issues caused could be the incorrect displaying of tests or the testwise website. The Internet Browser needs to be able to have access to this folder.

Also do the browse compatibility test here

 

Help

Posted (edited)
relevant permissions on the directory for flash or shockwave as per the technical faq on the below site

 

Help

 

Also do the browse compatibility test here

 

Help

 

The correct permissions are set and the browser passes the compatibility test. I think the error is Java related as IE8 mentions .js files in the error.

 

Edit: Here is the more detailed error report from IE8:

 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Timestamp: Fri, 5 Feb 2010 10:08:07 UTC

Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://www.testingforschools.com/js/net.js

Edited by BassTech
Posted
The correct permissions are set and the browser passes the compatibility test. I think the error is Java related as IE8 mentions .js files in the error.

 

Edit: Here is the more detailed error report from IE8:

 

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Timestamp: Fri, 5 Feb 2010 10:08:07 UTC

Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: http://www.testingforschools.com/js/net.js

 

If you scroll to the right side it also refers to .Net so I would be tempted to uninstall all versions of java from add / remove, reboot and install latest version of java and from there also do the same for .Net then reboot and try again.

 

Also with ref to the tech docs Im assuming there isn't any settings via gpo to block scripts and you have allowed the wild card for there website through the proxy

Posted
If you scroll to the right side it also refers to .Net so I would be tempted to uninstall all versions of java from add / remove, reboot and install latest version of java and from there also do the same for .Net then reboot and try again.

 

Also with ref to the tech docs Im assuming there isn't any settings via gpo to block scripts and you have allowed the wild card for there website through the proxy

 

Just tried this, same problem :mad: and yes I have allowed "*.testingforschoos.com" through our proxy :(

Posted
There's one called customer.js which is causing problems too. And yes, it is added to our trusted sites list.

 

Is it only doing it when a student is logged in or when you are logged in as either local or domain admin for ie 7or 8 ?

 

Maybe check the advanced settings on ie 7 or 8 in relation to java and also scripts ie java script ( the js files ) as well as the security settings for js ( java script )

Posted
Is it only doing it when a student is logged in or when you are logged in as either local or domain admin for ie 7or 8 ?

 

Maybe check the advanced settings on ie 7 or 8 in relation to java and also scripts ie java script ( the js files ) as well as the security settings for js ( java script )

 

To begin with it wouldn't work on either. Since I upgraded to IE8 it now works on domain admin but still doens't work with staff/student profiles. I have been through all the options in IE7/8 related to java but it didn't make any difference :doh:

Posted

To be honest it sounds like the proxy blocking it and messing with it somehow - can you access the file by opening the URL of the JS file directly? It's complaining about the very first character of the file which should just be a comment, should be fine. The only way it would be an invalid character is if the proxy is injecting something else in there, or returning its usual error page in its place.

 

We had an issue once with an old proxy system where the word "radio" was banned, to stop streaming music, except it then messed up a Maths site that used HTML radio buttons; it was just injecting a message about "this word removed" or similar in place of "radio" and breaking everything.

 

All the stuff about user agent doesn't really help, it's just describing the rendering engine of the browser.

 

Other than that... don't know. Do they not have a support line you can hassle?

Posted
To be honest it sounds like the proxy blocking it and messing with it somehow - can you access the file by opening the URL of the JS file directly? It's complaining about the very first character of the file which should just be a comment, should be fine. The only way it would be an invalid character is if the proxy is injecting something else in there, or returning its usual error page in its place.

 

We had an issue once with an old proxy system where the word "radio" was banned, to stop streaming music, except it then messed up a Maths site that used HTML radio buttons; it was just injecting a message about "this word removed" or similar in place of "radio" and breaking everything.

 

All the stuff about user agent doesn't really help, it's just describing the rendering engine of the browser.

 

Other than that... don't know. Do they not have a support line you can hassle?

 

If it was a proxy issue, surely the domain administrator would get the same error as everyone else? Any yes, the have passed it onto 3rd line support but not heard anything yet...

Posted
If it was a proxy issue, surely the domain administrator would get the same error as everyone else? Any yes, the have passed it onto 3rd line support but not heard anything yet...

 

Guessing it's just one flat proxy for everyone then, no levels of access. The fact that it works in Firefox is the weirder part to me... JS file looks fine so can't think why it would complain about the file being malformed. First few lines are just

/*
url-loading object and a request queue built on top of it
*/

which are, well, JS.

 

Unless it's one of those useful errors where it's telling you this, but actually caused by something else.

 

I shall ponder through the day, anyway - gotta get some work in quick before lunch...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...