+ Reply to Thread
Results 1 to 3 of 3

OLE DB or ODBC error

  1. #1
    Forum Contributor
    Join Date
    07-16-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2013
    Posts
    176

    OLE DB or ODBC error

    Ladies and Gents,

    I'm having quite an interesting issue here. I build an excel workbook that uses power-pivot to query data from several flat files. It works like magic, except there's a gremlin I can't seem to find. It works fine on for all users except one.

    Here's the strange part, when he do a refresh all, he gets an error. However, if he opens power-pivot and refresh, it works normally.

    The error message is: OLE DB or ODBC error: The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write it's data.; 3051.

    I am able to replicated the issue on my pc at a different angle. The refresh all function works fine for me, but if I open up the workbook connections tab and do a refresh there, I would get the same error.

    I should mentioned that no one else have the workbook open, and even if they do it should work normally.

    Thanks for reading.
    Last edited by igoodable; 01-15-2016 at 05:13 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: OLE DB or ODBC error

    If the problem only happens at this user's PC, swap out the PC and try again.
    From what you say, the problem will disappear.

  3. #3
    Forum Contributor
    Join Date
    07-16-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2013
    Posts
    176

    Re: OLE DB or ODBC error

    I still have not find a fix for this issue, however, I found a strange work around. All I do is minimize excel and maximize it, problem solve.

+ 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. [SOLVED] Run-time error '1004': General ODBC Error
    By mbhc77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2012, 01:12 PM
  2. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  3. runtime error 1004 general odbc error
    By habj04ae in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-24-2012, 05:59 AM
  4. ODBC error
    By maverick1714 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2010, 07:06 AM
  5. Runtime error '1004' General ODBC error
    By star_lucas in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-03-2008, 05:10 PM
  6. Run-time error 1004 - General ODBC Error
    By Linda in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-05-2006, 11:35 AM
  7. Run time error 1004, General ODBC error
    By [email protected] in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 09-18-2005, 09:05 PM
  8. [SOLVED] Run time error '1004': Generaol ODBC error
    By Dwaine Horton in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2005, 10:06 AM

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