« Previous Next »

Thread: Multiple-step OLE DB operation generated errors...

Last post 09-03-2008 9:32 AM by tomkmvp. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 08-31-2008, 4:08 AM

    Multiple-step OLE DB operation generated errors...

    Hi 

    Only have this problem since on XP SP3 - cant connect to SQLEXPRESS.  This all works on my machine with XP SP2 and SQLEXPRESS.

    The full error is:
    Provider (0x80040E21)
    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

    I have being surfing for 2 days looking for a solution and have tried every prosoped solution I could find on the web:
    1.  Re-install MDAC 2.8 with Windows 2000 compatibility (to ensure re-install)
    2.  Checked registery for OLE SERVICES values
    3.  Ran XP SP3 Hotfix that was supposed to resolve this

    I can login to SSIS with the username and password in my connection string and execute sqls.

    Connection string:
    "Provider=SQLOLEDB; Data Source=.\SQLEXPRESS; Initial Catalog=Certification;  Integrated Security=True; User ID=xxx; Password=xxx;"
    Using ADO connection:
    CreateObject("ADODB.Connection")

     Asp page fails on conn.open.

    HELP!!!

    Regards
    Mark

  • 09-02-2008, 2:34 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,187
    • IIS MVPs

    Re: Multiple-step OLE DB operation generated errors...

  • 09-03-2008, 4:17 AM In reply to

    Re: Multiple-step OLE DB operation generated errors...

    Yes.  My page fails before the actual sql is executed - fails when the connection is setup.

    If I change password then I get login FAILED so the database connection is almost working - but not.

  • 09-03-2008, 9:32 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,187
    • IIS MVPs

    Re: Multiple-step OLE DB operation generated errors...

    OK - you may get better support on this in a SQL Server forum ...
Page 1 of 1 (4 items)
Microsoft Communities