Access is denied when connect to Remote Exchange in WCF

I have 4 serves:

  1. Server A containts Active Directory.
  2. Server B containts Exchange Server.
  3. Server C contains IIS to configure WCF service to connect to the Exchange Server.
  4. Server D to developer.

I developed a winform application to connect to the EX and created a group over there, I ran on machine C and D were successful. This connect to EX success and create group successful.

Then i developed a WCF service and public in server C, i call this WCF services, it log: Access is denied when connect to Exchange Server. But with WCF solution, i debug it in IID of visual studio, it was successful.

Someone help me understand where error? The code connects to Exchange Server and create group in WCF similar with winform.
June 30th, 2015 5:06am

It sounds like your having a issue with kerberos delegation i would suggest you following the advice in http://blogs.msdn.com/b/emeamsgdev/archive/2012/11/05/exchange-web-services-from-a-web-application-using-windows-authentication.aspx

Cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
July 1st, 2015 2:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics