Michael’s Techbox

Tech articles you can read with coffee

Archive for the ‘SharePoint 2007’ Category

How to get SharePoint 2007 to run under Windows 7?

with 6 comments

Ever wanted to know How to get SharePoint 2007 to run under Windows 7?, Well you’ve come to the right place.

This solution should work with both 32Bit and 64Bit versions, but you’ll be pleased to know its fully tested to work with Windows 7 64bit RTM.

Ok let’s get started.

You’ll need:

  • Your Original SharePoint 2007 with SP1 Install media. If you’ve got an MSDN subscription download the ISO and mount it.
  • SharePoint 2007 SP2 (either 32bit or 64Bit), can be found here (from Microsoft)
  • A setup helper application , located here
  • A database (I would go with SQL Server 2008, or get an express 64bit edition)
  • IIS Running

Overview:

To get SharePoint running on Windows 7 is not that difficult. We need to slipstream the original installation media with SP2 (because Win 7 won’t install prior versions). Then we’ll fire up the setup helper app, browse to the slipstreamed setup, select the setup.exe and it will now bypass the OS check. Once this is done we can install MOSS. After MOSS is installed, we will install a database. After this, we will run the SharePoint Products and Technologies Configuration Wizard, provide the database instance, and MOSS should install nicely.

Step 1 : Mount your install media, or insert the DVD (remember this is MOSS with SP1) or for example (en_office_sharepoint_server_2007_standard_and_enterprise_edition_with_service_pack_1_x86_x64_dvd_x14-40187.iso)

Step 2: Copy the setup folder on the disk either the 32bit or 64bit folder to a local drive on your PC (for example: c:\MOSS2007)

Step 3: Download SharePoint 2007 SP2 can be found here (from Microsoft)

Step 4: Extract SP2 – and place extracted files in the updates folder of the copied original install media (for example c:\moss2007\updates)

This can be done… by doing this… (here is a 64bit example)

officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:c:\moss007\updates

or

officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract

If you don’t provide a path, you’ll get prompted to browse for one.

Step 5: Turn windows features on, make sure you have all of the following enabled:

Capture

Step 6: Install SQL Server 2008 You decide on a version.

Step 7: Now the fun part… install MOSS using the setup helper application and it should go through without any problems at all….

Good luck – and have fun…..

And if you need more help just ask :)

Written by MichaelL

September 5, 2009 at 8:10 am

How to check if MOSS Standard or MOSS Enterprise is installed?

with one comment

This is a question that comes up often, and its very easy to check.

Open Central Server Administration, then Central Administration > Operations > Enable Enterprise Features, you’ll see which version you have on this page.

capture1

Written by MichaelL

December 9, 2008 at 9:48 am

Posted in SharePoint 2007

Does SharePoint have any real competition?

leave a comment »

Yes,

Interwoven’s TeamSite and Ektron are some of them.

Checkout this Gartner report that gives Ektron & Interwoven Strong Positive rating while Microsoft is just Promising.

158654_0001

 

Written by MichaelL

December 9, 2008 at 9:38 am

Posted in SharePoint 2007

Extending Feature Receiver Events

leave a comment »

This article will teach you how to extend a feature receiver to add more events to the default, somewhat limited event model.

Whats the problem with the current Feature Receiver Event Model?

The Feature Receiver event model provided by Microsoft is too limited, it lacks some very important events, the 4 events it does support are:

  • FeatureInstalled
  • FeatureUninstalling
  • FeatureActivated
  • FeatureDeactivating

So what’s missing?

Most noticably whats missing is a FeatureOnError event, since this would also be too generic, ideally we need support for FeatureOnActivatingError,  and anymore you can think of. This is because a feature runs through the CAML feature definition while activating, and out of the box, there is no way to catch an error during the activation.

Another important event thats missing is FeatureOnBeforeActivate – this is because you might want to do some prechecks before running through the feature element manifests, so the event FeatureActivated fires after the element manifests have been loaded.

There is one very easy way to add these events, and whats nice about this method is if you know how to code a feature you will have no problems understanding the code.

The theory is (a) to change your current features visibibility to hidden, then (b) create another feature which will be responsible for the activation of your first feature.

Code listed below:

<code to follow>

    Written by MichaelL

    October 13, 2008 at 10:05 am

    Posted in SharePoint 2007

    Follow

    Get every new post delivered to your Inbox.