Click here to Skip to main content
11,926,908 members (50,795 online)
Rate this:
Please Sign up or sign in to vote.
I create the simple windows app and installed in a pc(server),then i want to find it by the clients in the local network how its possible.
Posted 15-Feb-13 1:22am
Edited 15-Feb-13 1:30am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If your client and server is on the same machine then you can connect to the localhost. If the MSSQL server up and runnig then you should be able to find it.

You would propably need a connection string:

Create a file in the desktop like test.txt. Rename in to test.udl open it an try to connect to the sql server. If it works then open the udl again with Notepad and grab the connection string.

Check if the sql server instance is up and running:

Star -> Programs -> Microsoft SQL Server -> Configuration Tools -> SQL Server Configuration Manager. You can check if the SQL
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You might be able to get a solution from: How to enum SQL Server instances in network[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 15 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100