<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint &#187; SharePoint administration</title>
	<atom:link href="http://www.sharepointboris.net/category/sharepoint-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointboris.net</link>
	<description>and Boris Gomiunik</description>
	<lastBuildDate>Thu, 22 Dec 2011 11:45:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Resolving DCOM 10016 Error on SharePoint server</title>
		<link>http://www.sharepointboris.net/2011/11/resolving-dcom-10016-error-on-sharepoint-server/</link>
		<comments>http://www.sharepointboris.net/2011/11/resolving-dcom-10016-error-on-sharepoint-server/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 09:42:35 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[SharePoint administration]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[TroubleShooting]]></category>
		<category><![CDATA[Windows server 2008]]></category>

		<guid isPermaLink="false">http://www.sharepointboris.net/2011/11/resolving-dcom-10016-error-on-sharepoint-server/</guid>
		<description><![CDATA[If you find a lot of DCOM errors with event ID 10016 in your application server role, this may be due to Windows Server 2008 R2. Here&#8217;s how to resolve these isuses On the failing server open Server Manager, and under Roles select Application server. You will most probably find quite a lot of DCOM [...]]]></description>
			<content:encoded><![CDATA[<p>If you find a lot of DCOM errors with event ID 10016 in your application server role, this may be due to Windows Server 2008 R2. Here&#8217;s how to resolve these isuses</p>
<p>On the failing server open Server Manager, and under <strong>Roles</strong> select <strong>Application server</strong>. You will most probably find quite a lot of DCOM errors. Open one of those errors to see for which user and for which service the authentication is failing. In the open window copy the GUID of the failing service. It will help you identify the service.</p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb.png" width="320" height="206" /></a></p>
<p>Next open registry editor and select the root node. In <strong>Edit</strong> menu select <strong>Find, </strong>paste the GUID and click <strong>Find next</strong>.</p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image1.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb1.png" width="320" height="183" /></a></p>
<p>You can find the service name in one of the registry&#8217;s values (as seen on the screenshot below, in my case it was IIS WAMREG).</p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image2.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb2.png" width="320" height="88" /></a></p>
<p>Leave the registry editor open (you might still need it).</p>
<p>Next in <strong>Start menu</strong> under <strong>Administrative tools</strong> click <strong>Component Services.</strong> Expand the <strong>Computers</strong> node and <strong>My Computer</strong>. Select <strong>DCOM Confing</strong>. Now locate the service you identified in your registry, right click it and select <strong>Properties. </strong></p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image3.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb3.png" width="320" height="203" /></a></p>
<p>In the open dialog select <strong>Security</strong> tab and in the <strong>Launch and activation</strong> <strong>permissions</strong> group click the <strong>Edit</strong> button. </p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image4.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb4.png" width="320" height="145" /></a></p>
<p>If you have this entire tab grayed out, you need to do the following (outlined in the gray, otherwise skip the gray part below): </p>
<p>
<table border="0" cellspacing="0" cellpadding="2" width="500">
<tbody>
<tr>
<td style="background-color: #cecece" valign="top" width="500">In registry editor (which I hope you still have open), right click the node you found and select <strong>Permissions</strong>             </p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image5.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb5.png" width="320" height="162" /></a>             </p>
<p>Click <strong>Advanced</strong> and select the <strong>Owner</strong> tab. Change the owner to the account you&#8217;re logged on or to the administrators group (which I presume your account is in)             </p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image6.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb6.png" width="320" height="200" /></a>             </p>
<p>Click <strong>Apply</strong> and in the permissions dialog also give same user/group full control             </p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image7.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb7.png" width="265" height="320" /></a>             </p>
<p>Now you should close and reopen <strong>Component services </strong>and find the DCOM service.             </td>
</tr>
</tbody>
</table>
<p>In the permissions dialog for the service grant the failing user (or group the account is in) <strong>Local Launch</strong> and <strong>Local Activation </strong>permissions. And in case the event log says it is failing remote launch, grant the user remote launch and service also. </p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/11/image8.png" rel="lightbox[1099]" title="image"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/11/image_thumb8.png" width="244" height="320" /></a></p>
<p>Confirm all the changes and close registry editor and Component services window.</p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2011/11/resolving-dcom-10016-error-on-sharepoint-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 Hangs on reboot after Windows Update</title>
		<link>http://www.sharepointboris.net/2010/08/windows-server-2008-hangs-on-reboot-after-windows-update/</link>
		<comments>http://www.sharepointboris.net/2010/08/windows-server-2008-hangs-on-reboot-after-windows-update/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 22:00:14 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint administration]]></category>
		<category><![CDATA[TroubleShooting]]></category>
		<category><![CDATA[Windows server 2008]]></category>

		<guid isPermaLink="false">http://www.sharepointboris.net/2010/08/windows-server-2008-hangs-on-reboot-after-windows-update/</guid>
		<description><![CDATA[Not directly related to SharePoint, but since SP2010 is hosted on Win2008 I&#8217;d say this would come in handy to SP admins. I ran into an issue a while ago where the server would become unresponsive after applying Windows updates. It would finish installing updates, and after restart it would just hang in step 3 [...]]]></description>
			<content:encoded><![CDATA[<p>Not directly related to SharePoint, but since SP2010 is hosted on Win2008 I&#8217;d say this would come in handy to SP admins. I ran into an issue a while ago where the server would become unresponsive after applying Windows updates. It would finish installing updates, and after restart it would just hang in step 3 of 3 or at &quot;Applying computer settings&quot; or &quot;Applying user settings&quot;. </p>
<p>Even though at some point when I&#8217;d managed to logged in and see my desktop it was impossible to start anything service-based (IIS, SharePoint, Internet Explorer,…)</p>
<p>What did the trick for me? Couple of things, not sure which is THE fix, and I&#8217;m adding couple more that I&#8217;ve found searching the Web.</p>
<p>1. <strong>Reboot into safe mode after applying Windows Updates</strong>. This avoids any driver/service conflict issue. After successfully rebooted in safe mode, restart to normal boot.</p>
<p>2. <strong>Delete temporary files</strong> (to find them, open a &quot;Run&quot; window, type <strong>%temp% </strong>and press<strong> Enter.</strong>). This removes the chance of having some legacy corrupt update process file.</p>
<p>3. <strong>Check disk space on your system drive</strong> – no need for explanation there. Patches can be quite space consuming. </p>
<p>4. If you have IIS (if you have SharePoint, then you do), <strong>make a small registry fix to enforce service startup dependancy</strong>. Detailed instructions here: <a href="http://support.microsoft.com/kb/2004121">http://support.microsoft.com/kb/2004121</a>. </p>
<p>Hopefully one of those &quot;fixes&quot; will work also for you if you&#8217;re facing the same problem.</p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2010/08/windows-server-2008-hangs-on-reboot-after-windows-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unable to authenticate + crawl errors on MOSS on Windows Server 2008</title>
		<link>http://www.sharepointboris.net/2009/12/unable-to-authenticate-crawl-errors-on-moss-on-windows-server-2008/</link>
		<comments>http://www.sharepointboris.net/2009/12/unable-to-authenticate-crawl-errors-on-moss-on-windows-server-2008/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 11:11:35 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Windows server 2008]]></category>

		<guid isPermaLink="false">http://www.sharepointboris.net/2009/12/unable-to-authenticate-crawl-errors-on-moss-on-windows-server-2008/</guid>
		<description><![CDATA[If you&#8217;re having some of the following symptoms: 1. You&#8217;ve created a web application and you&#8217;re sure that credentials are right, but you&#8217;re unable to login to the site collection in that web application. 2. Search index log returns strange errors about not finding the web application or access denied. Then the solution is in [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re having some of the following symptoms:</p>
<p>1. You&#8217;ve created a web application and you&#8217;re sure that credentials are right, but you&#8217;re unable to login to the site collection in that web application.</p>
<p>2. Search index log returns strange errors about not finding the web application or access denied. </p>
<p>Then the solution is in the following article:</p>
<p><a href="http://support.microsoft.com/kb/896861">http://support.microsoft.com/kb/896861</a>&#160;</p>
<p>This did the trick for me:</p>
<ol>
<li><strong>Start regedit</strong></li>
<li><strong>Open key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaMSV1_0</strong></li>
<li><strong>Create a new multi-string value called &quot;BackConnectionHostNames&quot;</strong></li>
<li><strong><font color="#000000">Type web application&#8217;s host name(s) in the Value Data box.</font></strong></li>
</ol>
<p><font color="#000000" face="Arial">Save and close regedit. Then using <strong>Services</strong> under <strong>Administrative tools </strong>restart the <strong>IIS Admin service</strong></font></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:66103573-c8ac-445b-96dc-854835e7706a" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/MOSS+2007" rel="tag">MOSS 2007</a>,<a href="http://technorati.com/tags/Windows+Server+2008" rel="tag">Windows Server 2008</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/12/unable-to-authenticate-crawl-errors-on-moss-on-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive stsadm help</title>
		<link>http://www.sharepointboris.net/2009/06/interactive-stsadm/</link>
		<comments>http://www.sharepointboris.net/2009/06/interactive-stsadm/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 09:30:32 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/?p=311</guid>
		<description><![CDATA[At TehNet they&#8217;ve released a very nice silverlight interactive help for STSADM command which the SharePoint Admin almost can&#8217;t imagine living without. Straight to the point: stsadm for MOSS 2007 http://technet.microsoft.com/en-us/office/sharepointserver/cc948709.aspx stsadm for WSS http://technet.microsoft.com/en-us/windowsserver/sharepoint/dd418924.aspx]]></description>
			<content:encoded><![CDATA[<p>At TehNet they&#8217;ve released a very nice silverlight interactive help for STSADM command which the SharePoint Admin almost can&#8217;t imagine living without.</p>
<p>Straight to the point:</p>
<p>stsadm for MOSS 2007<br />
<a href="http://technet.microsoft.com/en-us/office/sharepointserver/cc948709.aspx">http://technet.microsoft.com/en-us/office/sharepointserver/cc948709.aspx</a></p>
<p>stsadm for WSS<br />
<a href="http://technet.microsoft.com/en-us/windowsserver/sharepoint/dd418924.aspx">http://technet.microsoft.com/en-us/windowsserver/sharepoint/dd418924.aspx</a><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/06/interactive-stsadm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limiting the People picker and profile import from AD to certain group</title>
		<link>http://www.sharepointboris.net/2009/06/limiting-the-people-picker-and-profile-import-from-ad-to-certain-group/</link>
		<comments>http://www.sharepointboris.net/2009/06/limiting-the-people-picker-and-profile-import-from-ad-to-certain-group/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 11:35:18 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/2009/06/limiting-the-people-picker-and-profile-import-from-ad-to-certain-group/</guid>
		<description><![CDATA[If you have a SharePoint environment which not every employee in the organization uses you’re stuck with two obsticles: How to limit that the person is not selected and/or added as a member of the site collection (because of licencing issues) How to stop MOSS from importing entire AD domain or forest. If you’re stuck [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a SharePoint environment which not every employee in the organization uses you’re stuck with two obsticles:</p>
<ol>
<li>How to limit that the person is not selected and/or added as a member of the site collection (because of licencing issues)</li>
<li>How to stop MOSS from importing entire AD domain or forest. If you’re stuck with 100 users from 1000 to enter information manually can be a pain.</li>
</ol>
<p><font face="Arial">The solution can be that SharePoint will not recognize other domains/forests than the ones specified and limit the people from those forests to only certain groups. </font></p>
<p><font face="Arial">Here’s what I did. Let’s say we have an AD domain called contosio.local. In this domain We’ve created OU called AccessGroups and in this OU we’ve created a security group called SharePoint. We want to do this for the site http://moss</font></p>
<p><font face="Arial"><strong>1. To limit People picker to certain group in AD domain</strong>      <br />a. limit the peoplepicker property only to specified domain by running the following command      <br /><strong>stsadm –o setproperty –pn &quot;peoplepicker-searchadforests” –pv “domain:contosio.local,contosioadministrator,adminPassword” –url http://moss</strong></font></p>
<p>Note in the example above you have to enter the account with the right to read from AD and its password. If you want to limit the access to multiple AD domains, separate the values in pv with semicolon.</p>
<p>b. limit the peoplepicker property to custom <a href="http://www.selfadsi.org/ldapfilter.htm" target="_blank">LDAP filter</a> by running the following command:    <br /><strong>stsadm –o setproperty –pn peoplepicker-searchadcustomfilter –pv “(memberOf=CN=SharePoint,OU=AccessGroups,DC=contosio,DC=local)” –url http://moss</strong></p>
<p>Now you’ll be able to add people only from the domain contosio.local – group SharePoint. Don’t forget to add users to security group.</p>
<p><font face="Arial"><strong>2. To limit profile import only to that same AD group (MOSS ONLY)</strong>      <br />a. Open <strong>SharePoint Central Administration</strong>      <br />b. Open <strong>Shared Services Administration</strong>      <br />c. Click <strong>User Profiles and Properties</strong>      <br />d. Click <strong>View Import Connections       <br /></strong>e. Edit the domain connection for the domain (if you don’t have one yet, you’ll have to create it manually)      <br />f. Change the default value of the field&#160; <strong>User filter</strong> from (&amp;(objectCategory=Person)(objectClass=User)) to       <br /><strong>(&amp;(objectCategory=Person)(objectClass=User)(memberOf=CN=SharePoint,OU=AccessGroups,DC=contosio,DC=local))</strong></font></p>
<p><font face="Arial"></font></p>
<p><font face="Arial">Like that you now control from AD who can access SharePoint and who’s profiles get imported.</font></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:986148ea-d59c-41ac-a1b4-8e720c65a6c0" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/SharePoint" rel="tag">SharePoint</a>,<a href="http://technorati.com/tags/SharePoint+administration" rel="tag">SharePoint administration</a>,<a href="http://technorati.com/tags/User+management" rel="tag">User management</a>,<a href="http://technorati.com/tags/AD" rel="tag">AD</a>,<a href="http://technorati.com/tags/Active+Directory" rel="tag">Active Directory</a>,<a href="http://technorati.com/tags/LDAP" rel="tag">LDAP</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/06/limiting-the-people-picker-and-profile-import-from-ad-to-certain-group/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Edit properties – Access denied error in document libraries</title>
		<link>http://www.sharepointboris.net/2009/05/edit-properties-access-denied-error-in-document-libraries/</link>
		<comments>http://www.sharepointboris.net/2009/05/edit-properties-access-denied-error-in-document-libraries/#comments</comments>
		<pubDate>Mon, 25 May 2009 08:56:01 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/2009/05/edit-properties-access-denied-error-in-document-libraries/</guid>
		<description><![CDATA[A very interesting symptom occurred to me the past time. In a document library I was trying to edit document properties but I received an error that I don’t have rights. Strange. Even if I tried to edit with a site collection administrator account, I got the same error. After searching for a while, I’ve [...]]]></description>
			<content:encoded><![CDATA[<p>A very interesting symptom occurred to me the past time. In a document library I was trying to edit document properties but I received an error that I don’t have rights. Strange. Even if I tried to edit with a site collection administrator account, I got the same error. </p>
<p>After searching for a while, I’ve found the solution. Looks like a bug that is fixed with February update, but you have to fix the existing bugs manually.</p>
<p>You can find the solution on <a href="http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/66643b6e-3695-48db-83a5-770282f8251e" target="_blank">Social TechNet</a>. Using Visual Studio create a console application and copy-paste the code published there. I’ve made slight modification to the code, because I needed to have this fix in a subsite:</p>
<p><strong>Old code</strong>:</p>
<p>using System;   <br />using System.Collections.Generic;    <br />using System.Text;    <br />using Microsoft.SharePoint;    <br />using System.Xml;    </p>
<p>namespace CA_TestingHotfix    <br />{    <br />&#160;&#160;&#160; class Program    <br />&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; static void Main(string[] args)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; FixField(args);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; static void FixField(string[] args)     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string RenderXMLPattenAttribute = &quot;RenderXMLUsingPattern&quot;;    </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Console.WriteLine(&quot;Please enter the URL of the site: (Press enter after typing):&quot;);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string weburl = args[0];    </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Console.WriteLine(&quot;Please enter the Document Library Name: (Press enter after typing):&quot;);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string listName = args[1];    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SPSite site = new SPSite(weburl);     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SPWeb web = site.OpenWeb();     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SPList list = web.Lists[listName];</p>
<p>…</p>
<p><strong>New code (changes marked with bold)</strong></p>
<p>using System;   <br />using System.Collections.Generic;    <br />using System.Text;    <br />using Microsoft.SharePoint;    <br />using System.Xml;    </p>
<p>namespace CA_TestingHotfix    <br />{    <br />&#160;&#160;&#160; class Program    <br />&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; static void Main(string[] args)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; FixField(args);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; static void FixField(string[] args)     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string RenderXMLPattenAttribute = &quot;RenderXMLUsingPattern&quot;;    </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Console.WriteLine(&quot;Please enter the URL of the site: (Press enter after typing):&quot;);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string weburl = args[0];    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>string subwebUrl = args[1];</strong>    </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Console.WriteLine(&quot;Please enter the Document Library Name: (Press enter after typing):&quot;);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; string listName = args[<strong>2</strong>];    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SPSite site = new SPSite(weburl);     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SPWeb web = site.OpenWeb(<strong>subwebUrl</strong>);     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SPList list = web.Lists[listName];</p>
<p>&#160;</p>
<p>After you have the code ready, compile the program, put it on the server and run the command</p>
<p>[programName].exe [http://site_coll_url] [subweburl] [document_library_name]</p>
<p>If you need to run it for example on the top level web see the example below</p>
<p>fixDocLib.exe –url http://testSite:8080 / “Shared Documents”</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:cf9813bb-5bdd-4960-9eed-89285065aa20" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/SharePoint" rel="tag">SharePoint</a>,<a href="http://technorati.com/tags/SharePoint+administration" rel="tag">SharePoint administration</a>,<a href="http://technorati.com/tags/SharePoint+troubleshooting" rel="tag">SharePoint troubleshooting</a>,<a href="http://technorati.com/tags/Document+Library" rel="tag">Document Library</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/05/edit-properties-access-denied-error-in-document-libraries/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fixing / Reattaching / Changing the Lookup list</title>
		<link>http://www.sharepointboris.net/2009/05/fixing-reattaching-changing-the-lookup-list/</link>
		<comments>http://www.sharepointboris.net/2009/05/fixing-reattaching-changing-the-lookup-list/#comments</comments>
		<pubDate>Tue, 19 May 2009 13:24:08 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/2009/05/fixing-reattaching-changing-the-lookup-list/</guid>
		<description><![CDATA[Today the strangest thing happened. During the content migration suddenly the target list lost the proper destination. The result was ALL the lookup values missing and the dropdown empty when adding /editing. Horror! if this would have been a short list the first thing I’d do is to restore it from backup and recover the [...]]]></description>
			<content:encoded><![CDATA[<p>Today the strangest thing happened. During the content migration suddenly the target list lost the proper destination. The result was ALL the lookup values missing and the dropdown empty when adding /editing. Horror! if this would have been a short list the first thing I’d do is to restore it from backup and recover the lookup values. But this being the couple-thousand-records-and-growing-daily list I couldn’t afford that.</p>
<p>With a bit of research into Lookup Field Schema XML I’ve discovered that the LookupList and WebID properties (GUIDS) were wrong. Using SharePoint Manager I could correct the WebID but not the LookupList. </p>
<p>Fortunately after a short period of googling around I’ve discovered this post:</p>
<p><a href="http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=33" target="_blank">Reattaching LookupList Property to a new List</a></p>
<p>and that worked like a charm! All the values magically reappeared and lookup dropdowns are back in action.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b7cdea05-3f07-4098-93d6-5a611421d18b" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/MOSS" rel="tag">MOSS</a>,<a href="http://technorati.com/tags/SharePoint" rel="tag">SharePoint</a>,<a href="http://technorati.com/tags/Lookup+Field" rel="tag">Lookup Field</a>,<a href="http://technorati.com/tags/Disaster+recovery" rel="tag">Disaster recovery</a>,<a href="http://technorati.com/tags/Restore" rel="tag">Restore</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/05/fixing-reattaching-changing-the-lookup-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Links in notification / alert emails corrupt after site migration</title>
		<link>http://www.sharepointboris.net/2009/02/links-in-notification-alert-emails-corrupt-after-site-migration/</link>
		<comments>http://www.sharepointboris.net/2009/02/links-in-notification-alert-emails-corrupt-after-site-migration/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 08:14:37 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/2009/02/links-in-notification-alert-emails-corrupt-after-site-migration/</guid>
		<description><![CDATA[If you’ve moved the entire site collection by using stsadm –o backup and restore commands, you might notice that the email notifications either might not work or the links in email notifications might still point to the old URL. This can be resolved simply by using the following stsadm command on the destination server: stsadm [...]]]></description>
			<content:encoded><![CDATA[<p>If you’ve moved the entire site collection by using stsadm –o backup and restore commands, you might notice that the email notifications either might not work or the links in email notifications might still point to the old URL. This can be resolved simply by using the following stsadm command on the destination server:</p>
<p><strong>stsadm -o updatealerttemplates -url </strong><strong>http://[portalnamehere</strong>]<strong> -filename &quot;C:Program filescommon filesMicrosoft sharedweb server extensions12templateXMLalerttemplates.xml&quot;</strong></p>
<p><font color="#000000">This fixed my corrupt links and even restored the nice look of the email.</font></p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c634407d-06a0-454c-8786-bdd80349048d" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/SharePoint" rel="tag">SharePoint</a>,<a href="http://technorati.com/tags/SharePoint+administration" rel="tag">SharePoint administration</a>,<a href="http://technorati.com/tags/SharePoint+migration" rel="tag">SharePoint migration</a>,<a href="http://technorati.com/tags/Update" rel="tag">Update</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/02/links-in-notification-alert-emails-corrupt-after-site-migration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upload bug in MOSS 2007 / Windows Server 2008</title>
		<link>http://www.sharepointboris.net/2009/02/upload-bug-in-moss-2007-windows-server-2008/</link>
		<comments>http://www.sharepointboris.net/2009/02/upload-bug-in-moss-2007-windows-server-2008/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 07:39:31 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/2009/02/upload-bug-in-moss-2007-windows-server-2008/</guid>
		<description><![CDATA[With the new installation of MOSS 2007 on Windows Server 2008 you might run into a slight bump when trying to upload large files – to be more precise – files larger than 28 MB. Even though you’ve increased the maximum upload limit in SharePoint central administration, the upload still doesn’t work. Here are some [...]]]></description>
			<content:encoded><![CDATA[<p>With the new installation of MOSS 2007 on Windows Server 2008 you might run into a slight bump when trying to upload large files – to be more precise – files larger than 28 MB. Even though you’ve increased the maximum upload limit in SharePoint central administration, the upload still doesn’t work. Here are some symptoms that I received:</p>
<ul>
<li><strong>Page cannot be found</strong> error in Internet Explorer when trying to upload to MOSS document library through “<strong>Upload</strong>” button</li>
<li><strong>Document not displaying</strong> in document library after uploading with “<strong>Upload multiple files</strong>” button even though the upload went to 100%</li>
<li><strong>Windows delayed write failed</strong> when trying to upload document through <strong>Explorer view</strong>. After the error the file appears in document library, but it has a file size 0.</li>
</ul>
<p><span id="more-239"></span></p>
<p><span style="font-family: Arial;">The error is not in SharePoint, the error is in IIS7 which limits the upload to 28 MB. To remove this limitation I’ve followed instructions from the KB article: </span></p>
<p><a href="http://support.microsoft.com/kb/925083" target="_blank">Error message when you try to upload a large file to a document library on a Windows SharePoint Services 3.0 site: &#8220;Request timed out&#8221;</a></p>
<p>Just in case: this did the trick: add the following lines at the end of your web&#8217; application’s web.config file – just before the &lt;/configuration&gt; closing tag:</p>
<pre>&lt;system.webServer&gt;
  &lt;security&gt;
    &lt;requestFiltering&gt;
      &lt;requestLimits maxAllowedContentLength="2147483648"/&gt;
    &lt;/requestFiltering&gt;
   &lt;/security&gt;
&lt;/system.webServer&gt;</pre>
<p><a href="http://boris.gomiunik.net/wp-content/uploads/2009/02/image.png" rel="lightbox[239]" title="image"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="image" src="http://boris.gomiunik.net/wp-content/uploads/2009/02/image-thumb.png" border="0" alt="image" width="244" height="99" /></a></p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ffdd9813-ee41-444e-a1eb-15b47f9dbc32" class="wlWriterEditableSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/SharePoint">SharePoint</a>,<a rel="tag" href="http://technorati.com/tags/Windows+Server+2008">Windows Server 2008</a>,<a rel="tag" href="http://technorati.com/tags/IIS">IIS</a>,<a rel="tag" href="http://technorati.com/tags/IIS7">IIS7</a>,<a rel="tag" href="http://technorati.com/tags/upload">upload</a>,<a rel="tag" href="http://technorati.com/tags/SharePoint+deployment">SharePoint deployment</a>,<a rel="tag" href="http://technorati.com/tags/SharePoint+administration">SharePoint administration</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2009/02/upload-bug-in-moss-2007-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>-cabsize 1024 not working</title>
		<link>http://www.sharepointboris.net/2008/11/cabsize-1024-not-working/</link>
		<comments>http://www.sharepointboris.net/2008/11/cabsize-1024-not-working/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 13:29:11 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint administration]]></category>

		<guid isPermaLink="false">http://boris.gomiunik.net/2008/11/cabsize-1024-not-working/</guid>
		<description><![CDATA[If you&#8217;ve been trying to use one of my earlier described methods to migrate a SharePoint site (using stsadm -o export) you might have gotten frustrated, because even if you did use the -cabsize 1024 switch the result was still exported to two or more files with 25 MB size. If we take a look [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been trying to use one of my <a href="http://boris.gomiunik.net/2008/01/cannot-find-cexportsettingsxml-error-when-restoring-with-sharepoint-designer-3/" target="_blank">earlier described methods to migrate a SharePoint site</a> (using stsadm -o export) you might have gotten frustrated, because even if you did use the -cabsize 1024 switch the result was still exported to two or more files with 25 MB size.</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="312" alt="image" src="http://boris.gomiunik.net/wp-content/uploads/2008/11/image.png" width="620" border="0"> </p>
<p>If we take a look at explanation of -cabsize switch when running the command, we can see the following description: <em>[-cabsize &lt;integer from 1-1024 megabytes&gt; (default: 25)]</em>. Looks like 1024 isn&#8217;t included. so if you wish to have the backup in chunks larger than 25 MB, use the </p>
<p><strong>-cabsize 1023</strong> switch.</p>
<p>&nbsp;<img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="312" alt="image" src="http://boris.gomiunik.net/wp-content/uploads/2008/11/image1.png" width="620" border="0"> </p>
<p>And that does the trick.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:54f29ad8-2459-4bf3-83e4-8388cd78d3a7" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Oznake ponudnika Technorati: <a href="http://technorati.com/tags/SharePoint%20administration" rel="tag">SharePoint administration</a></div>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2008/11/cabsize-1024-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

