Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have a application that uses a Sql database to store and retrieve the data it is working fine in my computer but unfortunately when i deploy the .mdf file of database with my application and install it on other computer it is not working the SQL database is not installed in other machine i do not want to install SQL server management utility on other computer if any one help me to do this it will solve a great problem for me......
Posted

1 solution

You can't use an SQL database on a computer unless it has access (via the LAN perhaps) to an instance of SQL Server - because SQL server is there to insulate your program from the database file itself and allow it to be used in a multiuser environment. Any installation of SQL server will include SSMS - it has to.

So you basically have two options.
1) Install SQL server on the PC you are targetting, or on a PC on the same network segment and use that (unless such an installation already exists)
2) Change your application to use a single user database system such as SQLCE, or SQLite or even (if you must) Access - none of which will require SQL server or SSMS to be installed anywhere. You will have problems if you try to use your database for multiple users however.
 
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