Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Server A: Windows Server 2008 R2, IIS 7, admin - me

Server B: Windows Server 2008 R2, IIS 7, admin - company server admin group

I have a Javascript file that works well on my local machine. The JS file also works on Server B. When loaded to Server A, the page returns the error "Unspecified error" with a go to line that doesn't mean much in either the HTML or the JS. When replaced with a JQuery file, that also works locally, and also works on Server B, I get a different error "Object Expected" again with a meaningless go to line.

There are bits of Javascript which are functional on the same site on Server A, so JS is not completely disabled.

I am aware that JS and JQuery are considered client-side languages, but in this case "Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth."

Are you, server fault'ers, aware of server configurations that would affect Javascript/JQuery performance?

share|improve this question
Could you be a little more specific? Code examples, exact error messages and so on – Mathias R. Jessen Jan 9 '12 at 20:41

What this probably means is that the server isn't returning the correct data when the .js file is requested.

It's called a client-side language because it is a client-side language; the javascript files are not executed in any way on the server; they're just text files with a different MIME type as far as it cares.

In Firebug or Chrome's dev tools, take a very careful look at the responses to the requests for the .js files when requested from both servers. Something's different between them.

share|improve this answer

I'd guess that IE Enhanced Security Configuration (IE ESC) is enabled on Server A. You can turn it off from the top level of the Server Manager MMC.

And the server doesn't usually need to be able to run javascript in order to just serve it up to clients.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.