<?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>Donal Conlon</title>
	<atom:link href="http://donalconlon.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://donalconlon.wordpress.com</link>
	<description>Staking a claim in the SharePoint galaxy.</description>
	<lastBuildDate>Sat, 14 Jan 2012 18:03:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='donalconlon.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Donal Conlon</title>
		<link>http://donalconlon.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://donalconlon.wordpress.com/osd.xml" title="Donal Conlon" />
	<atom:link rel='hub' href='http://donalconlon.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Hiding the Newsfeed Settings in the Edit Profile Page (and a little on Profile Sub-Types)</title>
		<link>http://donalconlon.wordpress.com/2011/06/29/hiding-the-newsfeed-settings-in-the-edit-profile-page-and-a-little-on-profile-sub-types/</link>
		<comments>http://donalconlon.wordpress.com/2011/06/29/hiding-the-newsfeed-settings-in-the-edit-profile-page-and-a-little-on-profile-sub-types/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 22:07:10 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/06/29/hiding-the-newsfeed-settings-in-the-edit-profile-page-and-a-little-on-profile-sub-types/</guid>
		<description><![CDATA[I had a need to hide the Activities I am following section in the edit profile page.&#160; The reason was, we did not want to roll this out initially, but we still needed the social framework for other stuff. If you remember, when you go to the bottom of the Edit Profile page, you will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=443&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a need to hide the <strong>Activities I am following</strong> section in the edit profile page.&#160; The reason was, we did not want to roll this out initially, but we still needed the social framework for other stuff.</p>
<p>If you remember, when you go to the bottom of the <strong>Edit Profile page</strong>, you will see a section called <strong>Newsfeed Settings</strong></p>
<p><a href="http://donalconlon.files.wordpress.com/2011/06/snaghtml15942c1f.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML15942c1f" border="0" alt="SNAGHTML15942c1f" src="http://donalconlon.files.wordpress.com/2011/06/snaghtml15942c1f_thumb.png?w=386&#038;h=203" width="386" height="203" /></a></p>
<p>Now, lets take a look at this section in central admin under Manage User Properties (under the User Profile Service Application management page). Hover over the Newsfeed Settings title and select Edit to edit it’s properties.</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/06/snaghtml15965ba7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML15965ba7" border="0" alt="SNAGHTML15965ba7" src="http://donalconlon.files.wordpress.com/2011/06/snaghtml15965ba7_thumb.png?w=396&#038;h=86" width="396" height="86" /></a></p>
<p>Here you will see that this section is associated with the Sub-type of Profile called <strong>Default User Profile Subtype</strong></p>
<p><a href="http://donalconlon.files.wordpress.com/2011/06/snaghtml159830e0.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML159830e0" border="0" alt="SNAGHTML159830e0" src="http://donalconlon.files.wordpress.com/2011/06/snaghtml159830e0_thumb.png?w=395&#038;h=140" width="395" height="140" /></a></p>
<p>Trying to deselect this will throw an error, as it has to be associated with some Sub-type.&#160; So lets create another sub-type.&#160; From the <strong>Manage Sub-types</strong> page, we create a new Sub-type called <strong>No Newsfeed</strong>.</p>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/06/snaghtml159a5e85.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML159a5e85" border="0" alt="SNAGHTML159a5e85" src="http://donalconlon.files.wordpress.com/2011/06/snaghtml159a5e85_thumb.png?w=399&#038;h=183" width="399" height="183" /></a></p>
<p>Now if we go back to edit the Newsfeed Settings section in Manage Properties, we can dis-associate this section from the <strong>Default User Profile Subtype.</strong></p>
<p><strong><a href="http://donalconlon.files.wordpress.com/2011/06/snaghtml159ca3fd.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML159ca3fd" border="0" alt="SNAGHTML159ca3fd" src="http://donalconlon.files.wordpress.com/2011/06/snaghtml159ca3fd_thumb.png?w=401&#038;h=187" width="401" height="187" /></a></strong>.</p>
<p>Save everything and now go back to the <strong>Edit profile page </strong>(give it a minute to catch-up).&#160; No more <strong>Activities I am Following</strong> section!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/443/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/443/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/443/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=443&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/06/29/hiding-the-newsfeed-settings-in-the-edit-profile-page-and-a-little-on-profile-sub-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/06/snaghtml15942c1f_thumb.png" medium="image">
			<media:title type="html">SNAGHTML15942c1f</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/06/snaghtml15965ba7_thumb.png" medium="image">
			<media:title type="html">SNAGHTML15965ba7</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/06/snaghtml159830e0_thumb.png" medium="image">
			<media:title type="html">SNAGHTML159830e0</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/06/snaghtml159a5e85_thumb.png" medium="image">
			<media:title type="html">SNAGHTML159a5e85</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/06/snaghtml159ca3fd_thumb.png" medium="image">
			<media:title type="html">SNAGHTML159ca3fd</media:title>
		</media:content>
	</item>
		<item>
		<title>Hide &#8220;Personalize This Page&#8221; option for SharePoint site</title>
		<link>http://donalconlon.wordpress.com/2011/04/28/hide-personalize-this-page-option-for-sharepoint-site/</link>
		<comments>http://donalconlon.wordpress.com/2011/04/28/hide-personalize-this-page-option-for-sharepoint-site/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 20:40:03 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/04/28/hide-personalize-this-page-option-for-sharepoint-site/</guid>
		<description><![CDATA[SharePoint allows you to create a personalized version of a web part page.&#160; This means you can add/remove web parts or modify some web part properties that allow personalization changes. So you don’t want your users to be able to personalize pages?&#160; Here’s how. Central Admin –&#62; Web applications Select the web application you want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=432&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SharePoint allows you to create a personalized version of a web part page.&#160; This means you can add/remove web parts or modify some web part properties that allow personalization changes.</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image9.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb9.png?w=292&#038;h=342" width="292" height="342" /></a></p>
<p>So you don’t want your users to be able to personalize pages?&#160; Here’s how.</p>
<p>Central Admin –&gt; Web applications</p>
<p>Select the web application you want to apply changes (sadly this is changes applies to the full web app).</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image10.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb10.png?w=480&#038;h=129" width="480" height="129" /></a></p>
<p>Scroll to the bottom of the list of options and observe the last two.</p>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image11.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb11.png?w=480&#038;h=239" width="480" height="239" /></a></p>
<p>Clear the options “Add/Remove Personal Web Parts” and “Update Personal Web Parts”, to prevent the user personalizing the web part page.</p>
<p>Now the user cannot personalize the page!</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image12.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb12.png?w=277&#038;h=275" width="277" height="275" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/432/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=432&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/04/28/hide-personalize-this-page-option-for-sharepoint-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Fun with Filters (User Profile Synchronization).  Somebody shoot me now.</title>
		<link>http://donalconlon.wordpress.com/2011/04/26/fun-with-filters-user-profile-synchronization-somebody-shoot-me-now/</link>
		<comments>http://donalconlon.wordpress.com/2011/04/26/fun-with-filters-user-profile-synchronization-somebody-shoot-me-now/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 20:57:41 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Profile Service]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/04/26/fun-with-filters-user-profile-synchronization-somebody-shoot-me-now/</guid>
		<description><![CDATA[While doing a migration from MOSS 2007 to SPS 2010, I had to import all the existing profiles from the SSP.&#160; The steps to this work pretty well, so yay for that. The previous sync connection to AD had a custom connection for the source using an LDAP query: (&#38;(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2))) Translated means, only give [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=420&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While doing a migration from MOSS 2007 to SPS 2010, I had to import all the existing profiles from the SSP.&#160; The steps to this work pretty well, so yay for that.</p>
<p>The previous sync connection to AD had a custom connection for the source using an LDAP query:</p>
<p><font size="1">(&amp;(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2)))</font></p>
<p>Translated means, only give me users and enabled accounts.&#160; Not terribly unusual for a sync connection.</p>
<p>See how easy that was?&#160; Call your directory guy, ask for a query to filter out disabled accounts and non-users, copy string from email, paste into user filter field.&#160; Save. Done.</p>
<p>Nice, so lets do that with our User Profile Connection.</p>
<p>And so the problems begin…</p>
<h3><strong>1. Not inclusive, Exclusive!</strong></h3>
<p>MOSS 2007 filters were inclusive, i.e you gave it a query that define all users to include in the syncronization.</p>
<p>SPS 2010 does the opposite.&#160; It makes you pick your containers to sync and then you apply exclusion filters.</p>
<h3><strong>2. No pasty the query</strong></h3>
<p>Either Microsoft decided LDAP queries were to much for SharePoint folk to handle, or they really like trees, or something, but now you have to use an interface to build out your query.&#160; So you create your new connection by specifying your source details (in this case AD forest, and sync account details. Then you populate a shiny tree in a box that represents your directory objects.</p>
<p>Doesn’t that look nice!&#160; So lets go and select our IT group to sync for starters.&#160; They’re in DOMAIN\AMRS\DEPTS\USERS\IT.&#160; No problem</p>
<p>expand DOMAIN</p>
<p>wait…………….</p>
<p>expand AMRS</p>
<p>wait…………….</p>
<p>expand DEPTS</p>
<p>wait………………………………</p>
<p>expand USERS</p>
<p>wait…………………………………………………</p>
<p>Select IT</p>
<p>That was such an efficient experience, and only took me 3 cups of coffee.</p>
<p>CRAP!#!&#160; I just clicked the “select all” (conveniently located close to the ok button), so now I have to do it all again.</p>
<p>Can’t wait until I have to do this in production where I have several containers I want to select.</p>
<h3>3. Filters, are painnnnnfulllllll</h3>
<p>Well, we have our connection defined, time to add some filters to it.</p>
<p>Lets do the same as before, no disabled accounts and only users as defined by <strong>objectClass</strong> or <strong>objectCategory</strong>.&#160; </p>
<p>Easy one first, disabled users is defined by </p>
<p><strong>userAccountControl bit on equals 2</strong>.&#160; No problem.&#160; Select <strong>userAccountControl</strong> from the Attribute list, and wait for it to post back to get the applicable operators….. and wait…. (coz it ain’t that fast).</p>
<p>Great, I set bit on equals 2 and click <strong>Add</strong>.&#160; </p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb1.png?w=480&#038;h=117" width="480" height="117" /></a></p>
<p>and wait………..</p>
<p>ok, we have our first exclusion filter.&#160; </p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image2.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb2.png?w=480&#038;h=64" width="480" height="64" /></a></p>
<p>No problem there, and if that’s the only filter you’d be golden.&#160; But we want more.</p>
<p>Let’s exclude accounts that are not <strong>objectClass</strong> equals <strong>user</strong>.</p>
<p>Where’s the objectClass attribute&quot;?</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image3.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb3.png?w=412&#038;h=310" width="412" height="310" /></a></p>
<p>Looks like there isn’t one.&#160; Even though there is.&#160; </p>
<p>Moving onto the <strong>objectCategory</strong> attribute, which is there.</p>
<p>Select <strong>objectCategory</strong> attribute.</p>
<p>Wait……………………………….</p>
<p>Set value to not equal person</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image4.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb4.png?w=480&#038;h=126" width="480" height="126" /></a></p>
<p>click <strong>Add</strong></p>
<p>Wait……………………………….</p>
<p>Crap.&#160; I forgot to select OR instead of AND for the operator.&#160; Now I have to delete (wait), and re-add (wait).</p>
<p>Ok, lets go with these two filters for now and save them.&#160; </p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image5.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb5.png?w=480&#038;h=87" width="480" height="87" /></a></p>
<p>Click <strong>OK</strong></p>
<p>Wait……………………………….</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image6.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb6.png?w=480&#038;h=223" width="480" height="223" /></a></p>
<p>And we get a lovely error thanks to the <strong>objectCategory</strong> attribute.&#160; This correlates to:</p>
<p>Microsoft.ResourceManagement.WebServices.Faults.ServiceFaultException: Unable to process Put message&#160;&#160; <br /> at Microsoft.ResourceManagement.WebServices.Client.Resource.Update()&#160;&#160;&#160; <br /> at Microsoft.ResourceManagement.WebServices.ResourceManager.UpdateResource()&#160;&#160;&#160; <br /> at Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection.SetExclusionFilters(List`1 exclusionFilters)&#160;&#160;&#160; <br /> at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.EditConnectionFilters.ButtonOK_Click(Object sender, EventArgs e)&#160;&#160;&#160; <br /> at System.Web.UI.WebControls.Button.OnClick(EventArgs e)&#160;&#160;&#160; <br /> at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)&#160;&#160;&#160; <br /> at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)&#160;&#160;&#160; <br /> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</p>
<p>&#160;</p>
<p>Make of that what you will, but it basically means we cannot use the <strong>objectCategory</strong> attribute for filtering (fix coming in SP1 or beyond apparently).</p>
<p>So I try a few different filters, like </p>
<p align="center">Mail Is not equal to * (to exclude accounts that do not have a mail address)</p>
<p>The only way I could get profiles migrated was to only use the disable accounts property.</p>
<h3><strong>4. My profiles are there, but they’re not</strong></h3>
<p>So another thing I tried is I ran a successful import (only excluding disabled accounts), and got 42 profiles back.&#160; So lets try adding a filter that excludes users that do not have an email address (mail not equals *).</p>
<p>FIM shows my deletions ok.&#160; So that’s promising (even though all these accounts do have an email address <img style="border-style:none;" class="wlEmoticon wlEmoticon-confusedsmile" alt="Confused smile" src="http://donalconlon.files.wordpress.com/2011/04/wlemoticon-confusedsmile.png?w=600" />).</p>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image7.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb7.png?w=363&#038;h=255" width="363" height="255" /></a></p>
<p>So I go back to my user profiles page, and I expect to see a count of 0.&#160; Except I don’t.&#160; I see there are still 42 profiles there.&#160; Huh?&#160; Lets search to see who’s still there.</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image8.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb8.png?w=480&#038;h=178" width="480" height="178" /></a></p>
<p>And there you have it, 42 profiles and none of them visible.&#160; So are they there or not?&#160; I’m so done with this, I really don’t care at this point.</p>
<h3><strong>5. What’s my query again?</strong></h3>
<p>So lets go back and check my query,as in what containers I selected and what filters I have applied.</p>
<p>Are you kidding me?&#160; I have to reconnect to the source, populate the tree, then navigate all the way down to see what’s selected?</p>
<p>&#160;</p>
<p><strong><font size="6">I GIVE UP.</font></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/420/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=420&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/04/26/fun-with-filters-user-profile-synchronization-somebody-shoot-me-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/wlemoticon-confusedsmile.png" medium="image">
			<media:title type="html">Confused smile</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Error when trying to stop the user profile sync service</title>
		<link>http://donalconlon.wordpress.com/2011/04/05/error-when-trying-to-stop-the-user-profile-sync-service/</link>
		<comments>http://donalconlon.wordpress.com/2011/04/05/error-when-trying-to-stop-the-user-profile-sync-service/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 23:09:49 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[User Profile Service]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/04/05/error-when-trying-to-stop-the-user-profile-sync-service/</guid>
		<description><![CDATA[So I was trying to migrate the user profile database (not migrate as much as move to a different drive).&#160; In order to do that I wanted to stop all services that may be interacting with the databases, the sync service being one of them. Off to Central Admin &#62; Services on server I go… [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=402&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I was trying to migrate the user profile database (not migrate as much as move to a different drive).&#160; In order to do that I wanted to stop all services that may be interacting with the databases, the sync service being one of them.</p>
<p>Off to Central Admin &gt; Services on server I go… Find the Synchronization servvice and click “Stop”.&#160; I get:</p>
<p>&#160;</p>
<p align="center">“An update conflict has occured , and you must re-try this action.&#160; The object UserProfileApplication Name=User Profile Service Application was updated by….”</p>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/04/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/04/image_thumb.png?w=480&#038;h=264" width="480" height="264" /></a></p>
<p>&#160;</p>
<p>After a quick Bingle, I come across a post by <a href="http://underthehood.ironworks.com/2010/07/error-message-when-you-try-to-start-user-profile-synchronization-in-sharepoint-2010-an-update-confli.html" target="_blank">Chaitu Madala</a>. The issue is related to the file system cache.&#160; Clearing this cache resolves the issue.&#160; There is a <a href="http://support.microsoft.com/kb/939308" target="_blank">kb article</a> at Microsoft support that step you through it for WSS 3.0.&#160; Same steps apply for SharePoint 2010.</p>
<p>&#160;</p>
<p>Similar to Chaitu, I will repeat the steps for prosperity…</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<div style="border-bottom:silver 1px solid;border-left:silver 1px solid;background-color:#fdf5af;border-top:silver 1px solid;border-right:silver 1px solid;padding:5px;">
<li>Stop the Timer service. To do this, follow these steps:
<ol>
<li>Click <strong>Start</strong>, point to <strong>Administrative Tools</strong>, and then click <strong>Services</strong>. </li>
<li>Right-click <strong>Windows SharePoint Services Timer</strong>, and then click <strong>Stop</strong>. </li>
<li>Close the Services console. </li>
</ol>
</li>
<li>On the computer that is running Microsoft Office SharePoint Server 2007 and on which the Central Administration site is hosted, click <strong>Start</strong>, click <strong>Run</strong>, type explorer, and then press ENTER. </li>
<li>In Windows Explorer, locate and then double-click the following folder:
<p><var>Drive</var>:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\<var>GUID</var></p>
<p><b>Notes</b></p>
<ul>
<li>The <var>Drive</var> placeholder specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C. </li>
<li>The <var>GUID</var> placeholder specifies the GUID folder. </li>
<li>The Application Data folder may be hidden. To view the hidden folder, follow these steps:
<ol>
<li>On the <strong>Tools</strong> menu, click <strong>Folder Options.</strong> </li>
<li>Click the <strong>View</strong> tab. </li>
<li>In the <strong>Advanced settings</strong> list, click <strong>Show hidden files and folders</strong> under <strong>Hidden files and folders</strong>, and then click <strong>OK</strong>. </li>
</ol>
</li>
<li>In Windows Server 2008, the configuration cache is in the following location:
<p><var>Drive</var>:\ProgramData\Microsoft\SharePoint\Config\<var>GUID</var></p>
</li>
</ul>
</li>
<li>Back up the Cache.ini file. </li>
<li>Delete all the XML configuration files in the GUID folder. Do this so that you can verify that the GUID folder is replaced by new XML configuration files when the cache is rebuilt.      <br /><b>Note</b> When you empty the configuration cache in the GUID folder, make sure that you do not delete the GUID folder and the Cache.ini file that is located in the GUID folder. </li>
<li>Double-click the Cache.ini file. </li>
<li>On the <strong>Edit </strong>menu, click <strong>Select All</strong>. </li>
<li>On the <strong>Edit</strong> menu, click <strong>Delete</strong>. </li>
<li>Type 1, and then click <strong>Save</strong> on the <strong>File</strong> menu. </li>
<li>On the <strong>File</strong> menu, click <strong>Exit</strong>. </li>
<li>Start the Timer service. To do this, follow these steps:
<ol>
<li>Click <strong>Start</strong>, point to <strong>Administrative Tools</strong>, and then click <strong>Services</strong>. </li>
<li>Right-click <strong>Windows SharePoint Services Timer</strong>, and then click <strong>Start</strong>. </li>
<li>Close the Services console. </li>
</ol>
<p>     <b>Note</b> The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm. </li>
<li>Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.
<p>&#160;</p>
</li></div>
<p>Note, I was unable to verify the last step as the file was in use and unreadable using an editor.&#160; But I was able to stop the sync service successfully after clearing the file system cache.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=402&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/04/05/error-when-trying-to-stop-the-user-profile-sync-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/04/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Problem running Update-SPProfilePhotoStore</title>
		<link>http://donalconlon.wordpress.com/2011/03/08/problem-running-update-spprofilephotostore/</link>
		<comments>http://donalconlon.wordpress.com/2011/03/08/problem-running-update-spprofilephotostore/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 16:46:40 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[User Profile Service]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/03/08/problem-running-update-spprofilephotostore/</guid>
		<description><![CDATA[After doing a user profile migration (SharePoint 2007 to 2010), one of the post-migration steps is to update the user profile photos.&#160; The PowerShell script to do that is: Update-SPProfilePhotoStore –MySiteHostLocation &#60;url to my site host&#62; When I ran this (logged in as my SharePoint admin account) I got the following error: Update-SPProfilePhotoStore : Object [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=393&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After doing a user profile migration (SharePoint 2007 to 2010), one of the post-migration steps is to update the user profile photos.&#160; The PowerShell script to do that is:</p>
<p align="center"><strong>Update-SPProfilePhotoStore –MySiteHostLocation &lt;url to my site host&gt;</strong></p>
<p>When I ran this (logged in as my SharePoint admin account) I got the following error:</p>
<div style="border-bottom:silver 1px solid;border-left:silver 1px solid;background-color:#fcf8c6;border-top:silver 1px solid;border-right:silver 1px solid;">Update-SPProfilePhotoStore : Object reference not set to an instance of an object.</div>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/03/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/03/image_thumb6.png?w=480&#038;h=131" width="480" height="131" /></a></p>
<p>The ULS log spits out:</p>
<div style="border-bottom:silver 1px solid;border-left:silver 1px solid;background-color:#fcf8c6;border-top:silver 1px solid;border-right:silver 1px solid;">Exception occurred while connecting to WCF endpoint: System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied. </div>
<p>&#160;</p>
<p>According to <a href="http://technet.microsoft.com/en-us/library/cc262889.aspx#Taxonomy" target="_blank">TechNet</a>, I should:</p>
<p><em>Verify that you meet the following minimum requirements: See </em><a href="http://technet.microsoft.com/en-us/library/ff607596.aspx"><em>Add-SPShellAdmin</em></a><em>. You must also be a site collection administrator for the My Site host, and you must be a User Profile service application administrator with the Manage Profiles permission.</em></p>
<p>Well that was all set and I was still getting the error.</p>
<p>It seems the cmdlet&#160; uses the WCF service ProfilePropertyService.svc, so I gave my admin account full control in the Sharing section of the UPS application.</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/03/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/03/image_thumb4.png?w=480&#038;h=389" width="480" height="389" /></a></p>
<p>This got me further, but now I’m getting access denied for the my site host database.</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/03/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/03/image_thumb5.png?w=480&#038;h=156" width="480" height="156" /></a></p>
<p>So I add my admin account to the database containing my site host as db_owner, then re-run the cmdlet.</p>
<p>Success!&#160; All photos are being added to the my site host library <strong>User Photos</strong>.</p>
<div style="border-bottom:silver 1px solid;border-left:silver 1px solid;background-color:#fcf8c6;border-top:silver 1px solid;border-right:silver 1px solid;">To maintain least-privilege, I undo the changes I made above regarding changing account permissions in the service and the database.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/393/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/393/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/393/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=393&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/03/08/problem-running-update-spprofilephotostore/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/03/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/03/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/03/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding the Social Note Board to a SharePoint Blog</title>
		<link>http://donalconlon.wordpress.com/2011/03/02/adding-the-social-note-board-to-a-sharepoint-blog/</link>
		<comments>http://donalconlon.wordpress.com/2011/03/02/adding-the-social-note-board-to-a-sharepoint-blog/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 04:40:32 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/?p=385</guid>
		<description><![CDATA[The Note Board is a pretty useful web part you can add to any page that can take web parts.&#160; It allows you to store comments in the social database against that page using it’s URL – just like the Tags and Notes button in the ribbon. The blog template is pretty much the same [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=385&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Note Board is a pretty useful web part you can add to any page that can take web parts.&#160; It allows you to store comments in the social database against that page using it’s URL – just like the Tags and Notes button in the ribbon.</p>
<p>The blog template is pretty much the same one from MOSS 2007, and uses the ol’ school comments functionality (stored in a separate list).&#160; The problem with this is you can also add social comments to a blog post – very confusing.&#160; It’d be nice to disable the blog comments, and just use the social comments.&#160; So lets give it a shot.</p>
<p>What’re we’re going to do is:</p>
<p>1. Remove the blog comments web part from the post page</p>
<p>2. Add the Note board web part</p>
<p>3. Enable the publishing infrastructure site collection feature</p>
<p>&#160;</p>
<h3>Remove Blog Comments web parts</h3>
<p>Open the blog site, and click on a post title to get to the post.aspx page.&#160; From the <strong>Site Actions</strong> menu, select <strong>Edit Page</strong>.&#160; Once in edit mode, you can delete the <strong>Comments</strong> and <strong>Add Comment</strong> web parts.</p>
<p align="center"><a href="http://donalconlon.files.wordpress.com/2011/03/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/03/image_thumb.png?w=484&#038;h=106" width="484" height="106" /></a></p>
<p align="center"><strong><font size="1">Deleting the Comments web part</font></strong></p>
<h3>Add Note Board Web Part</h3>
<p>The Note Board web part is in the Social Collaboration folder in the web part categories.&#160; </p>
<div style="border-bottom:silver 1px solid;border-left:silver 1px solid;border-top:silver 1px solid;border-right:silver 1px solid;padding:4px;">If the note board web part is not available, you will need to activate the feature PortalLayouts.&#160; Use the following powershell command:    <br /><strong>Enable-SPFeature –Identity PortalLayouts –url &lt;site url&gt;</strong> </div>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/03/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;margin-left:auto;margin-right:auto;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/03/image_thumb1.png?w=480&#038;h=161" width="480" height="161" /></a></p>
<p align="center"><strong><font size="1">Adding the Note Board web part</font></strong></p>
<h3>Enable the publishing infrastructure site collection feature</h3>
<p>If you do not activate the publishing infrastructure feature, the note board will appear to work, but will not store comments correctly.&#160; The note board does not use the correct url for the page, so the notes stored using the web part, will differ from the notes stored using the Tags and Notes button.&#160; See the image below to see what I mean.</p>
<p align="center"><a href="http://donalconlon.files.wordpress.com/2011/03/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/03/image_thumb2.png?w=480&#038;h=355" width="480" height="355" /></a></p>
<p align="center"><font size="1"><strong>The note board web part differences from the Tags and Notes dialog.</strong></font></p>
<p>If you discover this problem on the note board, activating the publishing infrastructure site collection feature will correct it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/385/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=385&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/03/02/adding-the-social-note-board-to-a-sharepoint-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/03/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/03/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Fixing pages and their layouts after importing a published site</title>
		<link>http://donalconlon.wordpress.com/2011/01/21/fixing-pages-and-their-layouts-after-importing-a-published-site/</link>
		<comments>http://donalconlon.wordpress.com/2011/01/21/fixing-pages-and-their-layouts-after-importing-a-published-site/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 21:18:06 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/01/21/fixing-pages-and-their-layouts-after-importing-a-published-site/</guid>
		<description><![CDATA[If you export a publishing site from one farm and import it to another, you may be surprised that none of your pages will work.&#160; I recently got the following error: &#160; The problem is the page is hard-coded to the page layout from the original site. The following Powershell script that my buddy Raj [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=378&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you export a publishing site from one farm and import it to another, you may be surprised that none of your pages will work.&#160; I recently got the following error:</p>
<p>&#160;</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/01/image2.png"><img style="display:inline;" title="image" alt="image" src="http://donalconlon.files.wordpress.com/2011/01/image_thumb2.png?w=480&#038;h=231" width="480" height="231" /></a></p>
<p>The problem is the page is hard-coded to the page layout from the original site.</p>
<p>The following Powershell script that my buddy <a href="http://www.linkedin.com/pub/rajaram-laksmanaperumal/2/5a3/324" target="_blank">Raj</a> wrote will fix the problem:</p>
<p>&#160;</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:1c49caa3-8844-410d-ba81-31d9460a3b86" class="wlWriterEditableSmartContent">
<div style="border:#000080 1px solid;color:#000;font-family:'Courier New', Courier, Monospace;font-size:10pt;">
<div style="background:#000080;color:#fff;font-family:Verdana, Tahoma, Arial, sans-serif;font-weight:bold;padding:2px 5px;">Code Snippet</div>
<div style="background:#ddd;max-height:300px;overflow:auto;">
<ol style="background:#ffffff;margin:0 0 0 2.5em;padding:0 0 0 5px;">
<li><span style="color:#0000ff;">function</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">LoadSharePointPowerShellEnvironment</span></li>
<li style="background:#f3f3f3;"><span style="color:#000000;">{</span></li>
<li>    <span style="color:#000000;"></span><span style="color:#5f9ea0;">write-host</span><span style="color:#000000;"> </span></li>
<li style="background:#f3f3f3;">    <span style="color:#000000;"></span><span style="color:#5f9ea0;">write-host</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;Setting up PowerShell environment for SharePoint&quot;</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">-foregroundcolor</span><span style="color:#000000;"> </span><span style="color:#800000;">Yellow</span></li>
<li>    <span style="color:#000000;"></span><span style="color:#5f9ea0;">write-host</span><span style="color:#000000;"> </span></li>
<li style="background:#f3f3f3;">    <span style="color:#000000;"></span><span style="color:#5f9ea0;">Add-PSSnapin</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;Microsoft.SharePoint.PowerShell&quot;</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">-ErrorAction</span><span style="color:#000000;"> </span><span style="color:#800000;">SilentlyContinue</span></li>
<li>    <span style="color:#000000;"></span><span style="color:#5f9ea0;">write-host</span><span style="color:#000000;"> </span><span style="color:#800000;">&quot;SharePoint PowerShell Snapin loaded.&quot;</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">-foregroundcolor</span><span style="color:#000000;"> </span><span style="color:#800000;">Green</span></li>
<li style="background:#f3f3f3;"><span style="color:#000000;">}</span></li>
<li>&nbsp;</li>
<li style="background:#f3f3f3;"><span style="color:#5f9ea0;">write-host</span><span style="color:#000000;"> </span></li>
<li><span style="color:#5f9ea0;">LoadSharePointPowerShellEnvironment</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li><span style="color:#000000;">[</span><span style="color:#008080;">System.Reflection.Assembly</span><span style="color:#000000;">]::</span><span style="color:#8b4513;">LoadWithPartialName</span><span style="color:#000000;">(</span><span style="color:#800000;">&quot;Microsoft.SharePoint&quot;</span><span style="color:#000000;">)</span></li>
<li style="background:#f3f3f3;"><span style="color:#000000;">[</span><span style="color:#008080;">System.Reflection.Assembly</span><span style="color:#000000;">]::</span><span style="color:#8b4513;">LoadWithPartialName</span><span style="color:#000000;">(</span><span style="color:#800000;">&quot;Microsoft.SharePoint.Publishing&quot;</span><span style="color:#000000;">)</span></li>
<li>&nbsp;</li>
<li style="background:#f3f3f3;"><span style="color:#800080;">$web</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> Get-SPWeb -Identity </span><span style="color:#800000;">&quot;http://myserver/sites/sales/wiki&quot;</span></li>
<li>&nbsp;</li>
<li style="background:#f3f3f3;"><span style="color:#800080;">$spPubWeb</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb(</span><span style="color:#800080;">$web</span><span style="color:#000000;">)</span></li>
<li><span style="color:#800080;">$pages</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$spPubWeb</span><span style="color:#000000;">.PagesList</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li><span style="color:#0000ff;">foreach</span><span style="color:#000000;">(</span><span style="color:#800080;">$item</span><span style="color:#000000;"> </span><span style="color:#0000ff;">in</span><span style="color:#000000;"> </span><span style="color:#800080;">$pages</span><span style="color:#000000;">.Items)</span></li>
<li style="background:#f3f3f3;"><span style="color:#000000;">{</span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> [Microsoft.SharePoint.Publishing.PublishingPage]::GetPublishingPage(</span><span style="color:#800080;">$item</span><span style="color:#000000;">)</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$url</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">new-object</span><span style="color:#000000;"> </span><span style="color:#800000;">Microsoft.SharePoint.SPFieldUrlValue</span><span style="color:#000000;">(</span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem[[Microsoft.SharePoint.Publishing.FieldId]::PageLayout].ToString())</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span><span style="color:#0000ff;">if</span><span style="color:#000000;">(</span><span style="color:#800080;">$url</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-ne</span><span style="color:#000000;"> </span><span style="color:#800080;">$null</span><span style="color:#000000;">)</span></li>
<li>  <span style="color:#000000;">{   </span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span><span style="color:#800080;">$ss</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#800080;">$url</span><span style="color:#000000;">.Url</span></li>
<li>  <span style="color:#000000;">  </span><span style="color:#0000ff;">if</span><span style="color:#000000;">(</span><span style="color:#800080;">$ss</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-match</span><span style="color:#000000;"></span><span style="color:#800000;">&#039;TreeWikiLayout&#039;</span><span style="color:#000000;">)</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;">{  </span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$newurl</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">new-object</span><span style="color:#000000;"> </span><span style="color:#800000;">Microsoft.SharePoint.SPFieldUrlValue</span><span style="color:#000000;">(</span><span style="color:#800000;">&quot;http://myserver/sites/sales/_catalogs/masterpage/TreeWikiLayout.aspx, Enterprise Wiki Layout with Tree&quot;</span><span style="color:#000000;">)</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.Name</span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.CheckOut()</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem[[Microsoft.SharePoint.Publishing.FieldId]::PageLayout] </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$newurl</span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem.UpdateOverwriteVersion()</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem.File.CheckIn(</span><span style="color:#800000;">&quot;Fixed URL to page layout.&quot;</span><span style="color:#000000;">, [Microsoft.SharePoint.SPCheckinType]::MajorCheckIn);</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;">}</span></li>
<li>  <span style="color:#000000;">  </span><span style="color:#0000ff;">elseif</span><span style="color:#000000;">(</span><span style="color:#800080;">$ss</span><span style="color:#000000;"> </span><span style="color:#ff0000;">-match</span><span style="color:#000000;"></span><span style="color:#800000;">&#039;EnterpriseWiki&#039;</span><span style="color:#000000;">)</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;">{</span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$newurl</span><span style="color:#000000;"> </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#5f9ea0;">new-object</span><span style="color:#000000;"> </span><span style="color:#800000;">Microsoft.SharePoint.SPFieldUrlValue</span><span style="color:#000000;">(</span><span style="color:#800000;">&quot;http://myserver/sites/sales/_catalogs/masterpage/EnterpriseWiki.aspx, Basic Page&quot;</span><span style="color:#000000;">)</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.Name</span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.CheckOut()</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem[[Microsoft.SharePoint.Publishing.FieldId]::PageLayout] </span><span style="color:#ff0000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$newurl</span></li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem.UpdateOverwriteVersion()</span></li>
<li style="background:#f3f3f3;">&nbsp;</li>
<li>  <span style="color:#000000;"></span><span style="color:#800080;">$pubPage</span><span style="color:#000000;">.ListItem.File.CheckIn(</span><span style="color:#800000;">&quot;Fixed URL to page layout.&quot;</span><span style="color:#000000;">, [Microsoft.SharePoint.SPCheckinType]::MajorCheckIn);</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;"></span></li>
<li>  <span style="color:#000000;">}</span></li>
<li style="background:#f3f3f3;">  <span style="color:#000000;">}</span></li>
<li>&nbsp;</li>
<li style="background:#f3f3f3;"><span style="color:#000000;">}</span></li>
</ol></div>
</p></div>
</p></div>
<p>&#160;</p>
<p>It’s a little odd that this issue was carried over from 2007 to 2010, but there you go….</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=378&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/01/21/fixing-pages-and-their-layouts-after-importing-a-published-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/01/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 Setup unable to proceed due to a pending system restart</title>
		<link>http://donalconlon.wordpress.com/2011/01/11/sharepoint-2010-setup-unable-to-proceed-due-to-a-pending-system-restart/</link>
		<comments>http://donalconlon.wordpress.com/2011/01/11/sharepoint-2010-setup-unable-to-proceed-due-to-a-pending-system-restart/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 18:47:27 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2011/01/11/sharepoint-2010-setup-unable-to-proceed-due-to-a-pending-system-restart/</guid>
		<description><![CDATA[A recent install resulted in the following error: “Setup is unable to proceed due to the following error(s): A system restart from a previous installation is pending.” The problem was related to a registry key “PendingFileRenameOperations” located at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager. Fix Rename the key to PendingFileRenameOperations1 and you will be able to proceed with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=375&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A recent install resulted in the following error:</p>
<p>“Setup is unable to proceed due to the following error(s): A system restart from a previous installation is pending.”</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/01/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/01/image_thumb.png?w=480&#038;h=307" width="480" height="307" /></a></p>
<p>The problem was related to a registry key “PendingFileRenameOperations” located at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager.</p>
<p><a href="http://donalconlon.files.wordpress.com/2011/01/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2011/01/image_thumb1.png?w=480&#038;h=255" width="480" height="255" /></a></p>
<p><strong>Fix</strong></p>
<p>Rename the key to <strong>PendingFileRenameOperations1</strong> and you will be able to proceed with the install.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=375&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2011/01/11/sharepoint-2010-setup-unable-to-proceed-due-to-a-pending-system-restart/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/01/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2011/01/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Access denied when trying to access a WCF service in SharePoint 2010</title>
		<link>http://donalconlon.wordpress.com/2010/12/08/access-denied-when-trying-to-access-a-wcf-service-in-sharepoint-2010/</link>
		<comments>http://donalconlon.wordpress.com/2010/12/08/access-denied-when-trying-to-access-a-wcf-service-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 16:21:48 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2010/12/08/access-denied-when-trying-to-access-a-wcf-service-in-sharepoint-2010/</guid>
		<description><![CDATA[We had a hair-pulling situation that we finally figured out (when I say we, I mean my buddy Scott Jamison&#160;). Problem At one of our client sites, any attempt to browse to a WCF service (any svc page in the /_vti_bin/ library), we were met with an access denied screen. We blamed everything, claims, WCF [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=369&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We had a hair-pulling situation that we finally figured out (when I say we, I mean my buddy <a href="http://www.scottjamison.com/blog" target="_blank">Scott Jamison</a>&#160;<img style="border-style:none;" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://donalconlon.files.wordpress.com/2010/12/wlemoticon-winkingsmile.png?w=600" />).</p>
<h3>Problem</h3>
<p>At one of our client sites, any attempt to browse to a WCF service (any svc page in the /_vti_bin/ library), we were met with an access denied screen.</p>
<p><a href="http://donalconlon.files.wordpress.com/2010/12/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2010/12/image_thumb.png?w=480&#038;h=213" width="480" height="213" /></a></p>
<p>We blamed everything, claims, WCF registration, .NET 4.0, the guy sitting next door.&#160; We ripped apart the web.config for the web app, and various other web.config files.&#160; With no resolution, we tried installing the ADO.NET data services thinking that might fix it.&#160; Nope.</p>
<h3>Resolution</h3>
<p>So our next move was to create another web app, and test the virtual services against that.&#160; </p>
<div style="border-bottom:silver 1px solid;border-left:silver 1px solid;background-color:#fcfacd;border-top:silver 1px solid;border-right:silver 1px solid;">Note: When we created the new web app, it complained about duplicate sections in web.config.&#160; This turned out to be the .NET 4.0 CLR was applied to the application pool instead of 2.0.&#160; This can be changed in IIS and the default CLR can be set back to 2.0.</div>
<p>Testing the WCF services against the new web application was successful!&#160; So what’s the difference?&#160; They were both created through the UI.</p>
<p>We compared the web.configs, but found nothing obvious.&#160; Then we compared the IIS settings; this is where Scott discovered the problem.&#160; The rogue web app had anonymous disabled.&#160; </p>
<p><a href="http://donalconlon.files.wordpress.com/2010/12/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:block;float:none;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://donalconlon.files.wordpress.com/2010/12/image_thumb1.png?w=480&#038;h=216" width="480" height="216" /></a></p>
<p>Enabling anonymous and resetting IIS fixed the problem.&#160; Doh!&#160; Not sure why this web app had anonymous disabled, but that indeed was the problem.</p>
<p>Thanks to <a href="http://www.scottjamison.com/blog/" target="_blank">Scott</a>, <a href="http://markcandelora.wordpress.com/" target="_blank">Mark</a>, <a href="http://sharepoint.jsturges.com/" target="_blank">James</a>, and Sean for figuring this out.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=369&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2010/12/08/access-denied-when-trying-to-access-a-wcf-service-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2010/12/wlemoticon-winkingsmile.png" medium="image">
			<media:title type="html">Winking smile</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2010/12/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://donalconlon.files.wordpress.com/2010/12/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting the SharePoint object caching accounts (superuseraccount &#124; superreaderaccount)</title>
		<link>http://donalconlon.wordpress.com/2010/11/11/setting-the-sharepoint-object-caching-accounts-superuseraccount-superreaderaccount/</link>
		<comments>http://donalconlon.wordpress.com/2010/11/11/setting-the-sharepoint-object-caching-accounts-superuseraccount-superreaderaccount/#comments</comments>
		<pubDate>Thu, 11 Nov 2010 19:30:04 +0000</pubDate>
		<dc:creator>Donal Conlon</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA["SharePoint Administration"]]></category>

		<guid isPermaLink="false">https://donalconlon.wordpress.com/2010/11/11/setting-the-sharepoint-object-caching-accounts-superuseraccount-superreaderaccount/</guid>
		<description><![CDATA[Recently, I came across the event log error: Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources. To configure the account use the following command &#8216;stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=360&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I came across the event log error:</p>
<p><em>Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.     <br /> To configure the account use the following command &#8216;stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl&#8217;. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.      <br /></em></p>
<p>So, as instructed, I ran the stsadm command, not realizing the severity of my actions.</p>
<p>What happened was a slew of access denied errors, and more interestingly, was the inability for a user to edit their user profile.</p>
<p>So after some research, I discovered the right way to fix this in a TechNet article <a href="http://technet.microsoft.com/en-us/library/ff758656.aspx" target="_blank">Configure object cache user accounts</a>.</p>
<h5>Steps</h5>
<p>The steps are as follows:</p>
<p>1. Create dedicated user accounts in AD for a superuser and superreader.</p>
<p>2. Grant the super reader account full read access to each web application by editing the User Policy for the web app through Central Admin.</p>
<p>3. Grant the super user account full control to each web application by editing the User Policy for the web app through Central Admin.</p>
<p>4. Run the following Powershell script for each web application (making changes where appropriate):</p>
<p>$wa = Get-SPWebApplication -Identity <a href="http://dev.domain.com">http://dev.domain.com</a>    <br />$wa.Properties[&quot;portalsuperuseraccount&quot;] = &quot;i:0#.w|domain\sp-superuser&quot;    <br />$wa.Properties[&quot;portalsuperreaderaccount&quot;] = &quot;i:0#.w|domain\sp-superread&quot;    <br />$wa.Update()</p>
<p>5. Reset IIS</p>
<h5><strong>Notes</strong></h5>
<ul>
<li>Make sure you run this under an account that has Shell permissions to the config database.&#160; Farm account has this automatically.</li>
<li>Note the account name format as SharePoint sees it.&#160; copy the format in the User Name column under the Web Application User Policy dialog <u>exactly</u>.&#160; For example, if classic, then format is likely &lt;domain&gt;\&lt;user.name&gt;; if claims then likely i:0#.w|&lt;domain&gt;\&lt;user.name&gt;.</li>
<li>Reset IIS after you run the powershell script.</li>
<li>If you still see error in the event viewer, it may be that you did set permissions on all web apps.&#160; For example I had to do it on both my primary web app, and the web app that hosted mysites. </li>
<h5>&#160;</h5>
<h5>References</h5>
<li>The official <a href="http://technet.microsoft.com/en-us/library/ff607596.aspx" target="_blank">TechNet</a> article.</li>
<li><a href="http://www.sharepointnutsandbolts.com/2010/09/set-object-caching-user-accounts-with.html" target="_blank">Chris O.Brian</a> has a good script to do this all at once.</li>
<li><a href="http://stefvanhooijdonk.com/2010/10/11/the-publishing-cache-of-sp2010-webapplications/" target="_blank">SharePoint Stef</a> also has a script to handle this.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/donalconlon.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/donalconlon.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/donalconlon.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/donalconlon.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/donalconlon.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/donalconlon.wordpress.com/360/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/donalconlon.wordpress.com/360/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/donalconlon.wordpress.com/360/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=donalconlon.wordpress.com&amp;blog=9866335&amp;post=360&amp;subd=donalconlon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://donalconlon.wordpress.com/2010/11/11/setting-the-sharepoint-object-caching-accounts-superuseraccount-superreaderaccount/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/be3de7bc38f47876d159c56b9db7a2c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">donal.conlon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
