Click here to Skip to main content
12,701,854 members (35,391 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
how to deploy c# application with access database.
i published my application but database connection problem. my database in
F:drive.
Posted 2-Jan-13 3:46am
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?
Muhamad Faizan Khan 17-Jan-13 8:40am
   
i think because problem is not occuring now
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100