You receive an error message when you specify Asian characters in the <displayNames> element of your Web.config file in Microsoft Solution for Internet Business 2.5 (884629)



The information in this article applies to:

  • Microsoft Solution for Internet Business 2.5

SYMPTOMS

In Microsoft Solution for Internet Business (MSIB), you specify Asian characters in the <displayNames> element of your Web.config file. You then receive an error message that is similar to the following when you try to open a Web page on an MSIB Web site:
Description: There is an error, while it is handling the configuration file that is needed to provide the request.

RESOLUTION

To resolve this issue, you must change the encoding in the Web.config file to UTF-16. You must also save the file as a Unicode file. To do this, follow these steps:
  1. In Notepad, open the Web.config file for the MSIB Web site that you want to change.
  2. Change the first line of the Web.config file to the following:

    <?xml version="1.0" encoding="UTF-16"?>

  3. Save the file as a Unicode file.
The <displayNames> value attribute has been updated in the MSIB 2.5 documentation. Currently, the MSIB 2.5 documentation that is titled "MSIB v2.5 Installing Single Server .doc" states that the value attribute for the <displayNames> element should contain a localized string. However, the attribute should contain a non-localized string.

In the MSIB documentation, step 8 in the "Modifying the Web.config File for Search Functionality" section has been updated. The following is the original step:

8. The <displayNames> section follows the <params> section. In the <displayNames> section, you must have an entry for each language on your site. The following code example shows entries for U.S. English and Japanese. It is important to note that cultures must match those set by your site as part of the language drop-down box:

<displayName culture="<culture>" value="<localized string>" />
<displayName culture="en-US" value="Search our site" />
<displayName culture="ja" value="??????????" />

The code in this step has been updated to the following:

<displayName culture="<culture>" value="<not-localized string>" />
<displayName culture="en-US" value="Search our site" />
<displayName culture="ja" value="Search our site" />

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about Microsoft Solution for Internet Business 2.5, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:3/29/2005
Keywords:kbBug kbtshoot kbprb KB884629 kbAudDeveloper kbAudITPRO