473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

after publishing database not valid path error

1
hello,
i am very new to publishing applications.can 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\documents\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...
Aug 9 '08 #1
3 3191
missinglinq
3,532 Expert 2GB
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)>
Aug 9 '08 #2
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 "ApplicationPath" in connection for database access
i make it in C:\

but allways the same problem
thinks for attention !!! but i neeeeeeeeeeeeed a help ...
Dec 2 '09 #3
sanjib65
102 100+
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

http://www.homeandlearn.co.uk/csharp/csharp_s12p4.html
Dec 3 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Matthew Ferri | last post by:
Hi, Summary: I'm a newbie to FrontPage and IIS. I have a simple issue that I believe may be a configuration setting somewhere. If there is a KB article, I just cannot find it.
5
by: Olaf Gschweng | last post by:
We're new into DB2 and have some problem with DB2 8.1 (?) on a Linux system. We load some big tables of a DB2 database from files every day. We do a "DELETE FROM table" for each table and then we...
2
by: mark | last post by:
Can't figure this one out. I appears to not be code related. After surfing my asp.net web app for a while 5 - 10 min. it fails to open any further connections to my access 2000 database. There...
3
by: COHENMARVIN | last post by:
I put the following code in my asp.net page: dbPath = MapPath("/FBDB/db1_newport2003.mdb") strConnect = "Provider=Microsoft.Jet.OLEDB.4.0;" strConnect = strConnect & "Data Source=" & dbpath & ";"...
3
by: Dave F. | last post by:
I am using ODBC to connect to dBase data on a remote server. The ASP.NET app will be running on Win 2k or 2003 server. I have tried to make it work but all I can get is an error. ...
3
by: John Phelan-Cummings | last post by:
I have a front-end application called, “inbusiness.mdb” and three back-ends databases called, “inbusinessClient_be.mdb”, “inbusinessFund_be.mdb”, and, “inbusiness_be”. I created three back-ends...
1
by: martigras911 | last post by:
Hi, The WorkOrder folder, which contains two Access files (Work Orders.mdb & Work OrdersEng.mdb) used to be resided in the F:\ server (F:\ACCESS\SHARE\ENG\Work Orders). These two files were...
1
by: Lawrence | last post by:
I have written a VB.NET 2005 program using a MS Access database and a Datagrid control. The program works fine locally as an exe but when I come to Publish it (using the Click Once method and...
7
by: Agos | last post by:
I developed my first web site using Visual studio 2005. It works very well with Visual Studio. But after I published the web site in a file system folder in my PC using the instructions I found in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.