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
If password was not saved, calling ConnectionDetail.GetOrganizationService() will fire ArgumentNullException.
Error itself is fair, but error message is misleading:
Value cannot be null.
Parameter name: s
I think code should throw more descriptive exception, that could be caught and properly solved by calling code (for example by showing input credentials dialog).
Here is call stack:
McTools.Xrm.Connection.dll!McTools.Xrm.Connection.CryptoManager.Decrypt(string cipherText, string passPhrase, string saltValue, string hashAlgorithm, int passwordIterations, string initVector, int keySize) Line 180 + 0xc bytes C#
McTools.Xrm.Connection.dll!McTools.Xrm.Connection.ConnectionDetail.GetOrganizationCrmConnectionString() Line 245 + 0x59 bytes C#
McTools.Xrm.Connection.dll!McTools.Xrm.Connection.ConnectionDetail.GetOrganizationService() Line 307 + 0x9 bytes C#
The text was updated successfully, but these errors were encountered:
If password was not saved, calling
ConnectionDetail.GetOrganizationService()
will fireArgumentNullException
.Error itself is fair, but error message is misleading:
I think code should throw more descriptive exception, that could be caught and properly solved by calling code (for example by showing input credentials dialog).
Here is call stack:
The text was updated successfully, but these errors were encountered: