|
-
May 23rd, 2014, 06:19 AM
#1
Thread Starter
Addicted Member
how to connect to desktop application in other computer?
i have developed desktop application that runs on local computer pc1. now i want to access it from other computers ( pc2 ,pc3,p4)connected in LAN network.
the database and software is installed in pc1 and working fine in there. now i want to install the software on pc2,pc3,pc4 so that i can access the data from pc1. how can i do that. i dont want to access using remote desktop,but i want to develop a client application that enables me to connect to pc1 or to the server.
my application is developed using ms sql 2008 and c#
thanks
-
May 23rd, 2014, 08:02 AM
#2
Re: how to connect to desktop application in other computer?
If it's SQL Server (there is no such thing as MS SQL) then it should be installed onto a SQL Server server... so that anyone can connect to it... then you just need to install the softwarde on the computers that will access it, and make sure the connection string is configured to point to the server... and that's it.
-tg
-
May 24th, 2014, 07:54 AM
#3
Thread Starter
Addicted Member
Re: how to connect to desktop application in other computer?
thanks TechGnome.
i am using C# and ms sql 2008 express.
my database connection in the local pc1 is =pc1\sqlexpress.
this works fine in pc1, but how do i make it to access from the other computer, should i install the software with connection string of
ipAddressOfPc1\sqlexpress
or any solutions?
thanks again
-
May 26th, 2014, 02:33 AM
#4
Addicted Member
Re: how to connect to desktop application in other computer?
You can access from other computer by their names or ips.
In SQL Server Configuration Manager enable TCP/IP or Named Pipes and start Sql Browser service to view sql server on pc1 from other computers.
Also you may need to allow sql port in firewall on pc1.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|