<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Dirk Van den Berghe</title>
	
	<link>http://dirkvandenberghe.com</link>
	<description>a SharePoint Administrator's Blog</description>
	<lastBuildDate>Thu, 03 May 2012 12:38:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/dirkvandenberghe" /><feedburner:info uri="dirkvandenberghe" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Beware of /bin/ is SP2010 Url’s</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/igFcUwW6zvM/beware-of-bin-is-sp2010-urls.html</link>
		<comments>http://dirkvandenberghe.com/2012/05/03/beware-of-bin-is-sp2010-urls.html#comments</comments>
		<pubDate>Thu, 03 May 2012 12:38:57 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=292</guid>
		<description><![CDATA[Came across troubleshooting an issue with a site collection with the name bin. This site collection had a url like http://portal/sites/bin, making the default homepage http://portal/sites/bin/default.aspx. For some reason the site did not render and I got a HTTP 404 &#8230; <a href="http://dirkvandenberghe.com/2012/05/03/beware-of-bin-is-sp2010-urls.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Came across troubleshooting an issue with a site collection with the name bin. This site collection had a url like http://portal/sites/bin, making the default homepage http://portal/sites/bin/default.aspx. For some reason the site did not render and I got a HTTP 404 error. After analysis of the ULS logs not showing any trace of the request and the analysis of the IIS logs, I wnet looking for an answer on the interwebz. Stumbled upon the following article from Russ Michaels : http://www.michaels.me.uk/post.cfm/iis7-blocks-viewing-access-to-certain-folder-names</p>
<p>As it appears IIS 7 blocks access to urls where /bin/ is present in the Url.</p>
<p>The solution to this problem is to rename the site collection or remove the exception in the web.config of your web application as suggested by Russ.</p>
<p>I prefer the web.config approach on the web application level by adding the following section:</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;configuration&gt;
 &lt;system.webServer&gt;
   &lt;security&gt;
    &lt;requestFiltering&gt;
     &lt;hiddenSegments&gt;
      &lt;remove segment=&quot;bin&quot; /&gt;
     &lt;/hiddenSegments&gt;
    &lt;/requestFiltering&gt;
   &lt;/security&gt;
  &lt;/system.webServer&gt;
 &lt;/configuration&gt;
</pre>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/igFcUwW6zvM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2012/05/03/beware-of-bin-is-sp2010-urls.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2012/05/03/beware-of-bin-is-sp2010-urls.html</feedburner:origLink></item>
		<item>
		<title>How to change the language of a site in SP2010</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/DnHmMprRdd4/how-to-change-the-language-of-a-site-in-sp2010.html</link>
		<comments>http://dirkvandenberghe.com/2012/05/03/how-to-change-the-language-of-a-site-in-sp2010.html#comments</comments>
		<pubDate>Thu, 03 May 2012 12:21:00 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=294</guid>
		<description><![CDATA[Notice: the information in this post is not supported by Microsoft. The use of the method described below will revoke your support status for your environment. Use at your own risk This question came up today and I remembered being &#8230; <a href="http://dirkvandenberghe.com/2012/05/03/how-to-change-the-language-of-a-site-in-sp2010.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Notice: the information in this post is not supported by Microsoft. The use of the method described below will revoke your support status for your environment. Use at your own risk</strong></p>
<p>This question came up today and I remembered being able to change this for MOSS by changing the content database so I wondered if it would still work in SP2010. </p>
<p>Well, actually it does &#8230;.</p>
<p>The article I used as a source for MOSS can be found at http://sharepointlearn.blogspot.com/2008/12/changing-language-of-existing.html</p>
<p>the only change to the original article is that the Table name has changed in SP2010. Here is the updated information:</p>
<p>The language of the site is stored at SP Web level. It is stored in database in the AllWebs table. So you need to change the language in database whatever language you want. To change the language in database you need to fire following Query:</p>
<p>For changing the language of all sites in to ‘Dutch’ language:<br />
UPDATE dbo.AllWebs SET Language = 1043</p>
<p>Changing the language of one site collection: (Dutch language)<br />
UPDATE dbo.AllWebs SET Language = 1043 WHERE SiteId = [[SiteCollectionId]]</p>
<p>Changing the language of a single web or subsite: (Dutch language)<br />
UPDATE dbo.AllWebs SET Language = 1043 WHERE Id = [[WebId]]</p>
<p>Note:<br />
Before applying the new language, you need to verify that the language pack for the language that you want to apply is installed on your machine or not. </p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/DnHmMprRdd4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2012/05/03/how-to-change-the-language-of-a-site-in-sp2010.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2012/05/03/how-to-change-the-language-of-a-site-in-sp2010.html</feedburner:origLink></item>
		<item>
		<title>What Every SharePoint Admin Needs to Know About Host Named Site Collections by Kirk Evans</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/VCJb4AHyI7U/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections-by-kirk-evans.html</link>
		<comments>http://dirkvandenberghe.com/2012/04/19/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections-by-kirk-evans.html#comments</comments>
		<pubDate>Thu, 19 Apr 2012 09:09:08 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=288</guid>
		<description><![CDATA[been a while, busy busy busy &#8230;. what else just wanted to point out a very good article that sums up all you need to know about Host Named site collectiosn in SharePoint 2010. Find the original article by Kirk &#8230; <a href="http://dirkvandenberghe.com/2012/04/19/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections-by-kirk-evans.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>been a while, busy busy busy &#8230;. what else <img src='http://dirkvandenberghe.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>just wanted to point out a very good article that sums up all you need to know about Host Named site collectiosn in SharePoint 2010.</p>
<p>Find the original article by Kirk Evans at</p>
<p>http://blogs.msdn.com/b/kaevans/archive/2012/03/27/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections.aspx</p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/VCJb4AHyI7U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2012/04/19/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections-by-kirk-evans.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2012/04/19/what-every-sharepoint-admin-needs-to-know-about-host-named-site-collections-by-kirk-evans.html</feedburner:origLink></item>
		<item>
		<title>Cumulative updates packaging changed for SharePoint 2010</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/D5T9sr6Isag/cumulative-updates-packaging-changed-for-sharepoint-2010.html</link>
		<comments>http://dirkvandenberghe.com/2011/11/30/cumulative-updates-packaging-changed-for-sharepoint-2010.html#comments</comments>
		<pubDate>Wed, 30 Nov 2011 07:35:56 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Support]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=284</guid>
		<description><![CDATA[while browsing the updates page on Technet I found: The packaging of cumulative updates changed as of August 31, 2011. The following packages are provided for cumulative updates: • SharePoint Foundation 2010 • SharePoint Foundation 2010 + SharePoint Server 2010 &#8230; <a href="http://dirkvandenberghe.com/2011/11/30/cumulative-updates-packaging-changed-for-sharepoint-2010.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>while browsing the updates page on Technet I found:</p>
<p>The packaging of cumulative updates changed <strong>as of August 31, 2011</strong>. The following packages are provided for cumulative updates:<br />
•	SharePoint Foundation 2010<br />
•	SharePoint Foundation 2010 + SharePoint Server 2010<br />
•	SharePoint Foundation 2010 + SharePoint Server 2010 + Project Server 2010<br />
<strong>As a result of the new packaging, it is no longer necessary to install the SharePoint Foundation cumulative update and then install the SharePoint Server cumulative update.</strong></p>
<p>Source: <a href="http://technet.microsoft.com/en-us/sharepoint/ff800847" target="_blank">http://technet.microsoft.com/en-us/sharepoint/ff800847</a></p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/D5T9sr6Isag" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/11/30/cumulative-updates-packaging-changed-for-sharepoint-2010.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/11/30/cumulative-updates-packaging-changed-for-sharepoint-2010.html</feedburner:origLink></item>
		<item>
		<title>Manage automatic propagation of variation pages</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/ltFJ2BLuYJ4/manage-automatic-propagation-of-variation-pages.html</link>
		<comments>http://dirkvandenberghe.com/2011/06/24/manage-automatic-propagation-of-variation-pages.html#comments</comments>
		<pubDate>Fri, 24 Jun 2011 08:18:04 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=272</guid>
		<description><![CDATA[I was asked today to disable the automatic propagation of variation pages for one of our site collections. Immediately I checked the Technet article for this. According to the Technet article I needed to execute the following Powershell scripts: Unfortunately &#8230; <a href="http://dirkvandenberghe.com/2011/06/24/manage-automatic-propagation-of-variation-pages.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was asked today to disable the automatic propagation of variation pages for one of our site collections. Immediately I checked the <a href="http://technet.microsoft.com/en-us/library/ff721974.aspx#section1">Technet article </a>for this.</p>
<p>According to the Technet article I needed to execute the following Powershell scripts:</p>
<pre class="brush: plain; title: ; notranslate">
$site = Get-SPSite &quot;&lt;VariationURL&gt;&quot;
$folder = $site.RootWeb.Lists[&quot;Relationships List&quot;].RootFolder
$folder.Properties.Add(&quot;DisableAutomaticPropagation&quot;, $true)
$folder.Update()
$site.Close()
</pre>
<p>Unfortunately it didn&#8217;t work. for some reason the $folder variable was null<br />
error message was:<br />
You cannot call a method on a null-valued expression.<br />
At line:1 char:23<br />
+ $folder.Properties.Add <<<< ("DisableAutomaticPropagation", $true)<br />
    + CategoryInfo          : InvalidOperation: (Add:String) [], RuntimeException<br />
    + FullyQualifiedErrorId : InvokeMethodOnNull</p>
<p>after a little bit of looking around in powershell I did come up with a workaround by loading the Relationships list in a separate variable, changing the script as follows:</p>
<pre class="brush: plain; title: ; notranslate">
$site = Get-SPSite &quot;&lt;VariationURL&gt;&quot;
$list = $site.RootWeb.GetList(&quot;Relationships List&quot;)
$folder = $list.RootFolder
$folder.Properties.Add(&quot;DisableAutomaticPropagation&quot;, $true)
$folder.Update()
$site.Close()
</pre>
<p>Hope this helps someone out <img src='http://dirkvandenberghe.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/ltFJ2BLuYJ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/06/24/manage-automatic-propagation-of-variation-pages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/06/24/manage-automatic-propagation-of-variation-pages.html</feedburner:origLink></item>
		<item>
		<title>Remove HTTP Response Headers for internet facing SharePoint sites</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/N1TbO_S-txk/remove-http-response-headers-for-internet-facing-sharepoint-sites.html</link>
		<comments>http://dirkvandenberghe.com/2011/06/07/remove-http-response-headers-for-internet-facing-sharepoint-sites.html#comments</comments>
		<pubDate>Tue, 07 Jun 2011 14:37:43 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=252</guid>
		<description><![CDATA[if you are serious about to publish an internet facing SharePoint site you have to consider security. One of the first things a possible hacker will inspect are the HTTP Response Headers. I usually use the Firefox Developper toolbar to &#8230; <a href="http://dirkvandenberghe.com/2011/06/07/remove-http-response-headers-for-internet-facing-sharepoint-sites.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>if you are serious about to publish an internet facing SharePoint site you have to consider security. One of the first things a possible hacker will inspect are the HTTP Response Headers. I usually use the Firefox Developper toolbar to check the HTTP Response Headers of my SharePoint sites. (Information Menu -&gt; View Response Headers)</p>
<p>Without cleaning the reponse headers you will see something like:</p>
<pre class="brush: plain; gutter: false; title: ; notranslate">
Connection: Keep-Alive
Expires: Mon, 23 May 2011 13:56:12 GMT
Date: Tue, 07 Jun 2011 13:56:13 GMT
Content-Type: text/html; charset=utf-8
&lt;strong&gt;Server: Microsoft-IIS/7.5&lt;/strong&gt;
Cache-Control: private, max-age=0
Last-Modified: Tue, 07 Jun 2011 13:56:12 GMT
&lt;strong&gt;SPRequestGuid: 2ba6c04a-f3ca-40be-a543-7fb2448bd92e
X-SharePointHealthScore: 0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.5130&lt;/strong&gt;
Transfer-Encoding: chunked
Content-Encoding: gzip
Vary: Accept-Encoding

200 OK
</pre>
<p>Now, what I needed removing was all the SharePoint stuff, the ASP.NET stuff and the server information (marked in bold). Luckily I was not the first guy out there to do so and I used Stefan Goßner&#8217;s post (http://blogs.technet.com/b/stefan_gossner/archive/2008/03/12/iis-7-how-to-send-a-custom-server-http-header.aspx) as a lead to achieve what I wanted.</p>
<p>I ended up creating a custom HttpModule for removing the excess information in combination with adding a section to the web.config for the custom Headers added by SharePoint as they were not removed by the HttpModule after my initial testing.</p>
<p>Actions performed:<br />
1. Create a folder named App_Code in the IIS folder of the SharePoint site where the headers need to be removed<br />
2. Create a file with notepad named CustomHttpModule.cs<br />
3. Edit with notepad:</p>
<pre class="brush: csharp; title: ; notranslate">
using System;
using System.Text;
using System.Web; 

namespace Custom.ServerModules
{
  public class CustomHttpHeaderModule : IHttpModule
  {
    public void Init(HttpApplication context)
    {
      context.PreSendRequestHeaders += OnPreSendRequestHeaders;
    }
    public void Dispose()
    {
    }
    void OnPreSendRequestHeaders(object sender, EventArgs e)
    {
      HttpContext.Current.Response.Headers.Remove(&quot;Server&quot;);
      HttpContext.Current.Response.Headers.Remove(&quot;X-AspNet-Version&quot;);
      HttpContext.Current.Response.Headers.Remove(&quot;X-SharePointHealthScore&quot;);
      HttpContext.Current.Response.Headers.Remove(&quot;SPRequestGuid&quot;);
    }
 }
}
</pre>
<p>4. Save the file<br />
5. Edit the web.config file of the SharePoint web application<br />
- Add the custom module to the section system.webserver<br />
- have the custom headers removed</p>
<pre class="brush: xml; gutter: false; title: ; notranslate">
&lt;system.webServer&gt;
  &lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&gt;
    ...
    &lt;add name=&quot;CustomHttpModule&quot; type=&quot;Custom.ServerModules.CustomHttpHeaderModule&quot; /&gt;
  &lt;/modules&gt;
  ...
  &lt;httpProtocol&gt;
    &lt;customHeaders&gt;
      &lt;remove name=&quot;MicrosoftSharePointTeamServices&quot; /&gt;
      &lt;remove name=&quot;X-Powered-By&quot; /&gt;
    &lt;/customHeaders&gt;
  &lt;/httpProtocol&gt;
&lt;/system.webserver&gt;
</pre>
<p>One remark though if you implement this. Removing the header MicrosoftSharePointTeamServices may break your search crawling. In my case I usually dedicate a web front end for crawling or have the Web application role activated on the crawler. Evidently this web front end does not get the custom httpmodule.</p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/N1TbO_S-txk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/06/07/remove-http-response-headers-for-internet-facing-sharepoint-sites.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/06/07/remove-http-response-headers-for-internet-facing-sharepoint-sites.html</feedburner:origLink></item>
		<item>
		<title>Update All Web Applications with Powershell</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/c9o9MEeKu6E/update-all-web-applications-with-powershell.html</link>
		<comments>http://dirkvandenberghe.com/2011/04/19/update-all-web-applications-with-powershell.html#comments</comments>
		<pubDate>Tue, 19 Apr 2011 10:47:33 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=248</guid>
		<description><![CDATA[long time no post just a quick post with a simple command. I needed to update all the Default Time zone settings for all the web applications in a SharePoint 2010 farm. Here&#8217;s how to do it in a single &#8230; <a href="http://dirkvandenberghe.com/2011/04/19/update-all-web-applications-with-powershell.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>long time no post <img src='http://dirkvandenberghe.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>just a quick post with a simple command. I needed to update all the Default Time zone settings for all the web applications in a SharePoint 2010 farm.</p>
<p>Here&#8217;s how to do it in a single command:<br />
<code>Get-SPWebApplication |Foreach-Object { $_.DefaultTimeZone = 3 ; $_.Update() } </code></p>
<p>The value 3 stands for the time zone (UTC +01:00) Brussels, Copenhagen, Madrid, Paris</p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/c9o9MEeKu6E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/04/19/update-all-web-applications-with-powershell.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/04/19/update-all-web-applications-with-powershell.html</feedburner:origLink></item>
		<item>
		<title>Fix: Unable to activate worker process proxy object within the worker process (by Sven Häfker)</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/sM1yzdHWPNs/fix-unable-to-activate-worker-process-proxy-object-within-the-worker-process-by-sven-hafker.html</link>
		<comments>http://dirkvandenberghe.com/2011/04/05/fix-unable-to-activate-worker-process-proxy-object-within-the-worker-process-by-sven-hafker.html#comments</comments>
		<pubDate>Tue, 05 Apr 2011 05:38:28 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=244</guid>
		<description><![CDATA[Encountered the same issue as described by Sven Häfker and for sure his fix did the trick Sven Häfker&#8217;s post: Fix: Unable to activate worker process proxy object within the worker process Issue: We have encountered an issue that the &#8230; <a href="http://dirkvandenberghe.com/2011/04/05/fix-unable-to-activate-worker-process-proxy-object-within-the-worker-process-by-sven-hafker.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Encountered the same issue as described by Sven Häfker and for sure his fix did the trick</p>
<p>Sven Häfker&#8217;s <a href="http://www.avanadeblog.com/sharepointasg/2010/12/fix-unable-to-activate-worker-process-proxy-object-within-the-worker-process.html">post</a>:<br />
Fix: Unable to activate worker process proxy object within the worker process<br />
Issue:<br />
We have encountered an issue that the Sandbox Worker Process (SPUCHostService.exe) of SharePoint 2010 wasn&#8217;t able to initialize itself on several servers. As a result Sandboxed Solutions couldn&#8217;t be used. We&#8217;ve found the following entries in the SharePoint ULS: </p>
<p>-  Unable to activate worker process proxy object within the worker process: ipc://1787a8e0-45c3-48dc-9b3c-a60e8b4d6199:7000</p>
<p>-  Error activating the worker process manager instance within the worker process.- Inner Exception: System.InvalidOperationException: Unable to activate worker processproxy object within the worker process: ipc://1787a8e0-45c3-48dc-9b3c-a60e8b4d6199:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()         &#8211; Process creation/initialization threw an exception. Stopping this process.<br />
&#8220;ipc://aec755bf-3ac8-4c2e-b5a4-9198b1bf027e:7000&#8243; &#8211; Stopping shim process. Shim process name: &#8220;SPUCWorkerProcess&#8221; Shim PID: &#8220;0&#215;1868&#8243;<br />
Shim service url: &#8220;ipc://aec755bf-3ac8-4c2e-b5a4-9198b1bf027e:7000&#8243; &#8211; Stopping proxy process. Proxy process name: &#8220;SPUCWorkerProcessProxy&#8221; Proxy PID:<br />
&#8220;0x0AB0&#8243; Proxy service url: &#8220;ipc://1787a8e0-45c3-48dc-9b3c-a60e8b4d6199:7000&#8243; &#8211; Error activating the worker process manager instance within the worker process. </p>
<p>- Starting worker process threw &#8211; Inner Exception: System.InvalidOperationException: Unable to activate worker process proxy object within the worker process: ipc://1787a8e0-45c3-48dc-9b3c-a60e8b4d6199:7000 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies() &#8211; CreateSandBoxedProcessWorker() is called<br />
- Created desktop: Service-0&#215;0-2bea3589$\Microsoft Office Isolated Environment </p>
<p>Fix:<br />
After trying to fix the issue for several hours, we tried to disable the &#8220;Check for publisher&#8217;s certificate revocation&#8221;-setting for the Service Account of the Sandbox and this solved the issue. You can do this by changing the following key in the registry: </p>
<p>HKEY_USERS\[SID OF THE SERVICE ACCOUNT]\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing<br />
The value of &#8220;State&#8221; needs to be set to &#8220;0x00023e00&#8243;. </p>
<p>You can get the SID of the Service Account with PowerShell: </p>
<p>$(Get-SPManagedAccount -Identity &#8220;THE SERVICE ACCOUNT&#8221;).Sid.Value</p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/sM1yzdHWPNs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/04/05/fix-unable-to-activate-worker-process-proxy-object-within-the-worker-process-by-sven-hafker.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/04/05/fix-unable-to-activate-worker-process-proxy-object-within-the-worker-process-by-sven-hafker.html</feedburner:origLink></item>
		<item>
		<title>Getting rid of “Could not find stored procedure ‘dbo.Search_GetRecentStats’” error</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/Zs--XcYRDag/getting-rid-of-dbo-search-getrecentstats-error.html</link>
		<comments>http://dirkvandenberghe.com/2011/01/26/getting-rid-of-dbo-search-getrecentstats-error.html#comments</comments>
		<pubDate>Wed, 26 Jan 2011 09:52:03 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=238</guid>
		<description><![CDATA[another one of those errors that can appear in your ULS logs which can easily be solved. This error also logs events in the Application eventlog with ID 6398 and 5586. I found the solution to this issue on the &#8230; <a href="http://dirkvandenberghe.com/2011/01/26/getting-rid-of-dbo-search-getrecentstats-error.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>another one of those errors that can appear in your ULS logs which can easily be solved. This error also logs events in the Application eventlog with ID 6398 and 5586.</p>
<p>I found the solution to this issue on the SharePoint forum <a href="http://social.msdn.microsoft.com/Forums/is/sharepoint2010general/thread/9ff7086b-6fd1-428a-9def-229f25c4c5d5">here</a></p>
<p>This happens when you have the Usage and Health Data Collection Service Application installed. This service application creates a database just for logging. Apparently the Search Service was trying to make entries in that database and couldn’t.</p>
<p>The solution to this issue is to enable the Usage Data Collection, which is not enabled by default when you create the Usage and Health Data Collection Service Application .</p>
<p>To enable the Usage Data Collection navigate to Central Admin\Application Management\Service Applications\Manage service applications.  Once there highlight the WSS_UsageApplication (or whatever name you gave the service application)and select manage from the ribbon.  Under Usage Data Collection check the box. Under Health Data Collection check the Enable health data collection box.  Hit OK and the errors will be gone. </p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/Zs--XcYRDag" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/01/26/getting-rid-of-dbo-search-getrecentstats-error.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/01/26/getting-rid-of-dbo-search-getrecentstats-error.html</feedburner:origLink></item>
		<item>
		<title>Getting rid of “Missing server side dependencies” MissingWebPart error in Health Analyzer for Central Admin – Update</title>
		<link>http://feedproxy.google.com/~r/dirkvandenberghe/~3/cW57RvX-0kQ/getting-rid-of-missing-server-side-dependencies-missingwebpart-error-in-health-analyzer-for-central-admin.html</link>
		<comments>http://dirkvandenberghe.com/2011/01/04/getting-rid-of-missing-server-side-dependencies-missingwebpart-error-in-health-analyzer-for-central-admin.html#comments</comments>
		<pubDate>Tue, 04 Jan 2011 15:25:52 +0000</pubDate>
		<dc:creator>Dirk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dirkvandenberghe.com/?p=218</guid>
		<description><![CDATA[Now that I am finalizing some of my farm installation I am starting to pay attention to those small issues reported by the Health Analyzer. One of those errors in there is the following: Title Missing server side dependencies. Severity &#8230; <a href="http://dirkvandenberghe.com/2011/01/04/getting-rid-of-missing-server-side-dependencies-missingwebpart-error-in-health-analyzer-for-central-admin.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Now that I am finalizing some of my farm installation I am starting to pay attention to those small issues reported by the Health Analyzer.  </p>
<p>One of those errors in there is the following: </p>
<p><strong>Title </strong>Missing server side dependencies.<br />
<strong>Severity </strong>1 &#8211; Error<br />
<strong>Category </strong>Configuration<br />
<strong>Explanation </strong>[MissingWebPart] WebPart class [8d6034c4-a416-e535-281a-6b714894e1aa] is referenced [2] times in the database [SP2010_ContentDB_CentralAdmin], but is not installed on the current farm. Please install any feature/solution which contains this web part. One or more web parts are referenced in the database [SP2010_ContentDB_CentralAdmin], but are not installed on the current farm. Please install any feature or solution which contains these web parts. </p>
<p>To get rid of this error you simply need to configure the SharePoint Foundation Search service though the Central Admin &#8211; Services on Server page on one of the servers in the farm.</p>
<p>Once this is configured, the error will go away.</p>
<p>UPDATE: on one of my other farms I noticed this error and configured the SharePoint Foundation Search service (which oddly enough once configured, changes its name to SharePoint Foundation Help Search)</p>
<p>a little more research and some Google results later I found an answer to this problem posted on the technet forums by John D Palm stating:<br />
<em>&#8220;This error will appear on a cleanly installed system in the Health Analyzer Reports until you visit the following pages:</p>
<p>SearchAdministration.aspx<br />
SearchFarmDashboard.aspx<br />
These are: Central Administration, General Application Settings, Farm Search Administration and then Search Service Application.</p>
<p>Browse to them and the error will no longer appear in the Health Analyzer Report.&#8221;</em></p>
<p>I followed John&#8217;s advise and indeed the error went away just after having visited both these pages and hitting the Reanalyze now button on the alert.</p>
<p>So there you go</p>
<img src="http://feeds.feedburner.com/~r/dirkvandenberghe/~4/cW57RvX-0kQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://dirkvandenberghe.com/2011/01/04/getting-rid-of-missing-server-side-dependencies-missingwebpart-error-in-health-analyzer-for-central-admin.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://dirkvandenberghe.com/2011/01/04/getting-rid-of-missing-server-side-dependencies-missingwebpart-error-in-health-analyzer-for-central-admin.html</feedburner:origLink></item>
	</channel>
</rss>

