The whole magic revolves around a simple trick we do UDL(Universal Data Link) test to check connectivity
from a Windows server to a SQL server instance and this is not specific to any version of SQL server.
Steps to Follow
Creating UDL file
Steps to Follow
Creating UDL file
- Create a new text file by right clicking on desktop point to New in the popup and then click Text Document. (New Text Document.txt).
- If file extension is not being shown then open windows explorer, and on the Tools menu click Folder Options. On the View tab, clear the Hide file extensions for known file types check box and then click OK.
- Now just Rename that file and then change the name and extension of the file to: xyz.udl
- A warning might appear just click YES.
- Simply open (xyz.udl) file This opens the Data Link Properties dialog box. You are now ready to connect to your data source.
- Select the Provider tab.
- In list of OLE DB Providers select Microsoft OLE DB for SQL Server.
- Select Connection tab.
- Enter the SQL server’s Host name in the first box. E.g. TOXIC-PC\SQL2008R2
- Under Enter information to log on to the server’ select one of the radio buttons...
- Use Windows NT Integrated security if the SQL server uses Windows authentication
- User a specific user name and password if the SQL server uses SQL authentication.
- Select the database on the server click on the drop down list to view the databases that are available.
- Select the required database and click the Test Connection button, a messages appears Test connection succeeded.
- If you want to save the password click OK to close the Data Link Properties window and save the connection settings with unencrypted password.
No comments:
Post a Comment