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

Respected Dotnet developers and engineers specially deployment team members.....
Please let me know "How to successfully deploy the Winform application (developed using C# and SQL server, in Visual Studio 2012) to the Client's machine.

I have used install shield to generate setup, and it is working on my machine where I have developed that application, but when I am trying to run the app on another machine which has Dotnet framework 4.5 then it generates the problem with database.
Please help me in this regard.. so that I can deploy my app to my client.


Thanking you.

What I have tried:

"How to successfully deploy the Winform application (developed using C# and SQL server, in Visual Studio 2012) to the Client's machine?
Posted

1 solution

We can't really help there, as "it generates the problem with database." could mean anything.
But the most likely things to check are:
1) Does the client have an existing SQL Server installation?
2) Does the connection string you are using in your application correctly reference that installation?
3) Does the SQL Server installation have the database correctly added to it?
Start with the first one, and if they don't then get them to install it.
For the second, check how you store the string (it needs to be in a config file if it isn't already) and correct it for the specifics of the client SQL installation.
For the third, use the appropriate CREATE DATABASE statements to add the DB!

We can't do any of that for you - we have no access to your code, much less the client's network!
 
Share this answer
 
Comments
Muzammil Raza khan 8-Feb-16 5:59am    
Thanx...OG

please let me know either complete sql server is needed or a specific package or part of sql server is to be installed.

And Also when I am tryin to copy the dbname.ldf adn dbname.mdf files ....it shows a popup dailog that these files are in use somewhere..
how can I resolve this problem.
OriginalGriff 8-Feb-16 6:21am    
If you want to use SQL server, then the whole of SQL server needs to be installed.
As for your file names - why are you copying files? And where to? Look at the destination folder and see what's already in it!

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