Downloads

Things to download free, from posters and shortcut guides to white-papers and checklists

Free Applications

Explore our recommended free applications from around the Internet

How To & Tutorials

These handy problem solving tips and advice should save you some time

Industry News

News and commentary from news in the technology industry

Technical Terms

We regularly take a technical term and try to make sense of it in the real world

Home » Technology Management

MOSS: Fixing trouble with the Search webpart

Submitted by jasonslater on Tuesday, 19 August 2008No Comment

I’ve talked about the search feature of MOSS before and one of the recent things we’ve been looking at is to include a search box on the main page so users can search the shared folders on the system. There is a handy way of categorising various area so users can search shared drives, MOSS, people, and their own drives separately or perform a combined search. In our scenario, getting the search component to work and provide a useful searching facility in our thin client environment is key to establishing MOSS as a viable platform. I previously talked about configuring the search part in the post MOSS: Configuring Search.

www.jasonslater.co.uk

The search on the search tab worked flawlessly but would be more useful as a central part of the main page so the next step is to include a web part on the main page that the user sees:

image

Once implemented the page is saved and ready to go, so a keyword is entered into the search box and the search button clicked. This is where we run into a little trouble.

www.jasonslater.co.uk

Including a search web page on the first page of MOSS returns a "Error on Page." message in Internet Explorer after typing a keyword and clicking on the search button. Nothing happens after that however clicking on the search tab and performing the same action yields the expected results.

 www.jasonslater.co.uk

Double-clicking on the error message returns a stark warning.

image

The problem was finally tracked down to the text in the Query box prompt string - the phrase Search the ‘S’ Drive contained the apostrophe symbol:

www.jasonslater.co.uk

Removing this symbol resolved the problem. Avoiding the use of the apostrophe symbol in other areas may be a sensible thing to do.

www.jasonslater.co.uk

Subscribe now and never miss a post
RSS Subscribe

Share and Enjoy:
  • E-mail this story to a friend!
  • Print this article!
  • Digg
  • Google
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • TwitThis
  • LinkedIn
  • Live

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.