我无法使用Delphi2010和dbGo连接到SQL Azure。哪里出了问题,该如何解决?
详细信息:
具有以下连接字符串的TADOConnection (登录信息已更改):
Provider=SQLNCLI10.1;Integrated Security="";Persist Security Info=False;User ID=me@tyasdgerj5;Initial Catalog=Northwind;Data Source=tcp:tyasdgerj5.database.windows.net;Initial File Name="";Server SPN=""
返回以下错误文本:
无法确定服务器名称。它必须显示为服务器dns名称(servername.database.windows.net)的第一段。有些库不发送服务器名称,在这种情况下,服务器名称必须包含在用户名(username@servername)中。此外,如果同时使用这两种格式,则服务器名称必须匹配。
请注意,SQL Server Management Studio连接没有问题。
https://stackoverflow.com/questions/3023408
复制