Microsoft KB Archive/824693

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

Article ID: 824693

Article Last Modified on 8/14/2003

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2002 Service Pack 1

-



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.



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



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.



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.

Keywords: kbbug kbfix KB824693

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.