Recently used unity writing games need to use SQL server to store online database method can't use a lot of time vs will not complain but unity has been an error sqlexception: snix_login (provider: sni_pn7, error: 0 - successful completion of the operation,) the abnormal problem for a long time did not address the same steps in unity2018 others' success,
Problem is determined by the debug here:
It's abnormal information:
SqlException: Snix_Login (provider: SNI_PN7, error: 0 - successful completion of the operation,
)
Snix_Login (provider: SNI_PN7, error: 0 - successful completion of the operation,
)
System. The Data. SqlClient. SqlInternalConnectionTds.. Ctor (System. Data. ProviderBase. DbConnectionPoolIdentity identity, System. The Data. SqlClient. SqlConnectionString connectionOptions, System. The Object providerInfo, System. Boolean redirectedUserInstance, System. The Data. SqlClient. SqlConnectionString userConnectionOptions, System. The Data. SqlClient. SessionData reconnectSessionData, System. Boolean applyTransientFaultHandling) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. The Data. SqlClient. SqlConnectionFactory. The CreateConnection (System.Data.Com mon. DbConnectionOptions options, mon. System.Data.Com DbConnectionPoolKey poolKey, System. The Object poolGroupProviderInfo, System. Data. ProviderBase. DbConnectionPool pool, mon. System.Data.Com DbConnection owningConnection, mon. System.Data.Com DbConnectionOptions userOptions) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionFactory. CreatePooledConnection (System) Data. ProviderBase. DbConnectionPool pool, mon. System.Data.Com DbConnection owningObject, mon. System.Data.Com DbConnectionOptions options, mon. System.Data.Com DbConnectionPoolKey poolKey, mon. System.Data.Com DbConnectionOptions userOptions) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionPool. CreateObject (System.Data.Com mon. DbConnection owningObject, mon. System.Data.Com DbConnectionOptions userOptions, System. Data. ProviderBase. DbConnectionInternal oldConnection) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionPool. UserCreateRequest (System.Data.Com mon. DbConnection owningObject, mon. System.Data.Com DbConnectionOptions userOptions, System. Data. ProviderBase. DbConnectionInternal oldConnection) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionPool. TryGetConnection (System.Data.Com mon. DbConnection owningObject, System. UInt32 waitForMultipleObjectsTimeout, System. Boolean allowCreate, System. Boolean onlyOneCheckConnection, mon. System.Data.Com DbConnectionOptions userOptions, System. Data. ProviderBase. DbConnectionInternal& Connection) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionPool. TryGetConnection (System.Data.Com mon. DbConnection owningObject, System. Threading. Tasks. TaskCompletionSource ` 1 TResult retry, mon. System.Data.Com DbConnectionOptions userOptions, System. Data. ProviderBase. DbConnectionInternal& Connection) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionFactory. TryGetConnection (System.Data.Com mon. DbConnection owningConnection, System. Threading. Tasks. TaskCompletionSource ` 1 TResult retry, mon. System.Data.Com DbConnectionOptions userOptions, System. Data. ProviderBase. DbConnectionInternal oldConnection, System. Data. ProviderBase. DbConnectionInternal& Connection) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionInternal. TryOpenConnectionInternal (System.Data.Com mon. DbConnection outerConnection, System. Data. ProviderBase. DbConnectionFactory connectionFactory, System. Threading. Tasks. TaskCompletionSource ` 1 TResult retry, mon. System.Data.Com DbConnectionOptions userOptions) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. Data. ProviderBase. DbConnectionClosed. TryOpenConnection (System.Data.Com mon. DbConnection outerConnection, System. Data. ProviderBase. DbConnectionFactory connectionFactory, System. Threading. Tasks. TaskCompletionSource ` 1 TResult retry, mon. System.Data.Com DbConnectionOptions userOptions) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. The Data. SqlClient. SqlConnection. TryOpen (System. The Threading. Tasks. TaskCompletionSource ` 1 [TResult] retry) (at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
System. The Data. SqlClient. SqlConnection. The Open (), the at & lt; 290425 a50ff84a639f8c060e2d4530f6 & gt; : 0)
DB. Cx_1 (System. String CMDSTR) (at & lt; 2 ea8a209a9d24ec8a7f237e72f6ba797 & gt; : 0)
The login. The login () (26) at Assets/login. Cs:
UnityEngine. Events. InvokableCall. Invoke () (at & lt; 9 ab4ea689a4f4e68aced38ff0340a79f & gt; : 0)
UnityEngine. Events. UnityEvent. Invoke () (at & lt; 9 ab4ea689a4f4e68aced38ff0340a79f & gt; : 0)
UnityEngine. UI. Button. Press the () (at E:/unity2020/2019.3.8 f1/Editor/Data/Resources/PackageManager BuiltInPackages/com. Unity. Ugui/Runtime/UI/Core/Button. The cs: 68)
UnityEngine. UI. Button. OnPointerClick (UnityEngine. EventSystems. PointerEventData eventData) (at E:/unity2020/2019.3.8 f1/Editor/Data/Resources/PackageManager BuiltInPackages/com. Unity. Ugui/Runtime/UI/Core/Button. The cs: 110)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull