Forum Discussion
Zahar_Chernov
9 years agoCreator II
OK,
To be able to connect to Aras you need to (my assumption that you using C# and Visual Studio):
- add to your project reference to IOM.dll (you can find it in server\bin folder of your Innovator installation)
- Then use following code
Innovator inn = null; HttpServerConnection innServConn = IomFactory.CreateHttpServerConnection({INNOVATOR URL}, {DB NAME}, {username}, {password}); Item loginResult = innServConn.Login(); if (loginResult.isError()) throw new Exception(loginResult.getErrorString()); else this.Innovator = loginResult.getInnovator();