Help: ACCESS database issue

Discussion in 'Databases' started by KevinXu, Dec 2, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. My database was put in the directory "_databse", and I created a DSN named "books", the connection string is

    Set dbc=Server.CreateObject("ADODB.Connection")
    dbc.open "DSN=books;UID=name;PWD=123;Database=dataname"
    ------------
    The error information is:





    Microsoft OLE DB Provider for ODBC Drivers error '80004005'


    [Microsoft][ODBC Microsoft Access Driver] Selected collating sequence not supported by the operating system.


    /navigator.asp, line 25
    ------------
    The line 25 is :
    23 Sql="..."
    24set rs=server.CreateObject ("ADODB.Recordset")
    25 rs.open sql,dbc,1,2


    What is wrong with it? Help!


    Thank you very much.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Is your db file created with a non-english version of MS Access?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. some more information can be found at http://support.microsoft.com/default.aspx?scid=KB;en-us;q202150.


    You receive a "Selected Collating Sequence Not Supported" error message in Access 2000




    Article ID
    :
    202150

    Last Review
    :
    August 6, 2004

    Revision
    :
    1.0
    This article was previously published under Q202150

    For a Microsoft Access 97 version of this article, see 184988. Novice: Requires knowledge of the user interface on single-user computers.

    This article applies only to a Microsoft Access database (.mdb).



    On this Page



    [​IMG]
    SYMPTOMS

    [​IMG]
    CAUSE

    [​IMG]
    RESOLUTION

    <A name=kb1>SYMPTOMS</A>
    When you try to open a database or an object in a database (such as a table or a form), or when you try to compact a database, you may receive one of the following error messages:
    Selected collating sequence not supported by the operating system.
    -or-
    Invalid collating sequence.
    -or-
    Unrecognized database format '<pathname>\<filename>'.
    <A name=kb2>CAUSE</A>
    One of the following conditions is true:



    ?
    You are trying to open a database or an object in a database that was created in another language edition of Microsoft Access.

    ?
    You are trying to open a database that was created or compacted while the New Database Sort Order was set to a value other than General. To check the setting of the New Database Sort Order, follow these steps:




    1.
    Open an existing database that was not created or compacted while the Sort Order was set to a value other than General. For example, open the sample database Northwind.mdb.

    2.
    On the Tools menu, click Options, and then click the General tab.

    3.
    Make sure that the New Database Sort Order is set to General and then click OK.

    If you are receiving the errors described in the "Symptoms" section, setting the New Database Sort Order back to General does not resolve the problem; however, it prevents the problem from occurring with new databases.
    <A name=kb3>RESOLUTION</A>
    Install or enable multilanguage support for your operating system.

    NOTE: Even if you install multilanguage support, you cannot open a database if it requires a code page that is not supported by your operating system. If the database was created in a language that uses a type of character set supported by your operating system, you can open the database after you have enabled support for multiple languages.

    To install multilanguage support in Windows 95/98 or Windows NT, please follow the steps in one of the following articles in the Microsoft Knowledge Base.

    NOTE: This feature is included in the CD-ROM version of Windows 95, but not in the floppy disk version. If you are using the floppy disk version of Windows 95 and you want to enable multilanguage support, please see the following article in the Microsoft Knowledge Base:
    135315 CD-ROM Extras for Microsoft Windows 95 Upgrade
    141306 How to Enable Support for Multiple Languages in Windows
    177561 HOWTO: Add and Enable Additional Languages in Windows NT

    --
    Steurm
    www.steurm.net/steurm
    [​IMG]
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page