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.

FIX: Runtime Error When You Remove a Profile References and the Client Locale Is Different from the Server Locale


View products that this article applies to.

Symptoms

On a computer running Microsoft Commerce Server Business Desk (BizDesk) client, you may experience a runtime error in ProfileRemoveList.asp in Line 5 when you remove a profile reference. This problem occurs under the following conditions:
The Locale on your computer is different from the Locale on the server.

-and-
A localized version of Microsoft Windows Scripting Host is installed on your computer.

↑ Back to the top


Workaround

To work around this problem, apply the following changes to the Profiles\CommonEditPageRoutines.asp file:
1.Locate the following code fragment (Sub onSelectSiteTerm Line 93):
Set dictRet = window.showModalDialog("../profiles/MultiSiteTermList.asp?&bRequired=" & _
                                     CBool(esUser0.field(sOrigName & "_required").value), _
                                     dictArg, _
                                     "dialogHeight:205px;dialogWidth:520px;status:no;help:no")
Change this code to the following:
Set dictRet = window.showModalDialog("../profiles/MultiSiteTermList.asp?&bRequired=" & _
                                     CInt(esUser0.field(sOrigName & "_required").value), _
                                     dictArg, _
                                     "dialogHeight:205px;dialogWidth:520px;status:no;help:no")
2.Locate the following code fragment (Sub onSelectReference Line 193):
Set dictRet = window.showModalDialog("../profiles/ProfileRemoveList.asp?bRequired=" & _
                                     CBool(bRequired), _
                                     dictArgs, _
                                     "dialogHeight:260px;dialogWidth:290px;status:no;help:no")
Change this code to the following:
Set dictRet = window.showModalDialog("../profiles/ProfileRemoveList.asp?bRequired=" & _
                                     CInt(bRequired), _
                                     dictArgs, _
                                     "dialogHeight:260px;dialogWidth:290px;status:no;help:no")

↑ Back to the top


Resolution

To resolve this problem, obtain the latest service pack for Microsoft Commerce Server 2002. For additional information about how to obtain Commerce Server 2002 service packs, click the following article number to view the article in the Microsoft Knowledge Base:
328814 INF: How to Obtain the Latest Commerce Server 2002 Service Pack
Note After you apply the service pack, you must manually replace the Profiles\CommonEditPageRoutines.asp file in your BizDesk virtual directory with the updated version that is included with Commerce Server 2002 Service Pack 2.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Commerce Server 2002 Service Pack 2.

↑ Back to the top


Keywords: KB824693, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 824693
Revision : 1
Created on : 8/14/2003
Published on : 8/14/2003
Exists online : False
Views : 416