Article ID: 904390 - Last Review: September 23, 2005 - Revision: 1.0

FIX: You may receive a "<variable> is null or not an object" error message when you view a Web page that contains a Tabular Data Control in Internet Explorer 6

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

In Microsoft Internet Explorer 6, you may receive an error message when you view a Web page that contains a Tabular Data Control (TDC). For example, you may receive an error message that is similar to the following:
Error: variable is null or not an object
Note In this error message, variable is the name of a variable in the JavaScript code.

Note The Web page may work as expected in the Local Machine Zone (LMZ).

CAUSE

This issue may occur if the data binding for the DataURL property of the TDC is not correct. For example, you may experience this issue if the following conditions are true:
  • The data file is a text file.
  • The DataURL property contains a file name.
  • The file name in the DataURL property has a file name extension that is not a file name extension for a text file.

RESOLUTION

To resolve this issue, modify the DataURL property to use the correct file name extension for the file type.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft Internet Explorer 6.0
Keywords: 
kbtshoot kbbug kbcode KB904390