You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SqlClientEventSource.Log.TrySNITraceEvent(nameof(LocalDB),EventType.ERR,"Unsuccessful 'LocalDBStartInstance' method call with {0} result to start '{1}' localDb instance",args0:result,args1:localDbInstance);
Assert.Contains("A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 41 - Cannot open a Shared Memory connection to a remote SQL server)",ex.Message);
138
+
}
139
+
140
+
[SkipOnTargetFramework(TargetFrameworkMonikers.Uap)]// No Registry support on UAP
Assert.Contains("A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)",ex.Message);
151
+
}
152
+
153
+
[SkipOnTargetFramework(TargetFrameworkMonikers.Uap)]// No Registry support on UAP
Assert.Contains("A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred.",ex.Message);
161
+
if(IsNativeSNI())
162
+
{
163
+
Assert.Contains("The specified LocalDB instance does not exist.",ex.Message);
0 commit comments