Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

iam developing windows application and my application developed by c# and sqlserver2005.
in my application it have crystal reports also.

now i created a setup and given to client.

The problem is the database is not working in client system and it is not showing crystal reports.
But the same exe working well in my system becuase my system have that database.
iam maintaing app.config file.


So what to do ? and wich modifications attach to my project?
what is the exact process for devedlop client application and maintain our database in other systems after insatall ?
i have one dought our sqlserver credentails are diferent and client system crexdentails are different So how user work with this exe?


give any examples and sugestions on this issue plz...
Posted
Updated 26-Sep-11 21:56pm
v2

1 solution

I don't think your implementation is a better one. Most of the custom software need some pre-request application installed before hand. In your case client needs to install SQL server in order to use your application. Do you really think that clients really like to do that, if they really not using SQL date to date work. Those decisions you have to take at the begining. You may use MS Access or something that most of the clients are using.

However, looking at your question, my solution is check that SQL is already installed in the system. If not simply notify to the user and abort the installation. If SQL is already installed then what you have to do is make your own profile with the database and use it with your application. Since you are using app.config file you can manage it easily.
 
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