<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A rolling stone gathers no... MOSS 2007 / SharePoint 2010 &#187; Bugs</title>
	<atom:link href="http://statto1974.wordpress.com/category/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://statto1974.wordpress.com</link>
	<description>My musings on SharePoint products and technologies</description>
	<lastBuildDate>Mon, 26 Oct 2009 15:49:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='statto1974.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c0d72f166c2a7a17fc1b00b13ec3c270?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>A rolling stone gathers no... MOSS 2007 / SharePoint 2010 &#187; Bugs</title>
		<link>http://statto1974.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://statto1974.wordpress.com/osd.xml" title="A rolling stone gathers no&#8230; MOSS 2007 / SharePoint 2010" />
		<item>
		<title>Matching the ScopeId from SPAuditEntry.EventData to SPListItem</title>
		<link>http://statto1974.wordpress.com/2008/02/06/matching-the-scopeid-from-spauditentryeventdata-to-splistitem/</link>
		<comments>http://statto1974.wordpress.com/2008/02/06/matching-the-scopeid-from-spauditentryeventdata-to-splistitem/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 09:09:26 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Auditing]]></category>
		<category><![CDATA[Bugs]]></category>

		<guid isPermaLink="false">http://statto1974.wordpress.com/?p=33</guid>
		<description><![CDATA[To match the ScopeId in the EventData property of the SPAuditEntry to a SPListItem you need to use the hidden column &#8216;ScopeId&#8217; and not the Id property of SPListItem.
Here is what I mean
The following XML is returned in the EventData proprty for a SPAuditEventType of SecRoleBindUpdate. To match the Scope returned in the XML to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=33&subd=statto1974&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To match the ScopeId in the EventData property of the SPAuditEntry to a SPListItem you need to use the hidden column &#8216;ScopeId&#8217; and not the Id property of SPListItem.</p>
<p>Here is what I mean</p>
<p>The following XML is returned in the EventData proprty for a SPAuditEventType of SecRoleBindUpdate. To match the Scope returned in the XML to SPSite, SPWeb and SPList object you would use the Id property of this object, but not for the SPListItem.</p>
<p>&lt;roleid&gt;1073741826&lt;/roleid&gt;<br />
&lt;principalid&gt;11&lt;/principalid&gt;<br />
&lt;scope&gt;72EEC412-B14B-4EFB-AB95-EA821A3A4C63&lt;/scope&gt;</p>
<p>You need to use the &#8216;ScopeId&#8217; column of the SPListItem</p>
<p>So why can&#8217;t I just use the SPAuditQuery.RestrictToListItem method to return the audit entries for that SPListItem.</p>
<p>It doesn&#8217;t work, that&#8217;s why and this has been confirmed by MS Support.</p>
<p>Here is a workaround that will link the ScopeId to the SPListItem that triggered the audit entry</p>
<p><code><br />
using System;<br />
using System.Collections.Generic;<br />
using System.Text;<br />
using Microsoft.SharePoint;</code><code>namespace ConsoleApplication1<br />
{<br />
  class Program<br />
  {<br />
  static void Main(string[] args)<br />
  {</p>
<p>string siteUrl = "http://url";<br />
  string listName = "TheList";<br />
  string scopeIdFromItem = string.Empty;<br />
  string scopeIdFromChange = string.Empty;</p>
<p>try<br />
  {<br />
  using (SPSite site = new SPSite(siteUrl))<br />
  {<br />
  using (SPWeb web = site.OpenWeb())<br />
  {</p>
<p>SPList list = web.Lists[listName];</p>
<p>SPRegionalSettings regionalSettings = web.RegionalSettings;<br />
  SPTimeZone timeZone = regionalSettings.TimeZone;</p>
<p>SPAuditQuery query = new SPAuditQuery(site);<br />
  SPAuditEntryCollection auditEntries = site.Audit.GetEntries(query);</p>
<p>foreach (SPAuditEntry auditEntry in auditEntries)<br />
  {<br />
  if (IsSecurityEvent(auditEntry))<br />
  {<br />
  try<br />
  {<br />
  if (auditEntry.Event.ToString().ToUpper() == "SECROLEBINDUPDATE")<br />
  {</p>
<p>// Should really do a proper XML query here, but for demo just do some string stuff<br />
  scopeIdFromChange = auditEntry.EventData.ToString().Substring((auditEntry.EventData.ToString().Length - 44), 36);</p>
<p>foreach (SPListItem item in list.Items)<br />
  {</p>
<p>// Square brackets round the scope id need to be removed<br />
  scopeIdFromItem = item["ScopeId"].ToString().Substring(1, 36);</p>
<p>if (scopeIdFromChange == scopeIdFromItem)<br />
  {<br />
  Console.Write("Event Data : "); Console.WriteLine(auditEntry.EventData.ToString());<br />
  Console.Write("Occurred : "); Console.WriteLine(timeZone.UTCToLocalTime(auditEntry.Occurred));</p>
<p>if (list.BaseType == SPBaseType.DocumentLibrary)<br />
  {<br />
  Console.WriteLine("Security changed on file: " + item.File.ToString());<br />
  }<br />
  if (list.BaseType == SPBaseType.GenericList)<br />
  {<br />
  Console.WriteLine("Security changed on item: " + item.Name.ToString());<br />
  }<br />
  }<br />
  else<br />
  {<br />
  Console.WriteLine("No item found in list " + siteUrl + "/" + listName + " for " + auditEntry.EventData.ToString());<br />
  }<br />
  }<br />
  }<br />
  }<br />
  catch (Exception ex)<br />
  {<br />
  Console.WriteLine(ex.Message.ToString());<br />
  }</p>
<p>}<br />
  }<br />
  }<br />
  }<br />
  }<br />
  catch (Exception ex)<br />
  {<br />
  Console.WriteLine(ex.Message);<br />
  }<br />
  }</p>
<p>private static bool IsSecurityEvent(SPAuditEntry entryToTest)<br />
  {<br />
  SPAuditEventType[] SECURITY_EVENTS = new SPAuditEventType[]<br />
  {<br />
  SPAuditEventType.SecGroupCreate,<br />
  SPAuditEventType.SecGroupDelete,<br />
  SPAuditEventType.SecGroupMemberAdd,<br />
  SPAuditEventType.SecGroupMemberDel,<br />
  SPAuditEventType.SecRoleBindBreakInherit,<br />
  SPAuditEventType.SecRoleBindInherit,<br />
  SPAuditEventType.SecRoleBindUpdate,<br />
  SPAuditEventType.SecRoleDefBreakInherit,<br />
  SPAuditEventType.SecRoleDefCreate,<br />
  SPAuditEventType.SecRoleDefDelete,<br />
  SPAuditEventType.SecRoleDefModify<br />
  };</p>
<p>foreach (SPAuditEventType eventType in SECURITY_EVENTS)<br />
  {<br />
  if (eventType == entryToTest.Event) return true;<br />
  }</p>
<p>return false;</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p></code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/statto1974.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/statto1974.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statto1974.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statto1974.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/statto1974.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/statto1974.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/statto1974.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/statto1974.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/statto1974.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/statto1974.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/statto1974.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/statto1974.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=33&subd=statto1974&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://statto1974.wordpress.com/2008/02/06/matching-the-scopeid-from-spauditentryeventdata-to-splistitem/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64ee6e5e0ecaca8c6af952db6a29fc89?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">statto1974</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Attempted to read write to protected memory&#8221; error on NLB Web Frontend Server</title>
		<link>http://statto1974.wordpress.com/2007/11/26/attempted-to-read-write-to-protected-memory-error-on-nlb-web-frontend-server/</link>
		<comments>http://statto1974.wordpress.com/2007/11/26/attempted-to-read-write-to-protected-memory-error-on-nlb-web-frontend-server/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 12:22:00 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Bugs]]></category>

		<guid isPermaLink="false">http://statto1974.wordpress.com/2007/11/26/attempted-to-read-write-to-protected-memory-error-on-nlb-web-frontend-server/</guid>
		<description><![CDATA[We were getting an error on one of our Load balanced web servers. 
First of all we got &#8220;Attempted to read write to protected memory&#8221; error followed by the &#8220;The path specified cannot be used at this time&#8221; which is then logged every minute in the event viewer on our server.
This then ends up using all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=32&subd=statto1974&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:10pt;font-family:'Verdana','sans-serif';">We were getting an error on one of our Load balanced web servers. </span></p>
<p><span style="font-size:10pt;font-family:'Verdana','sans-serif';">First of all we got &#8220;Attempted to read write to protected memory&#8221; error followed by the &#8220;The path specified cannot be used at this time&#8221; which is then logged every minute in the event viewer on our server.</span></p>
<p><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">This then ends up using all the resources on that server, which then makes the server become unavailable. Once the machine becomes unavailable it will move onto the next server and kill that one.</span></span></p>
<p><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">This was reported to Microsoft support and they identified it as a bug that will be fixed in SP1.</span></span></p>
<p><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">In the meantime the following will need to be done to work around this problem</span></span></p>
<ol>
<li><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">Install the following hotfix 923028 </span></span></span></li>
<li><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"></span></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">Retype the password for the search service from The central administrator page.</span></span></span></li>
<li><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">Run “services.msc” and </span></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">select the Windows SharePoint Services Timer<br />
</span></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">Make sure the service is running with a MOSS service account, </span></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">if it is running with MOSS services account then </span></span></span><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">stop the service, retype the password and then start the service account again</span></span></span></li>
<li><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">Install / script a tool that automatically restarts the Windows SharePoint Services Timer when the following Event IDs are raised; 6398, 6482 and 7076. Microsoft Support maybe able to provide you with this tool if you raise a support request with them.</span></span></span></li>
</ol>
<p><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"> This is a particularly scary bug to be appearing in a &#8220;Production&#8221; ready product, especially as it is only happening in the farm environment and can take down you whole farm. </span></span></span></p>
<p><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';"><span style="font-size:10pt;font-family:'Verdana','sans-serif';">I believe there needs to be more information on the whole way SharePoint propagates between servers in a farm, there seems to be little understanding of it presently.</span></span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/statto1974.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/statto1974.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statto1974.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statto1974.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/statto1974.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/statto1974.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/statto1974.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/statto1974.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/statto1974.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/statto1974.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/statto1974.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/statto1974.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=32&subd=statto1974&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://statto1974.wordpress.com/2007/11/26/attempted-to-read-write-to-protected-memory-error-on-nlb-web-frontend-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64ee6e5e0ecaca8c6af952db6a29fc89?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">statto1974</media:title>
		</media:content>
	</item>
		<item>
		<title>Be careful when editing the application.master page</title>
		<link>http://statto1974.wordpress.com/2007/10/29/be-careful-when-editing-the-applicationmaster-page/</link>
		<comments>http://statto1974.wordpress.com/2007/10/29/be-careful-when-editing-the-applicationmaster-page/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 09:00:09 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Master Pages]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://statto1974.wordpress.com/2007/10/29/be-careful-when-editing-the-applicationmaster-page/</guid>
		<description><![CDATA[Here&#8217;s an odd one.
We had customized our master pages by adding in the Search WebPart, so we could customize some of the parameters
We changed the following:
&#60;asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"&#62;&#60;/asp:ContentPlaceHolder&#62;
To the following:
&#60;asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"&#62;
&#60;SPSWC:SearchBoxEx webpart="true" runat="server" __webpartid="{2883947B-2B5C-4A56-92B3-33B7383F7C0D}" id="SearchBoxEx1"&#62;&#60;WebPart xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/WebPart/v2"&#62;
  &#60;Title /&#62;
  &#60;FrameType&#62;None&#60;/FrameType&#62;
  &#60;Description&#62;Used to search document and items.&#60;/Description&#62;
  &#60;IsIncluded&#62;true&#60;/IsIncluded&#62;
  &#60;ZoneID&#62;ImportedPartZone&#60;/ZoneID&#62;
  &#60;PartOrder&#62;0&#60;/PartOrder&#62;
  &#60;FrameState&#62;Normal&#60;/FrameState&#62;
  &#60;Height /&#62;
  &#60;Width [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=26&subd=statto1974&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here&#8217;s an odd one.</p>
<p>We had customized our master pages by adding in the Search WebPart, so we could customize some of the parameters</p>
<p>We changed the following:</p>
<p><code>&lt;asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"&gt;&lt;/asp:ContentPlaceHolder&gt;</code></p>
<p>To the following:</p>
<p><code>&lt;asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"&gt;<br />
&lt;SPSWC:SearchBoxEx webpart="true" runat="server" __webpartid="{2883947B-2B5C-4A56-92B3-33B7383F7C0D}" id="SearchBoxEx1"&gt;&lt;WebPart xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns="<a href="http://schemas.microsoft.com/WebPart/v2">http://schemas.microsoft.com/WebPart/v2</a>"&gt;<br />
  &lt;Title /&gt;<br />
  &lt;FrameType&gt;None&lt;/FrameType&gt;<br />
  &lt;Description&gt;Used to search document and items.&lt;/Description&gt;<br />
  &lt;IsIncluded&gt;true&lt;/IsIncluded&gt;<br />
  &lt;ZoneID&gt;ImportedPartZone&lt;/ZoneID&gt;<br />
  &lt;PartOrder&gt;0&lt;/PartOrder&gt;<br />
  &lt;FrameState&gt;Normal&lt;/FrameState&gt;<br />
  &lt;Height /&gt;<br />
  &lt;Width /&gt;<br />
  &lt;AllowRemove&gt;true&lt;/AllowRemove&gt;<br />
  &lt;AllowZoneChange&gt;true&lt;/AllowZoneChange&gt;<br />
  &lt;AllowMinimize&gt;true&lt;/AllowMinimize&gt;<br />
  &lt;AllowConnect&gt;true&lt;/AllowConnect&gt;<br />
  &lt;AllowEdit&gt;true&lt;/AllowEdit&gt;<br />
  &lt;AllowHide&gt;true&lt;/AllowHide&gt;<br />
  &lt;IsVisible&gt;true&lt;/IsVisible&gt;<br />
  &lt;DetailLink /&gt;<br />
  &lt;HelpLink /&gt;<br />
  &lt;HelpMode&gt;Modeless&lt;/HelpMode&gt;<br />
  &lt;Dir&gt;Default&lt;/Dir&gt;<br />
  &lt;PartImageSmall /&gt;<br />
  &lt;MissingAssembly&gt;Cannot import this Web Part.&lt;/MissingAssembly&gt;<br />
  &lt;PartImageLarge /&gt;<br />
  &lt;IsIncludedFilter /&gt;<br />
  &lt;ExportControlledProperties&gt;true&lt;/ExportControlledProperties&gt;<br />
  &lt;ConnectionID&gt;00000000-0000-0000-0000-000000000000&lt;/ConnectionID&gt;<br />
  &lt;ID&gt;g_455588d4_92a9_484e_9273_9221d7a9a97f&lt;/ID&gt;<br />
  &lt;GoImageUrl xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;/_layouts/images/gosearch.gif&lt;/GoImageUrl&gt;<br />
  &lt;GoImageUrlRTL xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;/_layouts/images/goRTL.gif&lt;/GoImageUrlRTL&gt;<br />
  &lt;GoImageActiveUrl xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;/_layouts/images/gosearch.gif&lt;/GoImageActiveUrl&gt;<br />
  &lt;GoImageActiveUrlRTL xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;/_layouts/images/goRTL.gif&lt;/GoImageActiveUrlRTL&gt;<br />
  &lt;DropDownModeEx xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;ShowDD_DefaultContextual&lt;/DropDownModeEx&gt;<br />
  &lt;AdvancedSearchPageURL xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;/SearchCenter/Pages/advanced.aspx&lt;/AdvancedSearchPageURL&gt;<br />
  &lt;SearchResultPageURL xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;/SearchCenter/Pages/results.aspx&lt;/SearchResultPageURL&gt;<br />
  &lt;ScopeDisplayGroupName xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;Search Dropdown&lt;/ScopeDisplayGroupName&gt;<br />
  &lt;RegisterStyles xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;true&lt;/RegisterStyles&gt;<br />
  &lt;ShouldTakeFocusIfEmpty xmlns="urn:schemas-microsoft-com:SearchBoxEx"&gt;false&lt;/ShouldTakeFocusIfEmpty&gt;<br />
                &lt;/WebPart&gt;<br />
&lt;/SPSWC:SearchBoxEx&gt;<br />
&lt;/asp:ContentPlaceHolder&gt;</code></p>
<p>We did this in all our master pages including the application.master page.</p>
<p>All was working fine until we tried to delete a column in a list and we go the &#8220;Unknown Error&#8221; message and the column wasn&#8217;t deleted.</p>
<p>The following error message was be ing logged</p>
<p><code>Application error when access /_layouts/mngfield.aspx, Error=Unable to validate data.   at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32&amp; dataLength)     at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) </code></p>
<p>After of a month or so of investigation with Microsoft support, we discovered that the Search Webpart was causing the problem in the application.master page and causing a conflict in one of the application pages in the &#8220;Layouts&#8221; directory, specifically the mngfield.aspx page.</p>
<p>We have removed the Search WebPart from the application.master page and all seems to be working fine.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/statto1974.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/statto1974.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statto1974.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statto1974.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/statto1974.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/statto1974.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/statto1974.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/statto1974.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/statto1974.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/statto1974.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/statto1974.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/statto1974.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=26&subd=statto1974&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://statto1974.wordpress.com/2007/10/29/be-careful-when-editing-the-applicationmaster-page/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64ee6e5e0ecaca8c6af952db6a29fc89?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">statto1974</media:title>
		</media:content>
	</item>
		<item>
		<title>Limit number of versions to retain in a document library doesn&#8217;t work</title>
		<link>http://statto1974.wordpress.com/2007/06/18/limit-number-of-versions-to-retain-in-a-document-library-doesnt-work/</link>
		<comments>http://statto1974.wordpress.com/2007/06/18/limit-number-of-versions-to-retain-in-a-document-library-doesnt-work/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 10:21:53 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Document Libraries]]></category>

		<guid isPermaLink="false">http://statto1974.wordpress.com/2007/06/18/limit-number-of-versions-to-retain-in-a-document-library-doesnt-work/</guid>
		<description><![CDATA[UPDATE
I have had an update from Microsoft on this issue, apparently the wording is wrong.
It will retain the number of major versions entered, but the number for minor versions is not to limit the number of minor versions, but to limit the number of major versions that have minor versions (Does that make sense?).
For example, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=25&subd=statto1974&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong><font color="#993300">UPDATE</font></strong></p>
<p><font color="#993300">I have had an update from Microsoft on this issue, apparently the wording is wrong.</font></p>
<p><font color="#993300">It will retain the number of major versions entered, but the number for minor versions is not to limit the number of minor versions, but to limit the number of major versions that have minor versions (Does that make sense?).</font></p>
<p><font color="#993300">For example, if I set major versions to 10 and minor versions to 2, it will show me 10 major versions of which 10 and 9 will have minor versions still available.</font></p>
<p><font color="#993300">The problem here is that I can still create 100 minor versions so this is not helping me limit the amount of versions my users keep and keep my storage costs down</font></p>
<p>n a document library under &#8220;Versioning Settings&#8221; you can choose to set the number of major and minor versions to retain.</p>
<p><img width="354" src="http://statto1974.files.wordpress.com/2007/06/numbertoretain.png?w=354&#038;h=239" alt="Number of version to retain" height="239" /></p>
<p>This does not work! You are still able to create more than the number of versions specified in both major and minor</p>
<p>Version</p>
<p><img width="227" src="http://statto1974.files.wordpress.com/2007/06/versions.png?w=227&#038;h=478" alt="Version" height="478" style="width:305px;height:488px;" /></p>
<p>I have spoken to Microsoft and they have confirmed this to be a &#8220;design limitation&#8221;. Has anyone ever got someone at Microsoft to say &#8220;bug&#8221;?</p>
<p>I&#8217;ll keep you updated if I get a fix for this.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/statto1974.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/statto1974.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statto1974.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statto1974.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/statto1974.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/statto1974.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/statto1974.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/statto1974.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/statto1974.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/statto1974.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/statto1974.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/statto1974.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=25&subd=statto1974&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://statto1974.wordpress.com/2007/06/18/limit-number-of-versions-to-retain-in-a-document-library-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64ee6e5e0ecaca8c6af952db6a29fc89?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">statto1974</media:title>
		</media:content>

		<media:content url="http://statto1974.files.wordpress.com/2007/06/numbertoretain.png" medium="image">
			<media:title type="html">Number of version to retain</media:title>
		</media:content>

		<media:content url="http://statto1974.files.wordpress.com/2007/06/versions.png" medium="image">
			<media:title type="html">Version</media:title>
		</media:content>
	</item>
		<item>
		<title>Indexing external content with a case sensitive URL</title>
		<link>http://statto1974.wordpress.com/2007/05/29/indexing-external-content-with-a-case-sensitive-url/</link>
		<comments>http://statto1974.wordpress.com/2007/05/29/indexing-external-content-with-a-case-sensitive-url/#comments</comments>
		<pubDate>Tue, 29 May 2007 19:39:24 +0000</pubDate>
		<dc:creator>Toby</dc:creator>
				<category><![CDATA[Bugs]]></category>

		<guid isPermaLink="false">http://statto1974.wordpress.com/2007/05/29/indexing-external-content-with-a-case-sensitive-url/</guid>
		<description><![CDATA[There is currently a bug in MOSS 2007 search that automatically converts any URLs entered to lower-case.
We had a site hosted on a UNIX server that had a case sensitive URL, so when I entered http://server.net/Start/Welcome.html MOSS 2007 converted it to http://server.net/start/welcome.html and then tried to crawl this URL, but UNIX would return a &#8220;page could [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=21&subd=statto1974&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is currently a bug in MOSS 2007 search that automatically converts any URLs entered to lower-case.</p>
<p>We had a site hosted on a UNIX server that had a case sensitive URL, so when I entered <a href="http://server.net/Start/Welcome.html">http://server.net/Start/Welcome.html</a> MOSS 2007 converted it to <a href="http://server.net/start/welcome.html">http://server.net/start/welcome.html</a> and then tried to crawl this URL, but UNIX would return a &#8220;page could not be found&#8221; error.</p>
<p>Microsoft provided us with a hotfix for this, so if you have the same problem I suggest you raise a support request. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/statto1974.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/statto1974.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/statto1974.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/statto1974.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/statto1974.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/statto1974.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/statto1974.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/statto1974.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/statto1974.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/statto1974.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/statto1974.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/statto1974.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=statto1974.wordpress.com&blog=1043105&post=21&subd=statto1974&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://statto1974.wordpress.com/2007/05/29/indexing-external-content-with-a-case-sensitive-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/64ee6e5e0ecaca8c6af952db6a29fc89?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">statto1974</media:title>
		</media:content>
	</item>
	</channel>
</rss>