SharePoint By Yagya Shree

choosing “Page Settings and Schedule” and you get this error “User cannot be found”

leave a comment »

ISSUE:
======
–we then again tried to edit the page by going to the page and choosing “Page Settings and Schedule” and you get this error
=====================
User cannot be found
=====================

–After making the following changes in like “callstack=true & customerror=Off” the Web.config file of the site in the IIS, got following error
============================================================
Value does not fall within the expected range. at
Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String
bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType,
Object& pvarFileOrFolder)
at Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl,
Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object&
pvarFileOrFolder)
at Microsoft.SharePoint.SPWeb.GetMetadataForUrl(String relUrl, Int32
mondoProcHint, Guid& listId, Int32& itemId, Int32& typeOfObject, Object&
fileOrFolder)
at Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl)
at Microsoft.SharePoint.Publishing.CommonUtilities.GetFileFromUrl(String url,
SPWeb web)
at Microsoft.SharePoint.Publishing.PublishingPage.get_Layout()
at
Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.GetAvailableLay
outs()
at
Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadLayoutValue
s()
at
Microsoft.SharePoint.Publishing.Internal.CodeBehind.BasePageSettingsPage.LoadValues(
)
at
Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.LoadValues()

at
Microsoft.SharePoint.Publishing.Internal.CodeBehind.BasePageSettingsPage.OnLoad(Even
tArgs e)
at
Microsoft.SharePoint.Publishing.Internal.CodeBehind.PageSettingsPage.OnLoad(EventArg
s e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)
Troubleshoot issues with Windows SharePoint Services
=================================================================

REPRO STEPS:
=============
1. Create a local user windows account
2. Give that user contribute access on a publishing portal
3. Create a page with that user
4. Check that Page Settings and Schedule work
5. Delete the user from windows and delete him from the site collection (People and
Groups | All People | check the user | Actions | Delete From Site Collection)
6. Open the page created by user on step one. Click on Page | Page Settings and
Schedule and you get this error

RESOLUTION:
===========
If you have WSS 3.0 Only:
========================
Install the following update for WSS:

Description of the Windows SharePoint Services 3.0 hotfix package (Sts.msp): August 26, 2008
http://support.microsoft.com/kb/956057

If you have MOSS 2007:
========================
Install the following updates for MOSS:

Description of the Windows SharePoint Services 3.0 hotfix package (Sts.msp): August 26, 2008
http://support.microsoft.com/kb/956057

Description of the SharePoint Server 2007 hotfix package (Coreserver.msp): August 26, 2008
http://support.microsoft.com/kb/956056

Advertisements

Written by Yagyashree

May 5, 2009 at 8:51 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: