-
Notifications
You must be signed in to change notification settings - Fork 46
Test a Connection via a UDL File
A UDL file (Universal Data Link) allows you to test connectivity to any backend database independent of a full application. For connectivity to SQL Server, it may be useful to identify SQL Browser issues, disabled communication protocols on the server, or a firewall/antivirus blocking access to a port. Saving a UDL file generates a well-formed connection string, which the customer can compare to his application’s connection string.
No external components are required. It is a feature of the OLE DB infrastructure in Windows.
To create a UDL file, right click in any folder, select 'New', and then 'Text document'. Rename the document to the desired name, and change the file extension to .UDL; for example, TEST.UDL. As soon as you rename it, the text file icon should change to the UDL icon.
Note: Be sure the Windows Explorer setting Hide extensions for known file types is disabled or File Name Extensions is checked in Windows Explorer's View menu.