SharePoint search and anonymous users

Poblem: anonymous users try to search and get a user prompt. To get pass this prompt you must enter valid username, otherwise you’ll get famous “Access Denied” page.

Solution: To allow anonymous users to search your publicly available sites you need to remove that inheritance from the code, so find part of the code inside the <Page>  tag that states“Inherits=”Microsoft.SharePoint.WebControls.LayoutsPageBase”  and remove that part of the code from OSSSearchResults.aspx page. OSSSearchResults.aspx page is usually stored at C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12TEMPLATELAYOUTS on your SharePoint server.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: