LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDL failed to connect to SQL server

I have been using UDL as the means to connect to SQL server in Windows XP. But after upgraded to Window 7, UDL cannot connect any more. I still can connect to SQL database through the means of ODBC.

Database UDL error.png

 

UDL itself connects successfully. I know it is something about Windows 7. What is exactly the problem here?

 

UDL connection succeeded.png

0 Kudos
Message 1 of 3
(4,790 Views)

Where is the SQL Server?  I assume its on a remote machine?

 

Did you try using an IP address instead of host name?

 

In your UDL, you you are using Windows Authentication.  Did you happen to install the SQL Server in mixed mode?  If so, you could try specifying a known username/password instead of using Windows Authentication.

 

Turn off your firewall to see if that is the problem.

http://www.medicollector.com
0 Kudos
Message 2 of 3
(4,776 Views)

It could be the firewall. I tried on another PC with windows 7. UDL connection works fine with firewall shut off. 

 

Thanks for the help.

0 Kudos
Message 3 of 3
(4,714 Views)