views:

171

answers:

1

If I create a .NET application that uses a small SQL Server database that I create, can I then give that application to other people to run on their PCs even if they're not running SQL Server?

If so, is there anything special I have to do in the way I create/distribute it? And are there any special requirements for the PC's it is installed on?

I'm using VisualStudio 2008 and SQL Server 2008.

Edited to add: using LINQ to SQL (so need to use SQL Server)

+4  A: 

You can use the free SQL Server 2008 Express Edition which is redistributable.

Mitch Wheat
Thanks. So do I install Express Edition on my dev pc (along with the full edition)? Or does the express edition just need to be installed on the PCs I distribute it to? And do I bundle it with my app or do I have them download it?
Abby Fichtner
@Abby Fichtner: For testing purposes, you would be better off connecting to the same edition of SQL Server as your taget production environment. SO, I would install express edition. Note, since this is a second install locally, it will be a named instance, so your connection string will need the full name of the named instance on your machine.
Mitch Wheat
Alright, and then I include the full blown 82MB (yikes) runtime in my application's installation?
Abby Fichtner
@Abby Fichtner: yup!
Mitch Wheat
Got it, thanks!
Abby Fichtner
How do you include the runtime in th applications installation?
cmaduro