Home Forums Development IOM login error : System.TypeInitializationException Aras.Net.WindowsAuthenticat

This topic contains 1 reply, has 2 voices, and was last updated by  Christopher Gillis 9 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10176


    I am getting same error 999
    HTTP Error
    System.TypeInitializationException: The type initializer for ‘Aras.Net.WindowsAuthenticationHelper’ threw an exception.

    string serverAddress = “http://localhost/InnovatorServer/Server/InnovatorServer.aspx”;
    string database = “InnovatorSolutions”;
    string userName = “admin”;
    string password = “607920b64fe136f9ab2389e371852af2”;
    Innovator innovatorinstance = null;
    HttpServerConnection innServerConnection = IomFactory.CreateHttpServerConnection(serverAddress, database, userName, password);
    Item loginResponse = innServerConnection.Login();
    if (loginResponse.isError())
    throw new Exception(loginResponse.getErrorString());
    innovatorinstance = loginResponse.getInnovator();



    Please let me know what could be the reason



    I was unable to reproduce this issue using the same code that you provided in a local environment.

    Could you please confirm that you are using the version of the IOM.dll that corresponds to the version of Aras Innovator that you are using?



    Christopher Gillis

    Aras Labs Software Engineer

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.