Non-US Locales Cause Index Server Queries to Not Work

This article was previously published under Q231930
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
When you run a search, Index Server may return the following error message:
Microsoft OLE DB Service Components error '80040e21'
Errors occurred


RESOLUTION

Windows NT Server or Workstation 4.0

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

Windows NT Server 4.0, Terminal Server Edition

To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack

WORKAROUND
To work around this problem, add a LCID (Locale Identifier) to the connection string.

For example:
cn.ConnectionString = "PROVIDER=msidxs;Locale Identifier=1033" //US Englishcn.ConnectionString = "PROVIDER=msidxs;Locale Identifier=1024" //Neutral				
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 first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.
MORE INFORMATION
This is only a problem when your locale in the Control Panel Regional Settings tool is set to a non-US setting (such as English (Australian)).

Also, this is a know problem in the OLE DB provider for Index Server, Msidxs.dll.
4.00 OLE DB MDAC ADO
Properties

Article ID: 231930 - Last Review: 02/21/2014 00:36:22 - Revision: 2.4

  • Microsoft Windows NT 4.0
  • Microsoft Windows NT 4.0 Service Pack 4
  • Microsoft Index Server 2.0
  • Microsoft Data Access Components 2.1
  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix kbqfe KB231930
Feedback