Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am a student working on a pet project to improve on win forms, c# and MSSQL.

The idea for the application is for an instance of SQL Server Express to be hosted on a Windows Server 2008 machine with clients installing the application on their machines and being able to update the database hosted on the server using it.

Now, I've worked on it on my machine thus far using VS 2008 and SQL Express, it works fine and would now like to deploy the database on the server. But I lack the experience to do so as previous projects I've worked on in the past had local DB copies bundles with the install file.

Now what remains is to;
a)Create/transfer the locally stored instance of the SQL Server(Express) from my local machine to the server.

b)Give client machines the ability to access the db via the recommended connection i.e LAN or remote connection using the windows forms application I have built.

Can someone please give pointers on how to achieve this or give links to articles which adequately cover the subject matter?

Thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 6-Oct-14 16:02pm    
How a SQL server can be tied to "Winforms Application"? This is your application which can be "tied" to the server.
—SA

1 solution

Well, deployment of SQL Server or SQL Server Express is possible. You can even embed SQL Server Express in your application:
http://social.technet.microsoft.com/wiki/contents/articles/940.how-to-embed-sql-server-express-in-an-application.aspx[^],
http://technet.microsoft.com/en-us/library/bb264562%28v=sql.90%29.aspx[^],
http://msdn.microsoft.com/en-us/library/aa983326%28v=vs.90%29.aspx[^].

However, in most cases, more viable solution would be just claiming a database server product, or a set of compatible products of certain compatible versions, as the prerequisite. It can suite more users. Some users can have their own license for some compatible commercial version. They would probably (and reasonably) prefer reusing it, instead of adding some redundant software.

—SA
 
Share this answer
 
v2

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