PRB: Commerce Server 2000 BizDesk Segment Viewer Error Message When You Use Internet Explorer 6.0 and XML 3.0 (316926)



The information in this article applies to:

  • Microsoft Commerce Server 2000 SP1
  • Microsoft Commerce Server 2000 SP2

This article was previously published under Q316926

SYMPTOMS

When you use Microsoft Internet Explorer 6.0 or XML 3.0 with Microsoft Commerce Server 2000 BizDesk, you may receive the following error message:
A Runtime Error has occurred.
Do you wish to Debug?
Line: 614
Error: Microsoft VBScript compilation error
Syntax error
line = 1, col = 0(line is offset from the start of the script block).

RESOLUTION

To resolve this problem, change the following code in the Segviewer.asp file on your site from
<SELECT ID="compareComboBox" TABINDEX="4" OnChange="OnComparison 
           (this.options[this.selectedIndex].value, this.options[this.selectedIndex].innerText)">
     <OPTION VALUE="-2"><%= L_NoSegment_Text %></OPTION>
     <xsl:apply-templates />
</SELECT>
				
to the following:
<SELECT ID="compareComboBox" TABINDEX="4" OnChange="OnChangeCompareComboBox()" LANGUAGE="VBSCRIPT">
     <OPTION VALUE="-2"><%= L_NoSegment_Text %></OPTION>
     <xsl:apply-templates />
</SELECT>
				

Modification Type:MajorLast Reviewed:9/30/2003
Keywords:kberrmsg kbprb KB316926