Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Problem with accessing PSI

$
0
0

Hi,

I have created a WCF-service that serves as a connector to the PSI of Project Server.

Local on my development machine it works great. The WCF-service is hosted in IIS and its Application pool runs with the same identity as my local windows account.

On my testserver the call to the PSI is giving the following error:

System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The HTTP request is unauthorized with
client authentication scheme 'Ntlm'. The authentication header received from the server was 'NTLM'.
(Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true,
whose value is: System.Exception: The HTTP request is unauthorized with client authentication scheme 'Ntlm'.
The authentication header received from the server was 'NTLM'.
----> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

I searched in several forums but all the possible suggested solution did't solve it.

After some experimenting I found out that when I run the WCF-service on my local machine under a different identity (ApplicationPoolIdentity) I get the same error also when I run it on my developmentmachine.

On the test-server I experimented with the identity / user-account the WCF-service runs under, but without success.

Has anyone a clue under what kind of identity the WCF-service must run to make a successfull call to the PSI?

Paul


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>