<?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>What&#039;s The (Share)Point? &#187; Install</title>
	<atom:link href="http://whatsthesharepoint.com/category/install/feed/" rel="self" type="application/rss+xml" />
	<link>http://whatsthesharepoint.com</link>
	<description>Another resource for MS SharePoint information.</description>
	<lastBuildDate>Tue, 13 Dec 2011 16:21:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dealing with corrupt WebConfigModification entries.</title>
		<link>http://whatsthesharepoint.com/2011/06/dealing-with-corrupt-webconfigmodification-entries/</link>
		<comments>http://whatsthesharepoint.com/2011/06/dealing-with-corrupt-webconfigmodification-entries/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 20:38:00 +0000</pubDate>
		<dc:creator>David Petersen</dc:creator>
				<category><![CDATA[architecture]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://whatsthesharepoint.com/?p=218</guid>
		<description><![CDATA[Recently, I came across a problem.  I had created a new SharePoint Designer Custom Action and I created a feature solution package to deploy it to the production farm.  In testing it in a dev environment, I kept getting errors from the code I was using to make the appropriate web.config entries.  A custom SPD [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I came across a problem.  I had created a new SharePoint Designer Custom Action and I created a feature solution package to deploy it to the production farm.  In testing it in a dev environment, I kept getting errors from the code I was using to make the appropriate web.config entries.  A custom SPD workflow action requires an &#8216;authorizedType&#8217; entry in the web.config.  I have code in my feature receiver that will create a WebConfigModification entry in the WebConfigModifications collection and then use the SPService to apply the modifications.  (<a title="How to use the Object Model to modify Web.config" href="http://msdn.microsoft.com/en-us/library/bb861909%28v=office.12%29.aspx">MSDN</a>).  My problem was that someone had created a corrupt entry in the collection and it kept erroring out before executing my change.  It took a little understanding of how this works to find the solution to the problem.</p>
<p>The WebConfigModifications are a persisted object. That means that they remain until they are operated on.  In essence, it is a persisted queue.  Each entry is related to a SPWebApplication and added to the queue.  To remove the offending entry, I had to identify which web application the entry was registered with.  I just started going through every web application in my farm.  You could iterate through each application but in my case, I just hard-coded the URL for each application.  Here is the code that I used to clear the corrupt entries:</p>
<p><code><br />
string siteUrl = @"http://localhost:44689";<br />
SPSite site = new SPSite(siteUrl);<br />
SPWebApplication webApp = site.WebApplication;<br />
webApp.WebConfigModifications.Clear();<br />
webApp.Update();<br />
SPWebService service = SPWebService.ContentService;<br />
service.WebConfigModifications.Clear();<br />
service.Update();<br />
service.ApplyWebConfigModifications();<br />
</code></p>
<p>I created a console app and put the code above in the Main() method.  I kept executing the code using different web application URL&#8217;s until it executed without any error.  Once I didn&#8217;t get an error, I was pretty sure that I had cleared the bogus entry.  The next time I ran my feature code, it executed flawlessly!</p>
<p>A couple of notes.  Obviously, this code is meant to be executed on the server and not a client.  My dev machine has a single WFE.  I would think that the best place to execute this would be on the same machine where Central Admin resides.  Also &#8211; this was for a problem on a MOSS (WSS3) install.  I am sure that it works the same in SharePoint 2010.</p>
<p>You can find the correct URL&#8217;s in IIS for each web application on your server.  In my case, it was a shared development machine so there were many web applications executing under many different ports.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatsthesharepoint.com/2011/06/dealing-with-corrupt-webconfigmodification-entries/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Feature and Code Depreciation in SharePoint 2010</title>
		<link>http://whatsthesharepoint.com/2010/01/feature-and-code-depreciation-in-sharepoint-2010/</link>
		<comments>http://whatsthesharepoint.com/2010/01/feature-and-code-depreciation-in-sharepoint-2010/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:38:11 +0000</pubDate>
		<dc:creator>David Petersen</dc:creator>
				<category><![CDATA[Install]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://whatsthesharepoint.com/?p=104</guid>
		<description><![CDATA[SharePoint Joel (Joel Olesen) has a good post in preparing for Code and Feature Depreciation in SP2010. Understanding Feature and Code Depreciation for Upgrade to SharePoint 2010]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sharepointjoel.com">SharePoint Joel (Joel Olesen)</a> has a good post in preparing for Code and Feature Depreciation in SP2010.  </p>
<p><a href="http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=293">Understanding Feature and Code Depreciation for Upgrade to SharePoint 2010</a></p>
]]></content:encoded>
			<wfw:commentRss>http://whatsthesharepoint.com/2010/01/feature-and-code-depreciation-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Saturday &#8211; Kansas City</title>
		<link>http://whatsthesharepoint.com/2009/12/sharepoint-saturday-kansas-city/</link>
		<comments>http://whatsthesharepoint.com/2009/12/sharepoint-saturday-kansas-city/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 18:53:15 +0000</pubDate>
		<dc:creator>David Petersen</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[sharepoint saturday]]></category>
		<category><![CDATA[slidedecks]]></category>
		<category><![CDATA[slides]]></category>
		<category><![CDATA[spskc]]></category>

		<guid isPermaLink="false">http://whatsthesharepoint.com/?p=65</guid>
		<description><![CDATA[I presented &#8220;What I Wish I Knew Before I Implemented SharePoint&#8221; at SharePoint Saturday in Kansas City on 12/12/2009.  This is a 100-level presentation that is meant to be a general overview of the process of implementing SharePoint. I enjoyed my time there and for those in my session, you can download the slide-deck here. [...]]]></description>
			<content:encoded><![CDATA[<p>I presented &#8220;What I Wish I Knew Before I Implemented SharePoint&#8221; at SharePoint Saturday in Kansas City on 12/12/2009.  This is a 100-level presentation that is meant to be a general overview of the process of implementing SharePoint.</p>
<p>I enjoyed my time there and for those in my session, you can download the slide-deck <a href="http://whatsthesharepoint.com/wp/wp-content/uploads/2010/02/SharePoint-Saturday-KC-2009-I-Wish-Id-Known-That.pdf">here</a>.</p>
<p>Also, for reference, here are a list of links that I referenced during the session.</p>
<p><a href="http://www.sharepointshepherd.com" target="_blank">SharePoint Shepherds Guide for End Users</a></p>
<p><a href="http://EndUserSharePoint.com" target="_blank">EndUserSharePoint.com</a></p>
<p><a href="http://www.microsoft.com/licensing/software-assurance/packaged-services.aspx " target="_blank">SharePoint Deployment Planning Services</a></p>
<p><a href="http://sharepoint.microsoft.com " target="_blank">SharePoint Website at Microsoft</a></p>
<p><a href="http://www.wssdemo.com" target="_blank">WSSDemo.com</a></p>
<p>Slide Deck: <a href="http://whatsthesharepoint.com/wp/wp-content/uploads/2010/02/SharePoint-Saturday-KC-2009-I-Wish-Id-Known-That.pdf">SharePoint Saturday KC 2009 I Wish Id Known That</a></p>
<p>You can also get my contact information from my tag.</p>
<p>********  UPDATE ***********</p>
<p>I was informed that my tag was password protected.  Lo-and-behold, it was and so I created a new tag.  This one should not be password protected.</p>
<p>******** UPDATE ************</p>
<p><a href="http://whatsthesharepoint.com/wp/wp-content/uploads/2009/12/Contact_Card_20091217164046.png"><img class="alignleft size-full wp-image-72" title="Dave Petersen Contact" src="http://whatsthesharepoint.com/wp/wp-content/uploads/2009/12/Contact_Card_20091217164046.png" alt="Dave Petersen Contact" width="667" height="558" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://whatsthesharepoint.com/2009/12/sharepoint-saturday-kansas-city/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Install Smooth Sailing!</title>
		<link>http://whatsthesharepoint.com/2009/09/sharepoint-install-smooth-sailing/</link>
		<comments>http://whatsthesharepoint.com/2009/09/sharepoint-install-smooth-sailing/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 20:52:03 +0000</pubDate>
		<dc:creator>David Petersen</dc:creator>
				<category><![CDATA[Install]]></category>
		<category><![CDATA[best practice]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://whatsthesharepoint.com/?p=32</guid>
		<description><![CDATA[This is a great reference for when you are installing SharePoint. A great reference for all of the different User accounts needed by SharePoint. Best Practice for User Accounts When Installing MOSS]]></description>
			<content:encoded><![CDATA[<p>This is a great reference for when you are installing SharePoint.  A great reference for all of the different User accounts needed by SharePoint.</p>
<p><a href="http://www.paulswider.com/best-practice-for-user-accounts-when-installing-moss.html">Best Practice for User Accounts When Installing MOSS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://whatsthesharepoint.com/2009/09/sharepoint-install-smooth-sailing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

