Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi my friends.
i write my first project in vb.net. and my database is sql server that it,s version is sql server management studio 2008.
now i want instal my program in other system but i do not want instal sql server in that system.
what is best solution for my problem?????
(i repeat , the version of sql is sql server management studio 2008.)
Posted

Firstly, "SQL Server Management Studio 2008" are the managment tools for managing SQL servers not the server version itself.

Based on that I am assuming that you are using a SQL 2008 server.

So, based on that and the following assumption:
The SQL server can be accessed from other machines on your network.

Then yes, aslong as you install your software onto a machine on the same network and the connection string does not assume a "local" instance, then it most likely can be installed on any machine.

However, if you are installing it on a different network, then you will need the SQL server set up somewhere on the network and that machine must be able to access it. You will also need to update the connection string as appropriate.
 
Share this answer
 
If you are using Sql Server in your app, then there must be an Sql Server installation within reach of your application when it runs: that doesn't mean it must be on the same machine - that is generally a poor idea with release software for a variety of reasons - but it must be available, which normally means on the same LAN. This can be Sql Server Express or the full retail version.

If you are only using the database for single user storage, then SQLCE or SQLite are very appropriate and do not require any SQL server installation - in fact they just need a couple of assemblies which should be loaded as part of your deployment anyway. These would require changes to your code (but probably not major changes) and provided you don't want to share the DB data, they are both an excellent way to do it.

Reference to c# application without installing MS-SQL Server in client machine[^]
 
Share this answer
 
v2
Comments
Mohammad Hasanpoor 21-Aug-14 7:31am    
if i use sql express and make my database in that , it is better or no?
if it,s good , what should i do with sql express?
i mean what should i do for connecion between my program and sql express?
thanks
Thanks7872 21-Aug-14 10:07am    
Directly copied from : http://www.codeproject.com/Answers/599937/c-plusapplicationpluswithoutplusinstallingplusMS#answer1

You should include it as reference in your solution.

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