I followed Programmer's Guide.pdf (10.1: .NET IOM) to make a simple login to ARAS .
But I keep getting this error message, can anyone help me?
there is nothing obviously wrong with your code. Programmers guide 10.0 is already a bit dated. Do you really still work on Innovator 10? There is a newer guide available, also the sample code probably equals your current used one
But do you use correct version of IOM.dll that matches your current Innovator version?
Ah, I mixed the numbers of the chapter in the guide with the Innovator version.
I don´t know what causes you error. But one thing in your code is unusual. In your isError() block you convert the result Item to a string. Not sure if this causes your error message. But to get the error text, you normally use "getErrorDetail()" or "getErrorString()"
Something like this
Item login_result = conn.Login();
MessageBox.Show("Error during login: " + login_result.getErrorDetail());