MOSS Forum

 
Home » Forum » MOSS       Ask a questionRSS Feeds

MOSS Search not working for anonymous users

  Asked By: Kami Pollard         Date: Jan 07, 2009      Category: MOSS      Views: 291
 

Search gives results only when logged in and does not return anything for the
anonymous users.
Anonymous users can access the whole site fine.

Tagged:              

 

1 Answer Found

 
Answer #1       Answered By: Christina Lewis          Answered On: Jan 07, 2009       

The problem is that the search  results page inherits from a class that requires
users to be authenticated. You'll need to create a custom Search results  page
that doesn't inherit from LayoutsPageBase for anonymous  users to be able to
access the search results. You can either remove the inheritance statement
(which means it will inherit from a standard ASPX page) or create your own page
class based on UnsecuredLayoutsPageBase (which is the class LayoutsPageBase
inherits from). Point your site  at that results page and search will work
again.

 
Didn't find what you were looking for? Find more on MOSS Search not working for anonymous users Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].