Results 1 to 2 of 2

Thread: [RESOLVED] Invalid path error

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2011
    Location
    Oregon City, Oregon
    Posts
    705

    Resolved [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?

  2. #2
    Fanatic Member
    Join Date
    Jan 2006
    Posts
    557

    Re: Invalid path error

    Quote Originally Posted by gwboolean View Post

    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
  •  



Click Here to Expand Forum to Full Width