MBS: Java Script Causes Error Shown in Unformatted Web Page (Raw HTML) (166396)



The information in this article applies to:

  • Microsoft Commercial Internet System 1.0

This article was previously published under Q166396

SYMPTOMS

When you try to create a broker account, and you get a Java script error message, the broker account is successfully created. However, in order to continue to use SysAdmin, you must press the Enter key several times or restart Microsoft Internet Explorer (IE).

The script breaks after you click the Save button on the Create Membership Broker Account page. The message should be shown in an IE window, instead it displays on a blank page in raw HTML.

CAUSE

The problem appears to have been that the <SCRIPT> tags appeared outside both the <HEAD> and <BODY> tags in the code. International versions of the browser appear to be much less tolerant of code-ordering sloppiness than the English version of IE that this was originally tested with.

The Java script calls in the twelve Active Server Pages (ASP) files listed below currently reside in the wrong sections of the HTML code, which causes a string sent to the IE alert box to dump on its own unformatted Web page.

The affected files:
   Apadd.asp
   Apmem.asp
   Approp.asp
   Stban.asp
   Stlist.asp
   Stmem.asp
   Stuser.asp
   Uaadd.asp
   Ualist.asp
   Ugadd.asp
   Ugmem.asp
   Ugprop.asp
				

STATUS

Microsoft has confirmed this to be a problem in Microsoft Commercial Internet System version 1.0. This problem has been corrected in the latest U.S. Service Pack for Microsoft Commercial Internet System version 1.0. For information on obtaining the Service Pack, query on the following article in the Microsoft Knowledge Base:

ARTICLE-ID: 183062
TITLE : MCIS 1.0 Service Packs 1 and 2 Information


Modification Type:MajorLast Reviewed:11/7/2003
Keywords:kbbug kbfix KB166396