Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
i have developed an windows stand alone application in C#,and also add an .mdb file for database .
when i deploy my application to another system it is not working, it showing database error.
kindly any1 help me by giving sample application .how to set configuration of database to deploy the application to work in any cpu.
Posted
Comments
tanweer 12-Oct-13 7:12am    
kindly post your connectionstring here, it will atleast tells us how you set the database path
Richard MacCutchan 12-Oct-13 9:11am    
Give the full and exact details ofd the error, we cannot guess what it is.
Bernhard Hiller 14-Oct-13 3:09am    
Just stumbled upon:
http://www.codeproject.com/Questions/666999/Csharp-application-not-working-in-another-system
Do you have two accounts on CP?

Hi Karthik,
Have you reference your database mdb files as source in your code? If yes Then please let me know exactly what you have done?
 
Share this answer
 
With that little information provided, just some guesses are possible:
- you did not deploy the database on the other system
- you placed the database file into the program folder of your program - and the user has no priviledges for writing into that folder
- you did not set up the OleDB drivers
- you did not care for 32bit/64bit issues and set up the wrong version of the OleDB drivers
and many more possibilities...
 
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