05-30-2019 09:52 AM
While attempting to connect to an OnBase 18 App Server using the Unity 18 dlls using the following code (from my API class), I'm receiving the error message "Attempting to access an invalid datasource". I have validated the datasource name I am passing in the OnBase Web Application Management Console.
Anyone have any ideas?
public Hyland.Unity.Application Connect(string username, string password){try{OnBaseAuthenticationProperties props = Application.CreateOnBaseAuthenticationProperties(g_url,username,password,g_datasource);Hyland.Unity.Application app = Application.Connect(props);return app;}
05-30-2019 09:56 AM
When you create the ODBC connection for the Datasource, what name do you give it?
05-30-2019 11:23 AM
Forgive my ignorance, but we don't use ODBC on version 18 do we? I thought the datasource was defined in the Web Application Management Console.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.