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: 

I am a noob and trying to use C# to programming the vault_ C# class library error

2 REPLIES 2
Reply
Message 1 of 3
daniel.li89M5L
223 Views, 2 Replies

I am a noob and trying to use C# to programming the vault_ C# class library error

I am a noob and trying to use C# to programming the Vault(2020 pro) from Markus Koechl with link and show up the error like pic.

Could anybody know how to fix this issue?

Any Comment would help!

Thank you!

https://github.com/lycheex0/Vault-Sample---InventorExportAnySampleJob

 

 

danielli89M5L_0-1643050480814.png

 

Labels (1)
2 REPLIES 2
Message 2 of 3

The Job is an extension to the Job Processor Host and cannot run standalone. Build the project and attach it to the required processes for debugging. The AU class documentation Autodesk Vault 2020—Programming 101 shares step-by-step instructions on how to do this and lists the two processes (Slide 51) you need to attach to. I hope this helps to get you started.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
Message 3 of 3

Hi Markus,

 

Thank you for reply my question. I was following this class step by step and I managed to get the templates on the right place and open them in visual studio.  The problem is that I already get an error while logging in in the Vault while using the template when I try to connect with Vault client (icensingAgent mLicAgent = LicensingAgent.Client) I don't have tis error when I try to log in with "nothing". the specific error I get is "Autodesk.Connectivity.Webservices.VaultLicenseMismatchExeption." I was searching aroud, but I don't find a solution. 

 

Kind regards,

Daniel 

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

Post to forums  

Autodesk Design & Make Report