PRB: Collating Sequence Error Opening ADODB Recordset the First Time Against an Excel XLS (246167)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP3
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP4
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP5
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q246167 SYMPTOMS
Opening an Microsoft Excel spreadsheet from within Visual Basic in Visual Studio 6.0 Service Pack 3 (or later) Integrated Development Environment (IDE) with the Excel/ODBC/ISAM driver generates the following run-time error:
Run time error '-2147467259 (80004005)' :
[Microsoft][ODBC Excel Driver]Selected collating sequence not supported by the operating system
This problem occurs every time that you run the code within the Visual Basic IDE. NOTE This error does not occur if the all the fields are selected in the SQL statement, for example:
SELECT * FROM ...
Also, this problem does not occur within a compiled EXE.
CAUSE
This is a problem within the Visual Basic IDE starting with service pack 3.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbDatabase kbIISAM kbprb KB246167 |
---|
|