Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Consider the following scenario:

  • You create a non-English Microsoft Commerce Server 2009 website that uses the Search Results Web Part for Commerce Server.

  • The regional setting for the website is set to a language, and the operating system that hosts the website is set to another language. For example, you set a site variation for website to the zh-cn (Chinese) setting, and the operating system that hosts the website is set to an English language setting.

  • You use the SharePoint Commerce Services Configuration Wizard to deploy the website to a SharePoint server.

  • You use the Web Part to search for some non-English strings.

In this scenario, incomplete search results are returned.

Note If you use the SharePoint Core Search Web Part to search the website, the correct results may be returned.

Cause

This issue occurs because the language setting that is used to query the SharePoint site content is not same as the language setting that is used to index the crawl result.

The Search Results Web Part for Commerce Server uses the language setting from the site variation of the SharePoint website. However, SharePoint indexes the crawl results by using the language setting of the operating system.

Note The SharePoint Core Search Web Part uses the languages setting from the client browser. If the client browser language setting is same as the operating system that hosts SharePoint, you receive the correct search results.

Resolution

Hotfix information

Note This hotfix adds an option that lets you choose the query language when you perform SharePoint content searches. This option can be set to the language setting of the browser or to a specific language if the hosted website uses a different language that is set in a site variation on the hosting server. By default, SharePoint still uses the language setting from the site variation for the SharePoint website.

A supported hotfix is 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 the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Commerce Server 2009 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix. However, you must restart Internet Information Services (IIS) after you apply this hotfix.

To restart IIS, type the following command at a command prompt, and then press ENTER:

IISRESET /RESTART
Note This command stops and then restarts all IIS services that are running on a computer.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Installation steps

If you use Microsoft Commerce Server 2009 together with SharePoint Server 2010, download and install the hotfix package that has the "CS2009TP_KB2618435" label. If you use Microsoft Commerce Server 2009 RTM together with SharePoint Server 2007, download and install the hotfix package that has the "CS2009RTM_KB2618435" label. These two hotfix packages contain the following files:

  • The "CS2009RTM_KB2618435" hotfix package contains the following files:

    • CS2009-KB2618435-x86.exe

    • Hotfix.txt

    • Source.zip

  • The "CS2009TP_KB2618435" hotfix package contains the following files:

    • CS2009TP-KB2618435-x86.exe

    • Hotfix.txt

    • Source.zip

Notes

  • The installation file that you have to install depends on the version of SharePoint that is installed on the computer that is running Commerce Server.

  • You must use the local administrator account to install this hotfix, or you must run the hotfix by using the Run as Administrator command. If the computer is running Windows Vista, Windows Server 2008, or a later operating system, and if User Account Control (UAC) is enabled, we recommend that you use the Run as Administrator command.

After you run the installation file, use the method described for one of the following computer configurations to resolve the issue:

  • Configuration 1
    If no sites are deployed, run the SharePoint Commerce Services Configuration Wizard to deploy the new site by using the updated MicrosoftCommerceWebParts.WSP solution file.

  • Configuration 2
    If some sites are deployed, run the following stsadm command to deploy the updated Web solution package (WSP) file:

    stsadm -o upgradesolution -name microsoftcommercewebparts.wsp -filename MicrosoftCommerceWebParts.WSP -immediate -allowgacdeployment

  • Configuration 3
    If Web Parts are customized by using the CommerceSharePointExtensibilityKit tool, follow these steps:

    1. Locate the updated source files in the source folder that is included in this hotfix package. The detailed file list for the Source.zip file is included in a table of the "File information" section.

    2. Use the updated file to replace the files that are in the CommerceSharePointExtensibilityKit folder, and then merge the changes to code.

    3. Compile the assemblies for the Web Parts.

    4. Deploy the new MicrosoftCommerceWebParts.WSP file.

After you install and configure the update, follow these steps to use the new property:

  1. Locate Search Results Web Part, click Edit, and then click Modify Shared Web Part.

  2. In the new Result Query Language list, select the values that are based on the development of the site.
    Notes

    • The default value of the list is automatically populated with the language settings of the site variations for the SharePoint website.

    • The Browser Locale setting is the language setting of the client browser settings. This setting uses a search method that is similar to the search method that is used by the SharePoint Core Search Web Part.

    • You can select a specific language for a single SharePoint instance that hosts multiple site variations that have different language settings.



