C# .NET Login Aras Error

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?

Thanks!

Parents Reply
  • 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();

    if (login_result.isError())
    {
      MessageBox.Show("Error during login: " + login_result.getErrorDetail());
    }

Children