Microsoft KB Archive/841053

= BUG: You cannot import a UTF-16 encoded XML catalog file in Commerce Server 2002 =

Article ID: 841053

Article Last Modified on 11/15/2007

-

APPLIES TO


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

-





SYMPTOMS
When you import a UTF-16 encoded XML catalog file in Commerce Server 2002 and then you select a locally accessible XML file, the import does not work and you receive an error message that is similar to the following in the application event log:

Commerce Server: The XML file 'c:\inetpub\wwwroot\Retailbizdesk\ProductCatalogs\Catalog532004163448' contains an error at line number 1 and column number 39. The error description is 'Unable to switch the encoding.'



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Size    File name -  07-May-2004  22:27  51,616  List_catalogs.asp Note This hotfix replaces the List_catalogs.asp file that is located in the Catalogs\Editor folder in your Bizdesk folder. You must manually replace the existing file with the one that is included in this hotfix.

You must adjust the client browser to enable the &quot;Access data sources across domains&quot; option for the correct Internet zone because this hot fix uses the ADODB.Stream object to load the XML catalog. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260260 BUG: Opening a stream to a URL produces &quot;Accessing Data Across Domains&quot; warning message

If you have modified this file, compare your version of the List_catalogs.asp file with the version of this file that is included in this hotfix, and then apply the changes in the ImportXML routine to your version of the List_catalogs.asp file.



WORKAROUND
To work around this problem, specify an XML file that is on the server instead of a locally accessible XML file.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbqfe kbhotfixserver kbbug kbfix kbcommserv2002presp3fix KB841053

-

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

© Microsoft Corporation. All rights reserved.