Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to deploy c# application with access database.
i published my application but database connection problem. my database in
F:drive.
Posted
Comments
Zoltán Zörgő 2-Jan-13 9:14am    
And what is your connection string?
Muhamad Faizan Khan 16-Jan-13 23:39pm    
i have changed my connection string and now it is
string conStr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=QuranDBdetails.accdb";
this is.;-)
Zoltán Zörgő 17-Jan-13 2:31am    
And what is the error message you get?
Muhamad Faizan Khan 17-Jan-13 2:40am    
adding by above string now my deployed application working;-)
is this enought?
Zoltán Zörgő 17-Jan-13 4:53am    
Than it is solved?

you can't put your database on the f drive. Most people don't have one. Put it in the app data area, and build your connection string to point there.
 
Share this answer
 
codeproject search-deploying C# application with database[^]

Also follow this:
Christian Graus
you can't put your database on the f drive. Most people don't have one. Put it in the app data area, and build your connection string to point there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900