Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Unable to load adalsql.dll C# Custom Activity. adalsql 64x + .system.data 86x

$
0
0

Hello,

I'm working on deploying a custom activity to Azure.

It's a C# script that writes to Azure Sql Database.

At this point, it runs fine on my machine. 

When I deploy I get an "Unable to load adalsql.dll" Error.

I've been researching like a mad man, and currently I know that:

  • My System.Data.dll is x86 version
  • My adalsql.dll version is x64 version

I tired uninstalling the Microsoft Active Directory Authentication and reinstalling it again from the link provided in the error.

I tired both the X64 and the x86.

My best guess is that the adalsql.dll isn't getting loading into the project??

My understanding is they're found in the:

C:\Windows\SysWOW64\adalsql.dll
C:\Windows\System32\adalsql.dll

File paths. I can't seem to add these as references to the the project.

Any guidance appreciated.


Viewing all articles
Browse latest Browse all 16000

Trending Articles