SharePoint Search result Page throw Error for anonymous User

When anonymous user go to SharePoint search , he got an error with correlation id, when checked the logs I found the following error related to Security Token and SPContext:


To fix the issue, you have to change impersonate=”true” as it’s the default value in web.config:

<identity impersonate=”true” />

and to resolve custom code that need to use impersonate=”false”, run you code with evaluated privilege.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s