Wednesday, 19 March 2008

SharePoint and Silverlight

If anyone is interested is setting up Silverlight in any of their SharePoint webparts, there's an interesting site They have some basic examples (including a hello world webpart). If you're still having problems, let me know and I should be able to help you out.

Tuesday, 11 March 2008

Changing Alternate Access Mapping

I'm not sure if anyone else has come across this, but I thought I would put it in my blog. If you go through Central Admin and modify an existing Alternate Access Mapping, it doesn't modify the Host Header in IIS. eg, if for Custom you had it pointing to http://web1 and the new one is http://web2, the host header for that site in IIS will still point the web1 and when a user hits web2, they will hit the default website. Simply modify the host hear to also accept web2 and problem solved.

Tuesday, 4 March 2008

Exclude Search from hitting a specific list

I had someone ask me how to exclude search from searching specific lists. It's very simple.

To exclude all the items in the document library or list then go to advanced settings of the list and check the option to remove from search results at the bottom (set it to no). This will stop the search from hitting that specific list.


Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

If some of you have come across this error and don't know how to fix it, I have found 2 possible fixes.

1, Recreate the site collection

2, Webtempcustom.xml file in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML directory was corrupt and it was causing the problem.

You can try to fix the xml file, but much easier just to re-create the site collection.