Article ID: 2551585 - Last Review: May 13, 2011 - Revision: 2.0

Error Message in Internet Explorer: "Conditional Compilation is turned off"

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

When you browse to a page using Internet Explorer, you may receive an error message similar to the following: 

Conditional Compilation is turned off
Code:0


CAUSE

The problem occurs because the page being browsed to contains an anchor tag (<a>) and the tag's onclick property value contains an "@" character. For example, the onclick property value of the anchor tag contains a mailto: link, such as example@microsoft.com


RESOLUTION

The onclick property value for the anchor tag (<a>) should be set to a script function. If the purpose of setting the onclick property value to a mailto: link is to invoke email, use the href property value of the anchor tag instead of onclick. Otherwise, ensure the onclick property value of the anchor tag calls a script function.



MORE INFORMATION

For more information about the A Element and a Object in HTML, please see the following link:

http://msdn.microsoft.com/en-us/library/ms535173(v=VS.85).aspx (http://msdn.microsoft.com/en-us/library/ms535173(v=VS.85).aspx)




Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

APPLIES TO
  • Windows Internet Explorer 9
  • Windows Internet Explorer 8
  • Windows Internet Explorer 7
  • Microsoft Internet Explorer 6.0
Keywords: 
KB2551585