Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


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


↑ Back to the top


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


↑ Back to the top


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.



↑ Back to the top


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




↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2551585
Revision : 1
Created on : 1/7/2017
Published on : 5/13/2011
Exists online : False
Views : 93