Hi @psaarloos,
I tested directly on the IIS server the same application using Autodesk Vault WeService, I made different configurations in order to get success in the use of professional license, but I still getting the same error:
Exception of type 'Autodesk.Connectivity.WebServices.VaultLicenseException' was thrown
1st Configuration(SUCCESS IN READ ONLY MODE😞
The platform of the application was x86, for this case I set the option Enable 32-Bit Aplication from application pool in true.
I published the solution in read only mode access with the next configuration:
- <Licensing edition="None" />
- AccessWindowsAuth = new WinAuthCredentials(identities, "DATABASE", true);
webservicemanager = new WebServiceManager(AccessWindowsAuth);
And with this configuration I could obtain the information and displayed in the website.
2nd Configuration(UNSUCCESSFULLY WITH PROFESSIONAL EDITION😞
So the next step was trying to use the Professional license in order to write or modify information, for this I use the same configuration but in this case set the license to Professional edition and disable the read only mode:
- <Licensing edition="Professional" appPath="C:\User\Projects\AUTV\SOURCE CODE\Autodesk_APP\Autodesk_APP\bin\x86\"/>
- AccessWindowsAuth = new WinAuthCredentials(identities, "DATABASE", false);
webservicemanager = new WebServiceManager(AccessWindowsAuth);
With this configuration I obtain the error of license:
Exception of type 'Autodesk.Connectivity.WebServices.VaultLicenseException' was thrown.
3rd Configuration(UNSUCCESSFULLY X64😞
Another test that I did was change the platform of the application from x86 to x64 and changed the DLL's files and al configuration related with platform.
I executed the applcation locally and works fine, so I published it in the server and for that I set Enable 32-Bit Aplication from application pool in false and the application runs fine but when I tried to connect with the server I git the same error from license:
Exception of type 'Autodesk.Connectivity.WebServices.VaultLicenseException' was thrown.
In this case I changed the platform, thinking in maybe had been a issue with the license compatibility, but it was not like that.
The Vault version in server is: Autodesk Vault Professional 2017.
I don't know if I missing something for that my application can works.
Kind Regards,
Jonathan Nevarez