File information

The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.

For Microsoft Commerce Server 2009 RTM



File name

File version

File size

Date

Time

Platform

Fl_microsoftcommercewebparts.wsp

Not applicable

701,588

22-Sep-2011

10:15

Not applicable

Microsoft.commerce.common.dll

1.0.20123.34

83,824

21-Sep-2011

22:12

x86

Microsoft.commerce.contracts.dll

1.0.20123.34

92,024

21-Sep-2011

22:12

x86

Microsoft.commerce.providers.dll

1.0.20123.34

690,040

21-Sep-2011

22:12

x86

Source.zip file for Microsoft Commerce Server 2009 RTM



File name

File size

Date

Time

Path

Searchcontroller.cs

16,727

21-Sep-2011

14:31

source\common\controllers

Crosssitescriptingencoder.cs

4,507

21-Sep-2011

14:31

source\sharepointcommon

Sharepointcommon.csproj

7,943

21-Sep-2011

14:31

source\sharepointcommon

Iquerylanguagewebpart.cs

849

21-Sep-2011

14:31

source\sharepointcommon\editorparts

Querylanguageeditorpart.cs

4,456

21-Sep-2011

14:31

source\sharepointcommon\editorparts

Searchresultspresenter.cs

35,897

21-Sep-2011

14:31

source\ui\search\presenters

Isearchresults.cs

5,851

21-Sep-2011

14:31

source\ui\search\views

Searchresultswebpart.cs

74,551

21-Sep-2011

14:31

source\ui\search\webparts\searchresults

Spsearchresultswebpart.cs

18,796

21-Sep-2011

14:31

source\ui\searchsharepoint\webparts\searchresults

Common.designer.cs

9,392

21-Sep-2011

14:31

source\wspdeployment\wspbuild\resources

Common.resx

9,113

21-Sep-2011

14:31

source\wspdeployment\wspbuild\resources

Searchresources.resx

35,440

02-Oct-2011

04:41

source\wspdeployment\wspbuild\resources



For Microsoft Commerce Server 2009 TP

File name

File version

File size

Date

Time

Platform

Fl_microsoftcommercewebparts.wsp

Not applicable

708,992

07-Nov-2011

21:46

Not applicable

Microsoft.commerce.common.dll

1.0.30611.17

83,824

07-Nov-2011

21:34

x86

Microsoft.commerce.contracts.dll

1.0.30611.17

92,024

07-Nov-2011

21:34

x86

Microsoft.commerce.providers.dll

1.0.30611.17

690,040

07-Nov-2011

21:34

x86

Source.zip file for Microsoft Commerce Server 2009 TP

File name

File size

Date

Time

Path

Searchcontroller.cs

16,727

16-Nov-2011

06:03

source\common\controllers

Sharepointcommon.csproj

9,286

16-Nov-2011

06:04

source\sharepointcommon

Iquerylanguagewebpart.cs

849

16-Nov-2011

06:04

source\sharepointcommon\editorparts

Querylanguageeditorpart.cs

4,456

16-Nov-2011

06:04

source\sharepointcommon\editorparts

Searchresultspresenter.cs

35,897

16-Nov-2011

06:05

source\ui\search\presenters

Isearchresults.cs

5,851

16-Nov-2011

06:05

source\ui\search\views

Searchresultswebpart.cs

74,551

16-Nov-2011

06:05

source\ui\search\webparts\searchresults

Common.designer.cs

10,180

16-Nov-2011

06:05

source\wspdeployment\wspbuild\resources

Common.resx

9,409

16-Nov-2011

06:05

source\wspdeployment\wspbuild\resources

Searchresources.resx

35,440

16-Nov-2011

06:05

source\wspdeployment\wspbuild\resources

Status

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

References

For more information about the Search Results Web Part, visit the following MSDN website:

General information about the Search Results Web PartFor more information about how configure the Search Core Results Web Part, visit the following Microsoft TechNet website:

How to configure the Search Core Results Web Part

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×