Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

SPS2003 QueryProvider

  Asked By: Diamond    Date: Jan 02    Category: Sharepoint    Views: 654

Has anyone got the QueryProvider class working to perform a custom search?

I can't get the following lines of code to work:

PortalContext context = PortalApplication.GetContext();
string searchAppName = context.SearchApplicationName;

// this one fails!
queryProvider = new

I get an initializer error.
It has to do something with permissions. (I think)

My Webpart containing this code is marked as safe, and working if i comment
out the queryprovider line.

Any suggestions?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on SPS2003 QueryProvider Or get search suggestion and latest updates.