I'm trying to grasp the concept of creating a program that uses a SQL Server database, but I'm used

Posted by Sergio Tapia on Stack Overflow See other posts from Stack Overflow or by Sergio Tapia
Published on 2010-04-26T01:22:01Z Indexed on 2010/04/26 5:03 UTC
Read the original article Hit count: 274

Filed under:
|
|
|

How can I make a program use a SQL Server database, and have that program work on whatever computer it's installed on.

If you've been following my string of questions today, you'd know that I'm making an open source and free Help Desk suite for small and medium businesses.

  1. The client application. The client application is a Windows Forms app. On installation and first launch on every client machine, it'll ask for the address of the main Help Desk server.

  2. The server. Here I plan to handle all incoming help requests, show them to the IT guys, and provide WCF services for the Client application to consume.

My dilemma lies in that, I know how to make the program run on my local machine; but I'm really stumped on how to make this work for everyone who wants to download and install the server bit on their Windows Server.

Would I have to make an SQL Script and have it run on the MS SQL server when a user wants to install the 'server' application?

Many thanks to all for your valuable time and effort to teach me. It's really really appreciated. :)

Edit: To clarify, each business will have their server completely separate from me. I will have no access whatsoever to them nor will they be in any way connected to me. (I don't know why I should clarify this :P )

So, assuming the have ABSOLUTELY NO DATABASE SERVER installed; what can I do?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql