SharePoint Stuff

A collection of helpful tips and resources on maximising the value from a SharePoint Portal Server and Windows SharePoint Services Implementation.

Monday, April 03, 2006

SP2 - Object reference not set to an Instance of an Object

Recently I installed SharePoint Portal SP2 and then when I tried to create a new portal (SharePoint Central Admin > Create a Portal Site) I immediately got the following error message "Object reference not set to an instance of an object. "
on page /sps/portalcreate.aspx.

At the same time the following waslogged in the Event Log
Event Type: Warning
Event Source: SharePoint Portal Error Reporting
Event Category: None
Event ID: 0
Description: W3WP.EXE: System.NullReferenceException @Microsoft.SharePoint.Portal.ServerAdmin.PortalCreatePage.Page_Load(Object sender, EventArgs e)

Apparantly, when you install SharePoint SP2 it is meant to update the Microsoft.SharePoint.Portal.dll along with changes to a number of files. In certain instances, while the update says its successfully installed, it doesn't update all the files. In my case portalcreate.aspx wasn't updated, and a entire section was missing.

The solution, from Microsoft, was to reinstall SP2 and check to see if the lines above exist. The error message might be different for different users, based on the pages that weren't updated - but the solution is still the same. Reinstall SP2 and hope for the best.

3 Comments:

At 9:22 AM, Anonymous Anonymous said...

ahhh. GEEZ - u gotta be kidding me. Ok, I'll let you know how it goes.

 
At 11:34 AM, Anonymous Anonymous said...

WELL, this suggestion simply reinstalls the sharepoint portal. If you have work, templates, etc already configured and installed, this will wipe out all of that. Proceed with caution.

 
At 11:35 AM, Anonymous Anonymous said...

By the way the link to the SP2 download is: • Download for SP2: http://www.microsoft.com/downloads/thankyou.aspx?familyId=9c552114-dc9a-43ee-9281-b080b7c280b4&displayLang=en

 

Post a Comment

<< Home