|
-
Feb 3rd, 2015, 01:14 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Invalid path error
I have setup an access database dataset connected to a visual basic project. Using the data source view I dragged and dropped a field from the table into a Windows form, which creates a binding navigator, table adapter, etc. When I run the program I get the following error:
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll
with the following additional information
Additional information: 'F:\Computer Science\VBA\BuckyTutorials\UrbanGarden\bin\Debug\DataBase
The actual location of the database is F:\Computer Science\vba\buckytutorials\urbangarden\database\
It is not located in the bin\debug folders. Just to make sure I put a copy of the database in the bin\debug folder and everything worked without error. If I took the database from it's original location I would get another error telling me that the database was gone (more or less).
What I would like to do is find where and why the program is looking in the wrong path and delete the wrong portions from it. However, I am not wedded to that, but I would like to know why it wants the database to reside there.
Has anyone else run across this problem?
-
Feb 3rd, 2015, 01:48 AM
#2
Re: Invalid path error
 Originally Posted by gwboolean
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll
with the following additional information
Additional information: 'F:\Computer Science\VBA\BuckyTutorials\UrbanGarden\bin\Debug\DataBase
Has anyone else run across this problem?
In the VB6 forum.. not likely. Post your question in the VBA or .Net forum... this where debug happens for the most part (sorry could not resist)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|