- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello All,
I am new to using the Vault API. I have been developing a lot of iLogic code over the last few years and things have evolved to the point where I want to have some Vault interaction as well.
I was trying to recreate a demo that Doug Redmond did where you log into Vault with the VDF, and display the folders from the root folder in Vault. I have recreated the code and I am getting an error when I try to get logged into Vault. I am running Vault Pro 2017.
Here is the code where I pop up the login screen:
using ACW = Autodesk.Connectivity.WebServices;
using Framework = Autodesk.DataManagement.Client.Framework;
using Vault = Autodesk.DataManagement.Client.Framework.Vault;
using Autodesk.DataManagement.Client.Framework.Vault.Currency.Connections;
namespace VaultExperiments
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Connection conn = Framework.Vault.Forms.Library.Login(null);
Application.Run(new frmVault(conn));
}
}
}
So when I fire up the application the Vault login screen comes up like it should. But when I try to log in it just sits there and tries to connect until I cancel it. If I try to browse the "Vaults" on the server I get the following error.
I did find a knowledge base article about this error and it said to delete a restrictions folder in the programdata folder. I do not have a restrictions folder there.
I am working over a VPN which is connected. If I try to just fire up Vault and login, everything works fine.
Any help would be greatly appreciated.
Thanks,
Chad
Solved! Go to Solution.

