<?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/"
	>

<channel>
	<title>SpinPlate &#187; stsadm</title>
	<atom:link href="http://spinplate.com/tag/stsadm/feed/" rel="self" type="application/rss+xml" />
	<link>http://spinplate.com</link>
	<description>Just keeping the plates from falling.</description>
	<lastBuildDate>Wed, 02 Jun 2010 20:50:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>&#8220;The list is too large to save as a template.&#8221;</title>
		<link>http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/</link>
		<comments>http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 17:51:13 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[stsadm]]></category>

		<guid isPermaLink="false">http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/</guid>
		<description><![CDATA[If you’re working with a SharePoint 2007 environment with multiple site collections but do not have access to cool tools to manage moving content around, then you may have had this problem:&#160; Someone needed to move a Document Library from one site collection to another one.&#160; The only viable way to do this is to [...]]]></description>
			<content:encoded><![CDATA[<p>If you’re working with a SharePoint 2007 environment with multiple site collections but do not have access to <a href="http://www.metalogix.net/products/sharepoint-site-migration-manager/" target="_blank">cool tools to manage moving content around</a>, then you may have had this problem:&#160; </p>
<p>Someone needed to move a Document Library from one site collection to another one.&#160; The only viable way to do this is to go to the library settings for that doc library and export it as a list template with content.&#160; When I did that I received the in-SharePoint error saying: </p>
<blockquote><p>“The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.”&#160; </p>
</blockquote>
<p>This poses a problem because the only other (non third-party tool) way to do this would involve exporting a copy of the original site and then importing it into the destination site collection so that I would be able to use Site Manager to move the list.</p>
<p>Well it turns out there is an undocumented property that can be modified to change this.&#160; Run the following command to see what your farm is currently set to:</p>
<blockquote><p>stsadm.exe –o getproperty -propertyname max-template-document-size</p>
</blockquote>
<p>Chances are the reply will be “&lt;Property Exist=No&quot; /&gt;”, which means that you are using the default setting of 10 MB as your limit.&#160; You can set the limit to something higher by using the “setproperty” switch.&#160; For example:</p>
<blockquote><p>stsadm -o setproperty -propertyname max-template-document-size –propertyvalue 500000000</p>
</blockquote>
<p>would increase the limit to about 60 MB.</p>
<p>In my case this was really a one-time thing so, after I had created the copy of the document library, I set the size back to the original 10485760 byte value.</p>
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2009/11/the-list-is-too-large-to-save-as-a-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshoot MOSS Profile Sync Issues</title>
		<link>http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/</link>
		<comments>http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:52:56 +0000</pubDate>
		<dc:creator>PlateSpinner</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[stsadm]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/</guid>
		<description><![CDATA[There was a problem at a client site where user profiles were not getting synced on certain content databases while others were getting synced. Out of the box, MOSS is set to run the profile sync timer job once every hour.&#160; So I ran the following command to show me which content DBs haven’t been [...]]]></description>
			<content:encoded><![CDATA[<p>There was a problem at a client site where user profiles were not getting synced on certain content databases while others were getting synced.</p>
<p>Out of the box, MOSS is set to run the profile sync timer job once every hour.&#160; So I ran the following command to show me which content DBs haven’t been synced in the last day:</p>
<blockquote><p>stsadm.exe -o sync -listolddatabases 1</p>
</blockquote>
<p>On my vpc, it looks like this:</p>
<p><a href="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image_thumb.png" width="526" height="96" /></a> </p>
<p>This looks helpful except for the fact that nobody knows what the GUID of their content DBs are.&#160; On the client farm there some DBs with very old dates and I could tell something was wrong.&#160; I needed to figure out what the names of the DBs with the old GUIDs are.&#160; The easiest way to do that is to browse to Central Administration and mouse-over your content DBs.&#160; Then you can eyeball the DB GUIDs in the status bar of your browser as it shows you the URL of the hyperlink.&#160; It looks like this:</p>
<p><a href="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image_3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://spinplate.com/images/blogimages/TroubleshootMOSSProfileSyncIssues_CD45/image_thumb_3.png" width="531" height="276" /></a> </p>
<p>The GUID of the content DB you are pointing to starts after the “DatabaseID=%7B” in your status bar. Also take note that the “%2D” in the status bar refers to the hyphen character.&#160; Now you know the GUID of that SharePoint Content Database.</p>
<p>I tried going back to the command-line to use stsadm to force it to sync.&#160; To do that I just typed in:</p>
<blockquote><p>stsadm.exe –o sync</p>
</blockquote>
<p>I waited a while and even checked the timer job status in Central Admin and waited for it to say the Profile Sync job had completed successfully.&#160; It turns out that this sync command only forces the “quick” version which does not go through the same job that that is scheduled for every hour.&#160; I was disappointed to see that my content database did not get updated so now I used stsadm to wipe out my profile sync info for the databases with old data.&#160; The following command will delete the profile sync data for databases that haven’t been synced in the last day:</p>
<blockquote><p>stsadm.exe –o sync –deleteolddatabases</p>
</blockquote>
<p>I was feeling good about myself at this point but after double-checking my work I learned that it STILL had not synced.&#160; There was no getting around it, I had to look at the ULS logs.&#160; When I poked around I found a line that kept showing up that alarmed me.&#160; Referring to “SharePoint Portal Server User Profiles” the description portion of the error said something like “Aborting sweepsynch for guid instance {SomeGUID} due to null or non-online content database”.</p>
<p>This sounded familiar to me because I knew we had left some content databases in “offline” mode to prevent them from getting new site collections created in them (they’re already too big).&#160; So when I looked back in Central Administration to see which databases were offline, it turned out to be every one of the ones that weren’t syncing the profiles.</p>
<p>This isn’t documented anywhere but it looks like content databases that are marked as “offline” in central administration will not get synced with profile sync jobs.&#160; Once I turned them all back to “ready”, I had a very looooong running profile sync job after that and it was all clear from there on out.</p>
]]></content:encoded>
			<wfw:commentRss>http://spinplate.com/2009/11/troubleshoot-moss-profile-sync-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
