Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I get very strange exception "exception occured while connecting to wcf endpoint .... access denied". only when I go to any Document Library.

I logged on as Administrator and I have added "Full control" Permissions for it on "User profile service application".

I have searched on Google but non of workarounds helped me to solve the problem. It is my developing envrionment and I have created a new web appliction.

share|improve this question
    
Check your IIS and ULS logs to see if you can identify the specific error message on the backend. –  John Chapman May 8 '12 at 16:07
    
I looked att iis log files couldn't find any strange there. some days ago I run dsinit /sqlinstance :. to initialize storage for Windows Azure localy, I am wondering if it may changed some configurations. –  Medes May 9 '12 at 11:39
    
What credentials are you passing to the WCF when you attempt to connect to it? Do you explicitly enter a username/password in the code, or are you telling the program to use your windows credentials? –  NotVonKaiser Sep 1 '13 at 18:05
add comment

1 Answer 1

I think the problem might have something to do with SharePoint's IIS application pool user account ("Identity"). If you are using a user account that has no persmission set in central administration for the "User profile service application" then this error occurs.

To resolve the issue grant "Full Control" permission to your application pool user account:

  • Goto service applications page in central administration
  • Select "User profile service application"
  • Click on button "Permissions" in the Ribbon
  • Add the user account to list and then grant "Full Control"

Hope this was the causing of you problem. SharePoint configurations can be a real pain.

share|improve this answer
    
Thank you for your advice, I have alredady done it. and it didn't help. –  Medes May 31 '12 at 13:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.