Author Topic: VS 2010 OleDb and Jet question  (Read 1329 times)

0 Members and 1 Guest are viewing this topic.

MexicanCustard

  • Swamp Rat
  • Posts: 705
VS 2010 OleDb and Jet question
« on: March 02, 2012, 09:03:36 AM »
I've got a .NET program thats getting data from an existing Paradox database via OleDb and Microsoft.Jet 4.0.  Which BTW is a horrible way to store data compared to today's relational databases and makes no sense why anyone would continue to use in todays software. Anyway, when I run the program in VS2010 debugger mode the application performs as expected but when I run the application (.exe) outside of VS2010 I get a database access exception.  Any thoughts as to whats going on here?

The database is located on a network drive so I moved it to my local drive and still the same problem.
Revit 2019, AMEP 2019 64bit Win 10

vegbruiser

  • Guest
Re: VS 2010 OleDb and Jet question
« Reply #1 on: March 02, 2012, 09:15:28 AM »
Perhaps VS is using different credentials to access the database that the .exe file isn't setup for?

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: VS 2010 OleDb and Jet question
« Reply #2 on: March 02, 2012, 09:28:03 AM »
Alex thanks for replying.  All I had to do was run my app as Administrator and everything worked. Don't know why I didn't think of that yesterday.
Revit 2019, AMEP 2019 64bit Win 10