after publishing database not valid path error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fudge
    New Member
    • Aug 2008
    • 1

    after publishing database not valid path error

    hello,
    i am very new to publishing applications.ca n some one help me with it..as i am facing an error after publishing path not valid..i went through many sites and forum for and found many articles but it dint help me....

    my problem is that i am using vb.net application with access 2007 datbase....n the connection string is from local cmoputer...i did all datasource and things..but stil my connection still goes like this..c:\user\d ocuments\data1. accdb......so ven i publish and exc in other computer it gives an error not valid path....thing.. .i am very new to vb.net so pl<several 'z's removed>z can nyoone help me to solve the matter....step by step..thanx...
    Last edited by Curtis Rutland; Aug 9 '08, 10:20 PM. Reason: plzzzzzzzzzzzzzzzzzzz stop using plzzzzzzzzz.
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    Originally posted by fudge
    my problem is that i am using vb.net application with access 2007 database...
    Since you're using VB.Net for your front end, where you're having problems, and only using ACC2007 for the back end, I think this question really belongs in the Net forum. I'll move it their now.

    Welcome to Bytes!

    Linq ;0)>

    Comment

    • moudawi
      New Member
      • Dec 2009
      • 1

      #3
      maybe the same problem

      I publish my projet and after when i tri to run it , it show me a message Error !!! path not valid when it using connection with databese access but when i run it from the source rojet (from vb.net 2008) it work ok


      i don't know why this message?!!!! i'm bloked in this step because i can't know make a .exe from my projet

      someone tell me that is because the place of data base it should in the bin folder for the Application but the same problem because i don't use the "ApplicationPat h" in connection for database access
      i make it in C:\

      but allways the same problem
      thinks for attention !!! but i neeeeeeeeeeeeed a help ...

      Comment

      • sanjib65
        New Member
        • Nov 2009
        • 102

        #4
        Deployment Problem

        I think the main problem might happen to be the deployment. The .mdb file should be in your project bin folder.
        Connecting to an Access database requires a different connection object and connection string. Hope that part is being checked.
        Access uses something called OLEDB, so you need to create a database object of this type.
        You can check this link

        Comment

        Working...