Wednesday 3 August 2016

How to find out connection string issue


Data Link Properties Dialog Box

The Data Link Properties dialog box is the standard Windows system interface for configuring connection strings to data sources. This dialog box exposes all of the properties that the selected OLE DB provider supports. A link to the resulting data connection is displayed under the Data Connections node in the Server Explorer.
To access this dialog box in Visual Studio .NET, select Connect to Database from the Tools menu or click the Connect to Database icon in Server Explorer. You also can open this dialog box by double-clicking a universal data link (.udl) file in Windows Explorer, and in a variety of other ways, including programmatically.
To use it directly:
Just need to save a blank notepad with ".UDL" extension and double click to open it. There is a Connections table where you can set credentials and test your DB and save connection string as well.
To view connection open this UDL file in notepad.

1 comment:

  1. Nice article!!
    We normally use it but .UDL extension is totally new thing to learn.

    ReplyDelete