+ Reply to Thread
Results 1 to 23 of 23

Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested proper

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested proper

    please let me know i am stuck here

    Please Login or Register  to view this content.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Not enough information there - what's the connection string?
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    connection string

    strConn = "Provider=MSDASQL.1;Password=bmx1;Persist Security Info=True;User ID=root;Data Source=mysql32;Initial Catalog=wds"

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Try adding:
    Please Login or Register  to view this content.
    just before the rs.Open line

  5. #5
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    his still showing the same error

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Are you trying to connect to a MySQL database?

  7. #7
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    i am trying to update excel sheet data to mysql database tablename(tblprod_agr_006)

  8. #8
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Have you downloaded and installed a MySQL driver? If so, which one?

  9. #9
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    yes its ODBC Driver

  10. #10
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Which one? From where?

  11. #11
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    5.3 for mysql website

  12. #12
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    I suspect that your connection string should be more like:
    Please Login or Register  to view this content.
    You're currently using what looks like an MSSQL connection string

  13. #13
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Driver=MySQL ODBC 5.2 Unicode Driver;SERVER=192.168.1.200;UID=root;data source=mysql32;PWD=bmx1;DATABASE=wds;PORT=3306;Initial Catalog=wds

  14. #14
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Eh? Do I take it that you've got it working now then?

  15. #15
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    Run-time error '3265':

    item cannot be found in the collection corresponding to the requested name or ordinal.



    Please Login or Register  to view this content.

  16. #16
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    I think you mean:
    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    right rs(ActiveSheet.Cells(2, i).ID) = ActiveSheet.Cells(j, i)

  18. #18
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    What? Just posting random code doesn't really help here. What are you asking?

  19. #19
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    i am getting error there while executing the code

  20. #20
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    You haven't changed it to my suggestion:
    Please Login or Register  to view this content.

  21. #21
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    thanks for helping it showing successful update but it is still not changing the values in mysqldatabase to a particular table(tblprod_agr_006)


    Please Login or Register  to view this content.

  22. #22
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    I'd do it with building a SQL string and run multiple update statements. Try that and see if it works

  23. #23
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    ok........

  24. #24
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error:'-2147217887(80040e21)': ODBC driver does not support the requested pr

    now my program is working now but it is not updating last row why? let me know please

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ODBC Excel Driver error
    By Rick_Stanich in forum Excel General
    Replies: 3
    Last Post: 04-16-2012, 10:50 AM
  2. Microsoft ODBC Excel Driver : Numeric Field Overflow Error
    By jacksonmathews in forum Excel General
    Replies: 0
    Last Post: 07-06-2009, 04:33 AM
  3. Runtime error '-2147217887(80040e21)'
    By akabraha in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2007, 07:40 PM
  4. Replies: 0
    Last Post: 07-06-2005, 02:05 PM
  5. [SOLVED] Error processing the dimension '[Microsoft][ODBC dBase Driver] To.
    By Catalin in forum Excel General
    Replies: 0
    Last Post: 04-22-2005, 01:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1