Tuesday, December 30, 2014

how to create service application proxy for existing service application (or) Object reference not set to an instance of an object



how to create service application proxy for existing service application (or)
Object reference not set to an instance of an object.

Issue: issue with User Profile service application which was stopped working.

Solution1:Please follow the steps to solve above issue.

1.    you have to delete your service application proxy from central administration -> manage service applications page.

2.    run this on Power shell. this will show you all service applications of your farm

Get-SPServiceApplication

3.    get the name of User Profile Service Application or you can copy name from central admin also.

$upa = Get-SPServiceApplication -Name “User Profile Service Application”

4.    then  need to create new service application proxy.

 New-SPProfileServiceApplicationProxy  -Name “User Profile Service Application Proxy”  -ServiceApplication $upa  -DefaultProxyGroup

Do an IISRESET.

Solution 2:if the above doesn’t fix the issue. Reset the application pool account for Token Service.

 


I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

No comments:

Post a Comment

Your feedback is Much Appreciated. I will try to reply to your queries as soon as possible!!Anil Avula

ShareThis

X