CryptAcquireContext failed. Error 0x57

  • On a production db of over 100 GB, i am getting the below error freqently and i have to restart my server as it becomes dead.

    [Microsoft][ODBC SQL Server Driver][SQL Server]CryptoAPI function 'CryptAcquireContext' failed. Error 0x57: The parameter is incorrect.

    Alias: DBDest [07-07-16 17:14:04]

    Please advise what is the cause of this problem/error and how to resolve this.

  • Did you ever get a solution? I'm running into this too.

  • In our case I discovered the SQL Login used to make the call became corrupt (you can test by trying to script a drop/create - should get same error). Issue was resolved by restarted SQL Server service..

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply