The remote server returned an error: (401) Unauthorized When Connecting from C# application

with ARAS 12,

I am Getting (401) while connecting through a c# application,

it works perfectly fine when login from browser for the same user, what is wrong,

does anybody have a idea?

Regards

Barkat Khan

Parents
  • Hi Barkat,

    Could you let us know how you're trying to authenticate? Are you using the IOM.dll to create a connection or are you communicating via REST requests?

    If you're using the IOM, could you check that you're using the correct 12.0 version of the IOM.dll?

    If you're using the REST API, could you confirm that you've followed the steps for requesting and using a token as laid out in this blog post?

    Chris

    Christopher Gillis

    Aras Labs Software Engineer

Reply
  • Hi Barkat,

    Could you let us know how you're trying to authenticate? Are you using the IOM.dll to create a connection or are you communicating via REST requests?

    If you're using the IOM, could you check that you're using the correct 12.0 version of the IOM.dll?

    If you're using the REST API, could you confirm that you've followed the steps for requesting and using a token as laid out in this blog post?

    Chris

    Christopher Gillis

    Aras Labs Software Engineer

Children