allbacktomine
Wednesday, 11 February 2009
« Browser cookies: the path is case sensit...
|
Main
|
WORKAROUND: SharePoint Designer shows fi... »
FIX: Changing your MOSS site Url causes 'Value does not fall within the expected range' errors
Hopefully this may save someone some time....
A few days ago I changed the Url of one of my MOSS site collections by:
Going to Central Admin-> Operations ->Alternate Access Mappings and updating my default zone url to my new url
Using the IIS management console to change the host header of my site collection's web application to my new url
This all worked fine for a few days, until one of my users tried to edit a page's 'page settings & schedule' and received this error:
System.ArgumentException. 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)
When i searched the SharePoint log files for this error, i found it along with a reference to my
old
site url, which made me think my approach for renaming a site collection url hadn't been 100% successful...
Some googling produced
this post by Stefan Goßner
( whose blog has helped me out with many a strange error, dating back to his MCMS days). Although his post relates to backing up & restoring to a different site, the end result would appear to be the same:
<snip>
The reason for this problem is that backup/restore does not adjust the references from the publishing page objects in the Pages library to their Page Layouts. These URLs are sometimes stored as absolute URLs including the server name. And this server name is the server name of the old server farm which cannot be resolved on the new farm.
</snip>
Running Stefan's
FixPagelayout
utility fixed the problem.
Wednesday, 11 February 2009 15:43:46 (GMT Standard Time, UTC+00:00)
Comments [0]
|
Trackback
Comments are closed.
On this page....
Archives
<
2018 April
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
Search
Navigation
Home
Categories
SharePoint (1)
Silverlight (1)
VideoBrush (1)
workaround (1)
March, 2009 (1)
February, 2009 (2)
November, 2008 (1)
July, 2008 (3)
June, 2008 (1)
SharePoint
Silverlight
VideoBrush
workaround
Blogroll
About
Powered by: newtelligence dasBlog 2.0.7226.0
© Copyright 2018, Sherwin Rice
E-mail
Sign In