Connecting to MS SQL Server 2005 with 6.6.1 beta
Posted: 15.06.2007, 13:50
Hi,
after installing Zeos 6.6.1 with Delphi7 and WinXP, I tried in vain to connect at design time to a local MS SQL Server 2005.
Before that, I had successfully connected to the same MS server using Zeos 6.5.1, "ado" protocol and a connection string in the "database" property naming the Provider and ODBC data source. So far, so good. Now I wanted it the direct way :-) After selecting "mssql" protocol and deleting the connection string from the database property in favor of a mere database name ("master"), I got the error that ntwdblib.dll was missing (it's nowhere in the Zeos distribution, is it?). After downloading it from somewhere else, copying it into my app dir, getting the same error still, then copying it into Windows\System32, Zeos seemed to find it.
However, that doesn't mean I am connected. The current error message is
---------------------------
Unable to connect: SQL Server is unavailable or does not exist. Unable to connect: SQL Server does not exist or network access denied. ConnectionOpen (Connect()).
---------------------------
Obviously, Zeos is missing something to detect the running Server service. But what?
Regards,
ste_ba
after installing Zeos 6.6.1 with Delphi7 and WinXP, I tried in vain to connect at design time to a local MS SQL Server 2005.
Before that, I had successfully connected to the same MS server using Zeos 6.5.1, "ado" protocol and a connection string in the "database" property naming the Provider and ODBC data source. So far, so good. Now I wanted it the direct way :-) After selecting "mssql" protocol and deleting the connection string from the database property in favor of a mere database name ("master"), I got the error that ntwdblib.dll was missing (it's nowhere in the Zeos distribution, is it?). After downloading it from somewhere else, copying it into my app dir, getting the same error still, then copying it into Windows\System32, Zeos seemed to find it.
However, that doesn't mean I am connected. The current error message is
---------------------------
Unable to connect: SQL Server is unavailable or does not exist. Unable to connect: SQL Server does not exist or network access denied. ConnectionOpen (Connect()).
---------------------------
Obviously, Zeos is missing something to detect the running Server service. But what?
Regards,
ste_ba