Error in Connecting to Vault 2020 using ASP.NET Web API Application

Error in Connecting to Vault 2020 using ASP.NET Web API Application

Anonymous
Not applicable
926 Views
3 Replies
Message 1 of 4

Error in Connecting to Vault 2020 using ASP.NET Web API Application

Anonymous
Not applicable

I have created ASP.NET web API application with .NET Framework 4.7

I am using Vault 2020 Professional version.

 

I have added following DLLs in references in my application.

  1. Autodesk.Connectivity.WebServices
  2. Autodesk.Connectivity.WebServices.WCF

 

However when I run the application I am getting the following error.

Could not load file or assembly "Autodesk.Connectivity.LicenseWrapper" or one of its dependencies. An attempt was made to load a program with an incorrect format. 

 

@psaarloos 

@ivan_gani 

Any help on this will be really appreciated.

0 Likes
Accepted solutions (1)
927 Views
3 Replies
Replies (3)
Message 2 of 4

ivan_gani
Advocate
Advocate
Accepted solution

Hi,

Did you copy even the AdskLicensingSDK_2.dll file?

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi Ivan,

Yes, I have copied AdskLicensingSDK_2.dll inside bin folder.

Still getting the same error.

0 Likes
Message 4 of 4

ivan_gani
Advocate
Advocate

Hi,

you should copy the AdskLicensingSDK_2.dll not on bin folder, but on the windows system32 folder (where the iis exe is located)

 

Please see my older post:

https://forums.autodesk.com/t5/vault-customization/64-bit-standalone-vault-2020-client-login-fails-i...

0 Likes