I’m trying to create a data source for my local sql server using the server name (local). But I keep getting the following error
Connection verification failed for data source: sqlserver
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Unknown host: (local)
The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Unknown host: (local)
On the reporting services I’m using (local) as the server name and it is working fine,
Ted
Have you enabled external TCP connections on your sql server?
Try using
localhostinstead oflocal. (or add127.0.0.1 localto your hosts file)