Thursday, September 25, 2008

VMware and SharePoint

So it looks like Microsoft is finally providing support for virtualization products.  I have included some links specific to VMware since I had to perform some research for a client.

This link from Microsoft: states that "In addition to the Microsoft hardware virtualization software products, support for third-party hypervisor technology is supported for hypervisor technologies that are certified by Microsoft through the Server Virtualization Validation Program (SVVP)".

This link from VMware: states that VMware is SVVP certified as of August 2008.

This link from Microsoft: states that "Microsoft Office SharePoint Server 2007 Service Pack 1 and later versions are supported" in virtualized environments.

This link from Microsoft: states that Microsoft and VMware have established a joint support relationship (although they do not guarantee performance).

And one more for good measure:

Wednesday, June 4, 2008

Updated: Antivirus Solutions for MOSS

I have rewritten this post now that there are more solutions available on the market.  See links below:

Microsoft ForeFront for SharePoint (with SP1)

TrendMicro PortalProtect

Symantec Protection 5.1 for SharePoint Servers 

McAfee PortalShield for Microsoft SharePoint
It does not list SharePoint 2007 under the system requirements on their site but it does in the datasheet PDF so who knows...


Friday, April 25, 2008

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

I started running into this error when attempting to create a site collection in a different language.  I would browse to Central Administration and choose a different language and immediately receive "there was an error in the callback".  If I continued on and ignored the error I would receive "Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))" after clicking Create.  After lots of time wasted scouring the net I found a random post that said they ran into this error when they had a badly formatted webtempXXX.xml file.!1CC1EDB3DAA9B8AA!126.entry

I had missed a closing quote around my hidden parameter (looked like this: HIDDEN="TRUE).  I fixed it, did an iisreset, and it fixed the problem.


Thursday, March 20, 2008

Redirect SharePoint Site to New Location

I recently had a request to move a SharePoint subsite to a new location under a different site collection.  The site was moved over after performing the standard import/export stsadm commands.  However, the customer also wanted the old location to perform an automatic redirect for anyone still pointing to the old location.  I wanted to be able to do this without having hack up pages using designer (or other tool) or having to allow for code blocks within the default.aspx by opening my web.config up to vulnerabilities.  I found the easiest way to do this was with Javascript and a Content Editor Web Part.

  1. Add a Content Editor Web Part to the Main Page of the site.
  2. Modify the Web Part and click on Source Editor.
  3. Paste in the following code while changing the URLs to match your target.

    <SCRIPT language="JavaScript">
    function redirectsp()
       if (top.frames.length==0)
  4. <body>
    Redirecting you to the new location.  If you are not redirected, click <a href="

  5. I set the redirect time to 0, but you can set it higher if you like.  1 sec = 1000, 2 sec = 2000, etc.
  6. Save the code changes.

The fun part of this solution is the fact that the code tries to load no matter what view you are in (i.e. Standard view, Edit Page, etc).  So, if you have to make changes to the code you have to let the page load but then time a press of the ESC key to keep the Javascript from loading each time.


Friday, March 14, 2008

WSU Windows Mobile Theme - Go Cougs!!

In the spirit of my alma mater, Washington State University, and the great basketball season they are having I am posting the Windows Mobile theme I created.  It has the Cougar logo on the vertical today screen and a shot of Pullman with Bryan Tower on the horizontal today screen.


Go Cougs!!


Thursday, March 13, 2008

Patch to Fix Presence in SharePoint and Outlook 2007

I ran into presence not appearing in SharePoint or Outlook 2007 after my upgrade to Communicator 2007.

Microsoft recently released a patch to fix this issue.

Thought I would pass it along...


Friday, March 7, 2008

Crawling a Content Source Requiring Basic Authentication

As much as I fight basic authentication, there are still people out there who want to use it.  SharePoint Enterprise Search can crawl a site requiring basic authentication through the use of Crawl Rules.

  1. Browse to the Shared Services Provider page within Central Administration.

  2. Click on Search Settings -> Content sources and crawl schedules.

  3. I recommend adding the source as a new content source.

  4. Once you have created the new content source return to the Search Settings screen.

  5. Click on Crawl Rules -> New Crawl Rule.

  6. Enter the path this rule will affect.  Using wildcards is the easiest way to make sure the enter server is being crawled with the account specified.

  7. Change the crawl configuration to 'Include all items in this path'.  Specify other settings if necessary.

  8. Change the authentication to 'Specify a different content access account'.

  9. DO NOT CHECK 'Do not allow Basic Authentication'.

  10. Click OK to save the settings and your new crawl rule will appear in the list.

  11. Kick off a full crawl of the content source for the rule to take effect.

Simple I know.  But I was hit up for this multiple times so I figured I would write a post on it.


Who Doesn't Love Free Online Disk Space?

So I was just playing around with Windows Live Writer to test it out for posting to my blog and discovered Windows Live SkyDrive.  Free 5 GB worth of disk space and you can store personal files, share with your Live Messenger friends, or share out to the general population.

The interface is very easy to use.

Windows Live SkyDrive Site:

SkyDrive Team Blog:

SkyDrive Viewer from ScottIsAFool on CodePlex:


Monday, January 14, 2008

Hide Edit Page in Site Actions Menu

I had a request from a client to hide the Edit Page option under the Site Actions menu for all users without Full Control permissions.  I performed the following steps to remove the edit page option for user's without the managesubwebs right.

  1. Open the master page for the site.

  2. Find the following lines of code:

           <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
            ClientOnClickNavigateUrl="BLOCKED SCRIPTMSOLayout_ChangeLayoutMode(false);"

  3. Add to the following lines to the code:

  4. The code should now look like:
           <SharePoint:MenuItemTemplate runat="server" id="MenuItem_EditPage"
            ClientOnClickNavigateUrl="BLOCKED SCRIPTMSOLayout_ChangeLayoutMode(false);"

  5. Save the master page and login with an account that does not have Full Control, but is not read only either...  The Site Actions drop down should now resemble:

Hide Edit Page