I've written on visual studio 2010 a windows service. I create all database on vs2010, where I've created a setup program for windows service to install it. My problem is I can not put my database to setup program, so that my windows service gives error on sql-database's. (At debug mode there are no problems, win. service works fine)
How can I fix this or what do I mi开发者_开发问答ss ?
You only have the right to redistribute SQL Server Express, see Distributing SQL Server Express. This is typically achieved by embeding the SQL Server Express install in the applicaiton distirbution Setup, see Embedding SQL Server Express into Custom Applications. For every other version of SQL Server the customer running your application must purchase a SQL Server license and install it, or configure your application to run with an existing instalation.
精彩评论