chooseFile
Programmer
Hi,
I am a newbie in SharePoint technology. After spending a while on setting my development platform i started to implement a customize search with SharePoint Objects and Microsoft.SharePoint.Portal.Search.Query in particular.
I base my code on Patrick Tisseghem’s article « How to Customize Your Search Using SharePoint Portal Server 2003 »
Ref :
TopologyManager topology = new TopologyManager();
PortalSite portal = topology.PortalSites[new Uri("];
PortalContext context = PortalApplication.GetContext(portal);
QueryProvider qp = new QueryProvider(context.SearchApplicationName);
But when i create the QueryProvider instance I got the following error message.
The virtual server that is referenced here is not in the config database
When I look at the context.SearchApplicationName value i see the GUID of my SPS portal.
Any idea ?
Thanx,
Choose File
I am a newbie in SharePoint technology. After spending a while on setting my development platform i started to implement a customize search with SharePoint Objects and Microsoft.SharePoint.Portal.Search.Query in particular.
I base my code on Patrick Tisseghem’s article « How to Customize Your Search Using SharePoint Portal Server 2003 »
Ref :
TopologyManager topology = new TopologyManager();
PortalSite portal = topology.PortalSites[new Uri("];
PortalContext context = PortalApplication.GetContext(portal);
QueryProvider qp = new QueryProvider(context.SearchApplicationName);
But when i create the QueryProvider instance I got the following error message.
The virtual server that is referenced here is not in the config database
When I look at the context.SearchApplicationName value i see the GUID of my SPS portal.
Any idea ?
Thanx,
Choose File