Samuel Matos

Samuel Matos

  • NA
  • 1
  • 2.5k

ODBC Error Office 2013 Windows 8 64 bits

May 15 2013 7:33 AM
I am developing an C# .Net application that uses an odbc driver to make queries into an excel sheet. That application had been working for several years now. Recently a problem occured when i tryed to install that app on a 64 bits Windows 8 pc with 32 bits Excel 2013. On Visual studio Build Properties of my app the platorm target is x86. On the machine is instaled the Access DB Engine 2010 and also the Service pack 1 both for 32 bits. At runtime the the error is the following:

ERROR [HY000] [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and then open it again.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Excel Driver] Your network access was interrupted. 

I have already tried to change the platform target to x64 and install the x64 driver and respective sp1.

Using that configuracion the error is:

ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0xf04 Thread 0x13cc DBC 0xbf089b8                                                            Excel'.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0xf04 Thread 0x13cc DBC 0xbf089b8                                                            Excel'.
ERROR [HY000] [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and then open it again.
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0xf04 Thread 0x13cc DBC 0xbf089b8                                                            Excel'.
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0xf04 Thread 0x13cc DBC 0xbf089b8                                                            Excel'.
ERROR [HY000] [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and then open it again.

I am facing that problem for several weeks now and can't find a solucion. Anyone with a similar issue may help me? Thanks in advance.