locked
DocumentDB Core + VS Core + Mac = Bcrypt.dll Error RRS feed

  • Question

  • When using the DocumentDB Core SDK in Visual Studio Core on Mac, I get the following error when trying to create a document client:

    Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'Bcrypt.dll': The specified module could not be found.

    Tuesday, March 7, 2017 2:16 PM

Answers

  • When creating the DocumentClient I was using the constructor that took a SecureString for the auth key. Instead, using the one that just takes a plain String works just fine. 
    • Marked as answer by jjacob114 Wednesday, March 8, 2017 1:23 PM
    Wednesday, March 8, 2017 1:23 PM

All replies

  • Can you please share a repro to askdocdb@microsoft.com of what operation you were attempting, or attach to this thread? We'll investigate.
    Tuesday, March 7, 2017 2:39 PM
  • As requested, a link to git repo has been sent.
    Tuesday, March 7, 2017 7:01 PM
  • When creating the DocumentClient I was using the constructor that took a SecureString for the auth key. Instead, using the one that just takes a plain String works just fine. 
    • Marked as answer by jjacob114 Wednesday, March 8, 2017 1:23 PM
    Wednesday, March 8, 2017 1:23 PM