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 (904390)



The information in this article applies to:

  • Microsoft Internet Explorer 6.0, when used with:
    • Microsoft Windows XP Service Pack 2

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.

Modification Type:MajorLast Reviewed:9/23/2005
Keywords:kbBug kbtshoot kbcode KB904390 kbAudDeveloper