1

I am implementing a people picker on my visual webpart to allow users to query a list according to a person. My implementation is similar to the post found here, but when typing in the people picker I see the following:

enter image description here

In the browser console, we see there was a 500 error on the request.

enter image description here

I have double checked that I am including the necessary .js files and also have tried performing an IISRESET with no success.

I have very little experience working with JSOM so any help would be appreciated.

5

Using JSOM in the past I have experienced this trouble when I have a lack of system resources, specifically when my systems RAM has less than 5% available.

The fact that you are getting a Service Activation Exception leads me to believe this may very well be the case, and can be verified in Windows event viewer.

Close some applications or disable some services on the Host machine. You can look at changing your web.config to update the 'minFreeMemoryPercentageToActivateService'. (Link to MSDN reference)

Caveat: The issue with the people picker is not because of your explicit use of JSOM, but SharePoint fires it off in conjunction with use of the people picker.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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