Microsoft KB Archive/827392

= You may receive an &quot;Object reference not set to an instance of an object&quot; error message when you try to edit a site group in SharePoint Portal Server 2003 =

Article ID: 827392

Article Last Modified on 12/18/2006

-

APPLIES TO


 * Microsoft Office SharePoint Portal Server 2003
 * Microsoft Windows SharePoint Services

-





SYMPTOMS
When you try to log on to SharePoint Portal Server 2003 as a user who has Reader permissions, you may receive the following error message:

Access Denied

When you try to edit the site group on the Manage Site Groups page, you may receive the following error message:

Object reference not set to an instance of an object



CAUSE
This problem may occur if you deleted a site group by using the Manage Security Settings for Area Sites page (Spcatsec.apsx) on the portal site. When you do so, an incorrect row is deleted from the database, and the database is rendered in an inconsistent state. The site group is deleted in SharePoint Portal Server but it is not deleted in Windows SharePoint Services, and the site group remains displayed on the Manage Site Groups page (Role.aspx). As a result, you cannot edit the site group and users who are members of the deleted site group cannot log on to the portal site.



WORKAROUND
To work around this problem, delete, and then re-create the site group by using the Manage Site Groups page (Role.aspx). To do so, follow these steps:  Delete the site group. To do so, follow these steps:  On the Site Settings page for the portal site, in the General Settings area, click Manage security and additional settings. On the Manage security and additional settings page, in the Users and Permissions area, click Manage site groups. On the Manage Site Groups page, click to select the check box next to the site group that you want to delete. Click Delete Selected Site Groups, and then click OK. </li> Re-create the site group. To do so, follow these steps:  On the Manage security and additional settings page, in the Users and Permissions area, click Manage site groups.</li> On the Manage Site Groups page, click Add a Site Group.</li> On the Create Site Group page, in the Site Group Name and Description area, type a name for the site group in the Site group name box, and then type a description for the site group in the Description box.</li> In the Rights area, click the rights that you want for the site group, and then click OK.</li></ol> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
SharePoint Portal Server uses site groups to manage security for portal sites. Each user is a member of at least one site group. Each site group has corresponding rights that specify the actions that users can perform. The default SharePoint Portal Server site groups are listed as follows:
 * Reader: Has read-only access to the Web site.
 * Member: Can view and personalize portal site content and create sites.
 * Contributor: Can add content to existing document libraries and lists.
 * Web Designer: Can create lists and document libraries and customize pages in the Web site.
 * Administrator: Has full control of the Web site.
 * Content Manager: Can create and manage areas, lists, libraries, and sites.

For more information about how to manage site groups in SharePoint Portal Server, see the &quot;Portal and Site Security&quot; topic in the &quot;Security&quot; section of the Microsoft Office SharePoint Portal Server 2003 Administration Guide. The Microsoft Office SharePoint Portal Server 2003 Administration Guide (Administrator's Help.chm) is located in the Docs folder in the root of the SharePoint Portal Server 2003 CD.

For more information about SharePoint Portal Server and Windows SharePoint Services, visit the following Microsoft Web site:

http://www.microsoft.com/sharepoint/default.mspx

Keywords: kbpermissions kberrmsg kbpending kbbug KB827392

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.