web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Ax 2012 - Consume Net tcp service via Asp .Net application - Impersonation

(0) ShareShare
ReportReport
Posted on by 1,203

I am  consuming a few services of Ax 2012 R2 CU7 in an ASP .NET application (4.5), using windows authentication (intranet site)

When i run the application on IIS 8 Express, it all works fine. When i run it on my local IIS 7 server, it all fails. One of the ways to replicate what IIS 8 express does is by setting the Application pool identity to that of the Ax user / Logged in . It then works, so this proves that IIS 8 express works off the local users account.


Now when i make code changes to tell the client to impersonate / delegate, i get an obscure error:

The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9989999'.

However, if i tell the WCF client (in code) to use a specific Windows user, i.e. I set the windows username, password, domain then it works.

Question:

Are there setting in the config file in Ax to work around this?
 I think this is a Double hop issue

Has anyone come across this and resolved this?

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans