Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vault 2025 API Login Error

1 REPLY 1
SOLVED
Reply
Message 1 of 2
amin.saeedi447
151 Views, 1 Reply

Vault 2025 API Login Error

Hi.

I want to connect to Vault 2025 using this line of code:

 

results = VDF.Vault.Library.ConnectionManager.LogIn(ServerName, VaultName, UserName, Password, VDF.Vault.Currency.Connections.AuthenticationFlags.WindowsAuthentication, null);


this code worked in Vault 2023 and I have changed the dlls to 2025 and it raised this exception  :

 

System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'Autodesk.DataManagement.Client.Framework.Vault.Library' threw an exception.

Inner Exception 1:
ThreadAbortException: Thread was being aborted.

 

is it API 2025 bug or something else?

 

thanks.

1 REPLY 1
Message 2 of 2

It is solved.
The problem was with the references.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report