2

I'm using Visual Studio for Mac 2017 on macOS Sierra with Microsoft EntityframeworkCore and I'm trying to connect to a remote MS SQL Server. If I start the project in Visual Studio on my Windows machine, everything works fine. But the same project on my Mac tells me "A call to SSPI failed" when I try to get data from the SQL Server. I can connect to the SQL Server using the "Oracle SQL Developer" tool on my Mac. So the issue is somewhere in Visual Studio.

The connection string: Server=MySQLServer.domain.de;Database=MyDatabase;User Id=sa;Password=***;

Any ideas? Thanks a lot.

4

1 回答 1

0

知道了。我必须将我的 MS SQL Server 2008 R2 SP1 更新到 Service Pack 3。否则 .Net Core 无法连接:https ://github.com/Microsoft/vscode-mssql/issues/666

于 2017-06-01T09:36:05.087 回答