Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Since upgrading to Internet Explorer 8 I've been getting JavaScript errors when performing certain functions (like "Turn On") on the Virtual Server 2005 Enterprise R2 SP1 Administration Website:

Message: 'document.getElementById(...)' is null or not an object
Line: 4
Char: 1
Code: 0
URI: http://myserver.mydomain.local:1024/VirtualServer/VSWebApp.exe?view=1

Are there any workarounds to this problem other than using another browser?

share|improve this question
up vote 7 down vote accepted

I have found the solution to this problem in another question's answer but thought it was worth keeping my question up as, for the exact problem above, this question is easier to find.

The Microsoft Virtual Server 2005 R2 web admin page needs to be displayed in "Compatibility View" mode in IE8

Source: Accessing Virtual Server 2005 RC2 hosted machines using IE8

share|improve this answer
I just had the same problem. Thanks for the solution! – Christian Hubmann Jun 24 '09 at 20:23

Or you can type some Javascript into the address bar and get it working. Amazed that their HTML is so shoddy, they didn't give the 'vm' or 'action' elements an ID, only a name, so replacing getElementById() with getElementsByName()[0] fixes it; the following worked for me in Chrome:

Type the following into the address bar to turn on the VM:


likewise, to turn the VM off, type:

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.