Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I develped a C#.Net application. Now need to deploy it. How can i deploy the project along the database. It means to create an EXE file and that will be installed on the client machine. The client doesnt have sql server database. Without installing the sql server database on the client machine how can i make my application to run effectively on the client machine.
Posted

You really cannot do that. You have 2 options:

1) Have the database installed in a server machine, and the client connects to it.

2) Use an embedded database like SQLCE.
 
Share this answer
 
v2
Comments
thatraja 20-Apr-11 13:48pm    
Yes, Of course.
BTW 5!
Nish Nishant 20-Apr-11 13:49pm    
Thank you!
You're going to have to provide something, unless you have a remote server that the customer can access. If you use SQL Server Express, you can apply for redistribution rights: http://www.microsoft.com/sqlserver/2008/en/us/express/redistregister.aspx[^]

Another option to consider is SQLite: http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki[^], which is a lightweight code library implementation of a relational database. This would obviously require some refactoring of your code.
 
Share this answer
 

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