Jijith
Jijith

Reputation: 55

Installing C# Windows Form Application with Database on another system

I have developed a winform application in C#.net and using SQL Server 2008.
My application inserts and updates values into database. Is it possible to install the application on a another system which doesn't have sql server on it?

Upvotes: 1

Views: 1236

Answers (3)

scottsanpedro
scottsanpedro

Reputation: 1192

Imagine using sql azure. Cloud based sql server. The database is never on the same physically computer. It's all down to the connection string. With an on premise database you need to make sure the database allows external connections, maybe opening up firewall etc. then make sure the connection string is set correctly on the application to talk to external database. You can even configure to change the connection string as required pointing at different databases depending on the individual requirements. Scott

Upvotes: 1

Derek
Derek

Reputation: 8630

It is possible, if you are looking to run the application on machine that is running on the same Domain as the SQL Server and has privileges to the SQL Server.

Upvotes: 0

Suresh Sagi
Suresh Sagi

Reputation: 11

Yes, you can. You can access the DB remotely by referring remote DB server in connection string.

Upvotes: 0

Related Questions