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 http://www.ssblueprints.net/sharepoint/. 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.

Fadi

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.



Fadi

Tuesday, 26 February 2008

On a different subject, Outlook Crashing

On a different subject, I had Outlook 2007 keep crashing on me yesterday when ever I'd reply to an email or Start a new email. The Office Diagnostics didn't find a problem.

After much looking into it deeper, I managed to find the problem. Some of the customised menu items (I think it was the google search) was causing the problem. After deleting the file outcmd.dat - find it in the hidden folder -c:\Documents and Settings/username/ApplicationData/Microsoft/Outlook - just rename it to outcmd.old. When you restarted Outlook 2007, it will create a new fresh file. Lost my menu customizations, but no big deal - at least it does not crash now.

Monday, 25 February 2008

"0x80040E14" or "HTTP 500" error message when you connect to your Windows SharePoint Services Web site after you install a Windows SharePoint Services

If anyone has come across this error:

Exception from HRESULT: 0x80040E14. Troubleshoot issues with Windows SharePoint Services.
HTTP 500 - Internal server error


either in search error logs or event error logs, specially after installing a service pack or a hot fix, there's an easy fix.

The main cause of this error is when the content databases in Windows SharePoint Services are not updated correctly during the installation.

Simply go to a command prompt and type:
cd /d %commonprogramfiles%\Microsoft Shared\Web Server Extensions\60\Bin stsadm -o upgrade -forceupgrade
This is a fix for both WSS 2.0 and WSS 3.0. If you're still having the problem, please let me know.

Friday, 22 February 2008

Cascading Drop Down Lists

I was trying to find a way to do Cascading Drop Down Lists in SharePoint, and I came across this interesting article.

http://datacogs.com/datablogs/archive/2007/08/26/641.aspx

It shows you how to do it. If you have any problems, let me know.

Fadi