This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Can't login through VB Window Form

jacob.cordingley - Wednesday, August 26, 2009 6:10 PM:

I'm Try to create a form to login in to ARAS

  Dim httpConn As Aras.IOM.WinAuthHttpServerConnection
     httpConn = IomFactory.CreateWinAuthHttpServerConnection(innovator_server_url, database) 
     mylogin = httpConn.Login()

also tried

  Dim httpConn As Aras.IOM.HttpServerConnection
     httpConn = IomFactory.CreateHttpServerConnection(innovator_server_url, database, user, pwd)
     mylogin= httpConn.Login()

Then if i try to do anything with mylogin it will give me this error

 i have ARAS 9.1.0
usingVisual Studio 2008 in VB 6 
with SQL server  2005
on windows 2003 server

I need to get this so i can write a APP to connect to ARAS



Brian - Saturday, August 29, 2009 9:06 AM:

Download the Aras Send To project from the community project pages.

This has an example of logging into Innvoator from an external app.

when I tried this the main problem that I had was making sure that the password was encrypted otherwise you will not connect.

Cheers,

Brian.



jacob.cordingley - Monday, August 31, 2009 10:23 AM:

I tried that program already

I did finlly get login there are two IOM.DLL File one for .net and one for .com
ii got it using the .net and had to regasm with the 32 bit version (after cleaning me regedit of the 64 bit version)