runtime: Test failure: System.Data.SqlClient.Tests.SqlConnectionBasicTests/IntegratedAuthConnectionTest
Opened on behalf of @danmosemsft
The test System.Data.SqlClient.Tests.SqlConnectionBasicTests/IntegratedAuthConnectionTest has failed.
System.DllNotFoundException : Unable to load DLL ‘sni.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Stack Trace:
at System.Data.SqlClient.SNINativeMethodWrapper.UnmanagedIsTokenRestricted(IntPtr token, Boolean& isRestricted)
at System.Data.Win32NativeMethods.IsTokenRestrictedWrapper(IntPtr token)
at System.Data.ProviderBase.DbConnectionPoolIdentity.GetCurrent()
at System.Data.ProviderBase.DbConnectionPoolGroup.GetConnectionPool(DbConnectionFactory connectionFactory)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.SqlClient.Tests.SqlConnectionBasicTests.IntegratedAuthConnectionTest()
Build : Master - 20170627.01 (UWP F5 Tests) Failing configurations:
- Windows.10.Arm64-arm
- Release
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (24 by maintainers)
No. The tests were disabled. Please leave it as is.
Thanks @joperezr I can repro this now. These steps were way simpler.