<?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>TomDoepker.com &#187; Development</title>
	<atom:link href="http://tomdoepker.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomdoepker.com</link>
	<description>The web development portfolio of Tom Doepker, web site designer, developer and team lead</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:54:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Redesigning SharePoint</title>
		<link>http://tomdoepker.com/2009/08/26/redesigning-sharepoint/</link>
		<comments>http://tomdoepker.com/2009/08/26/redesigning-sharepoint/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:00:25 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Clermont County]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Sites I Have Done]]></category>

		<guid isPermaLink="false">http://tomdoepker.com/2009/08/26/redesigning-sharepoint/</guid>
		<description><![CDATA[I’ve never been a big fan of SharePoint, but it had become obvious that installing WSS 3.0 would allow me to get a very functional document library and knowledge base online for internal users in a very short time frame. I recently heard that the second rule of the Army is, “If it&#8217;s stupid but [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://tomdoepker.com/wp-content/uploads/2009/08/sharepoint_home.jpg" alt="The internal SharePoint redesign" /></p>
<p>I’ve never been a big fan of SharePoint, but it had become obvious that installing WSS 3.0 would allow me to get a very functional document library and knowledge base online for internal users in a very short time frame. I recently heard that the second rule of the Army is, “If it&#8217;s stupid but it works, it isn&#8217;t stupid.” It rung very true.</p>
<p>So now I have it and I needed to redesign it. There were two main suggestions I found online about redesigning SharePoint:</p>
<ol>
<li>Surrender to SharePoint Designer</li>
<li>Do not edit “core.css”</li>
</ol>
<p>First, SharePoint Designer is a descendant of FrontPage. That’s enough to convince a seasoned web developer not to use it. Second, I was careful and backed up files before changing them. I could easily revert back. Third, all changes were made in a development environment and thoroughly tested before being released to the wild.</p>
<p>User-testing helped me to design the version of a SharePoint installation that we both want and need in Photoshop, but changes to a Cascading Style Sheet weren’t going to do it.</p>
<p>To get the results I needed, I edited several of the master pages and user control pages, the “core.css”, two images as well as adding a theme-specific style sheet and images.</p>
<h2>Lessons Learned and Best Practices</h2>
<ul>
<li><strong>Set up a test environment and restore a recent copy of the SharePoint back up. Test your design changes here.</strong> Obvious and worth it.</li>
<li><strong>Create your own theme, but choose the one that looks the most similar to copy. </strong>There are plenty of places that will tell you how to create your own theme by copying an existing one, renaming it and then making your edits so I’ll skip that. By choosing one with a similar color scheme to your goal, you can save yourself a lot of time searching through tons of code.</li>
<li><strong>Don’t be afraid to make changes, just make sure that you have a back up. </strong>Some of the design changes I made forced me to edit the master and user control files. What really surprised me was that some design changes could ONLY be made by editing the “core.css”.</li>
<li><strong>Import a Style Sheet. </strong>Use it as much as possible. (It’s worth noting that many sources online recommend this. They also say not to edit the master pages, but then say you have to add the code to import this new CSS file to the default.master. Confusing.)</li>
<li><strong>Use GIFs over PNGs for images. </strong>PNGs looked great in everything but Internet Explorer. Only GIFs survived cross-browser testing.</li>
</ul>
<h2>Where Are All The Files You Will Need?</h2>
<ul>
<li><strong>Images: </strong>Local Drive\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES</li>
<li><strong>Cascading Style Sheets: </strong>Local Drive\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES</li>
<li><strong>Default.Master: </strong>Local Drive\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL</li>
<li><strong>Other Helpful Code Files (Notably Application.Master)</strong>: Local Drive\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS</li>
<li><strong>The Themes: </strong>Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES</li>
<li><strong>SPTHEMES.XML (Defines the themes available): </strong>Local Drive\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033</li>
</ul>
<h2>Related Articles</h2>
<ul>
<li><a href="/2009/04/09/sharepoint-research/" title="Read more">SharePoint Research</a></li>
<li><a href="/2009/04/28/migrating-sharepoint/" title="Read more">Migrating SharePoint</a></li>
<li><a href="/2009/05/29/wss-30-site-search-not-working/" title="Read more">Getting Site Search to Work</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tomdoepker.com/2009/08/26/redesigning-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>301 Redirects</title>
		<link>http://tomdoepker.com/2009/07/07/301-redirects/</link>
		<comments>http://tomdoepker.com/2009/07/07/301-redirects/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 12:00:27 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://tomdoepker.com/2009/07/07/301-redirects/</guid>
		<description><![CDATA[What do you do when you redevelop a website using a different coding language and you have a significant amount of links to your site that reference the old home page? I recently upgraded a website to ASP.Net. The old site was not only popular (20-25K hits a month), it had been in existence for [...]]]></description>
			<content:encoded><![CDATA[<p>What do you do when you redevelop a website using a different coding language and you have a significant amount of links to your site that reference the old home page?</p>
<p>I recently upgraded a website to ASP.Net. The old site was not only popular (20-25K hits a month), it had been in existence for eight years, so it was no surprise that there were plenty of old links directed to the old home page, “default.php”.</p>
<p>After submitting the site changes to the search engines, I needed to account for folks who had specified the old home page file with their link to our site. I first added in <a href="http://msdn.microsoft.com/en-us/library/ms228302.aspx" title="Read more about URL mapping in the web.config">URL mappings</a>, but I have had less than stellar results with them. It wasn’t the “one hundred percent solution” I wanted.</p>
<p>My research pointed me to 301 redirects. Despite the fact that my sites are coded in C sharp, .Net is nice enough to let me use VB code I found as well. Since all that was really involved was creating a dummy page that would attract the old requests and redirect them appropriately, the two sets of code never see each other anyway.</p>
<p>There are three steps:</p>
<ol>
<li>Create a blank text document named the same as the page in question.</li>
<li>Add the code below.</li>
<li>Post the file to your website directory</li>
</ol>
<p>Create a blank text document and name it the same as your offending page, in my case “default.php”.  Then include the code below, replacing my dummy location with the new one.</p>
<blockquote><p>&lt;%@ Language=&#8221;VBScript&#8221; %&gt;<br />
&lt;%<br />
Response.Status=&#8221;301 Moved Permanently&#8221;<br />
Response.AddHeader&#8221;Location&#8221;,&#8221;<strong>http://URLGoesHere/</strong>&#8221;<br />
%&gt;</p></blockquote>
<p>Add the new dummy file to your site’s directory and you’re all set. A further step would be to notify those sites that send you a lot of traffic about the update, but this allows you to handle your side quite efficiently.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomdoepker.com/2009/07/07/301-redirects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSS 3.0 Site Search Not Working</title>
		<link>http://tomdoepker.com/2009/05/29/wss-30-site-search-not-working/</link>
		<comments>http://tomdoepker.com/2009/05/29/wss-30-site-search-not-working/#comments</comments>
		<pubDate>Fri, 29 May 2009 12:48:45 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://tomdoepker.com/2009/05/29/wss-30-site-search-not-working/</guid>
		<description><![CDATA[Background We are running Windows SharePoint Services 3.0 as both an intranet and a document library for a reasonably small (less than 1000 seats) user base. We use a two-server set up with one for the front-end and another for the databases. For various reasons, we transferred the web front-end to a new server. The [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>We are running Windows SharePoint Services 3.0 as both an intranet and a document library for a reasonably small (less than 1000 seats) user base. We use a two-server set up with one for the front-end and another for the databases.</p>
<p>For various reasons, we transferred the web front-end to a new server. The transfer was successful, but the search functionality no longer worked.</p>
<h2>The Error</h2>
<p>Access is denied. Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content.   (0&#215;80041205)</p>
<h2>The Fix</h2>
<p>Many thanks to Sven Gillis’ post here: <a href="http://svengillis.blogspot.com/2008/10/access-denied-when-crawling-moss.html" title="Visit his site">http://svengillis.blogspot.com/2008/10/access-denied-when-crawling-moss.html</a></p>
<p>The solution was to disable the loopback check on the servers hosting SharePoint. Adding the hostnames served to the BackConnectionHostNames list in the registry on the SharePoint servers wasn’t enough, the loopback check had to be completely disabled.</p>
<p>Disable the loopback check</p>
<p>Follow these steps:</p>
<ol>
<li>Click Start, click Run, type regedit, and then click OK.</li>
<li>In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</li>
<li>Right-click Lsa, point to New, and then click DWORD Value.</li>
<li>Type DisableLoopbackCheck, and then press ENTER.</li>
<li>Right-click DisableLoopbackCheck, and then click Modify.</li>
<li>n the Value data box, type 1, and then click OK.</li>
<li>Quit Registry Editor, and then restart your computer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tomdoepker.com/2009/05/29/wss-30-site-search-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating SharePoint</title>
		<link>http://tomdoepker.com/2009/04/28/migrating-sharepoint/</link>
		<comments>http://tomdoepker.com/2009/04/28/migrating-sharepoint/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 12:37:46 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://tomdoepker.com/2009/04/28/migrating-sharepoint/</guid>
		<description><![CDATA[The Problem I needed to migrate a Windows SharePoint Services 3.0 (WSS 3.0) front-end application from one server to another. Issues Attempts to install another just another front-end failed, giving us a “Failed to connect to the configuration database” error. The Central Administration (CA) site will need to be moved as well. Need to minimize [...]]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p>I needed to migrate a Windows SharePoint Services 3.0 (WSS 3.0) front-end application from one server to another.</p>
<h2>Issues</h2>
<ul>
<li>Attempts to install another just another front-end failed, giving us a “Failed to connect to the configuration database” error.</li>
<li>The Central Administration (CA) site will need to be moved as well.</li>
<li>Need to minimize any down time to users.</li>
</ul>
<h2>The Solution</h2>
<p>To first install an entirely new version of WSS 3.0 on the new server. Then we restore current data from the latest back up on the currently running WS 3.0 instance.</p>
<h2>Section 0.1 – Before you get started</h2>
<ol>
<li>Set up test URLs for both your WSS 3.0 site as well as the admin site
<ul>
<li>For example, http://SharePointTest and http://SharePointAdminTest</li>
<li>Verify the user name and password for the account used to set up your current instance of WSS 3.0.</li>
</ul>
</li>
</ol>
<h2>Section 1.0 &#8211; Install a clean version of WSS 3.0</h2>
<p>The goal of this phase is to set up a brand new version of WSS 3.0 to which we can restore data. Make sure to use the same user credentials to create this new site as were used to create the existing WSS 3.0 instance.</p>
<ol>
<li>Install SharePoint as a new instance of a Web-Front end
<ul>
<li>Choose the “Advanced” installation</li>
<li>Choose “Web Front End”.</li>
<li>Under “Data Location”, you choose where to save your data.</li>
</ul>
</li>
<li>In the “SharePoint Configuration Wizard”,
<ul>
<li>Choose &#8220;No, I want to create a new server farm&#8221;</li>
<li>Put your new DBs on the same server as the live ones
<ul>
<li>DB names do not have to be the same as the live versions to restore.</li>
<li>We chose to use a naming convention that would group our DBs together.</li>
</ul>
</li>
</ul>
<ul>
<li>Use the same log in credentials used to create the current live application.</li>
<li>You can specify a port number, but it doesn&#8217;t seem to matter whether you do or you use their default. Best practices seem to be to have a URL like http://SharePointAdmin already set up to use for your administration site.</li>
</ul>
</li>
</ol>
<h2>Section 1.1.1 – Configure the new WS 3.0 instance – Set up site search</h2>
<p>To get the site ready for the restoration, you have to set up the search services and create the web application.</p>
<ol>
<li>Run the CA web site. This will either have popped up after the configuration wizard or can be found under “Start/All Programs”.</li>
<li>Select the “Operations” tab across the top of the site</li>
<li>Select “Services on Server”</li>
<li>“Windows SharePoint Services Search” should need to be started. Click the title rather than “Start” to configure it.</li>
<li>For both the “Service Account” and the “Content Access Account User”, use the same administrator account you used to install the application.</li>
<li>Leave everything else as its default.</li>
<li>After the “Operation in progress” screen, you will still likely have to start the search service.</li>
</ol>
<h2>Section 1.1.2 – Configure the new WS 3.0 instance – Create the web application</h2>
<ol>
<li>Select the Application Management tab.</li>
<li>Select Create or Extend a Web Application.</li>
<li>Click on Create a new Web Application.</li>
<li>For “Create a new IIS web site”, give your new site a unique name. Preferably the test URL you created in Section 0.1.</li>
<li>In the Select a security account for this application pool, again use your administrator account information.</li>
<li>Specify your “Database Server”.</li>
<li>Specify your “Database Name”.</li>
<li>Under “Select Windows SharePoint Search Services Server”, there should only be one option for you to select. If there is more than one, choose the target server you wish to use as your site host.</li>
<li>Restart IIS. (The command-line code is: iisreset /noforce)</li>
</ol>
<h2>Section 2.0 – Restoring SharePoint</h2>
<p>Create a directory on your target machine and copy the latest version of your SharePoint back up to it. In the same directory, create a .bat file with the following code:</p>
<blockquote><p>c:<br />
cd\program files\common files\microsoft shared\web server extensions\12\bin<br />
pause 111</p>
<p>stsadm -o restore -url http://<strong>YourTestURL </strong>-filename <strong>PathToTheBackUpHere</strong> -overwrite<br />
pause 333</p></blockquote>
<ol>
<li>Doubt-click your newly-created .bat file.</li>
<li>The process should take some time, depending on how much data you are restoring.</li>
<li>After receiving the “Operation completed Successfully” message, open your new WSS 3.0 site to verify that the data is now there.</li>
</ol>
<h2>Section 3.0 – Clean Up</h2>
<ul>
<li>Redirect traffic from the old WSS 3.0 instance to the new one.</li>
<li>Turn off and uninstall the old instance of WSS 3.0.</li>
<li>Monitor for any problems.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tomdoepker.com/2009/04/28/migrating-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Research</title>
		<link>http://tomdoepker.com/2009/04/09/sharepoint-research/</link>
		<comments>http://tomdoepker.com/2009/04/09/sharepoint-research/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 13:08:27 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Book Review]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[BookReview]]></category>

		<guid isPermaLink="false">http://tomdoepker.com/2009/04/09/sharepoint-research/</guid>
		<description><![CDATA[Resources for SharePoint research]]></description>
			<content:encoded><![CDATA[<p>It’s been a long time since I’ve posted, and the reason is SharePoint.</p>
<p>We have decided to roll out a customized version of Windows SharePoint Services 3.0 as our intranet and document library. Much of my time recently has been concentrated on research, which leads me to a book recommendation: <a title="The book on Amazon" href="http://www.amazon.com/Microsoft-SharePoint-2007-Unleashed-Michael/dp/0672329476/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1271181801&amp;sr=1-1"><em>Microsoft SharePoint 2007 Unleashed</em> by Michael Noel and Colin Spence</a>. It does a great job of detailing what SharePoint can do and offers some sound recommendations of how to do it.</p>
<p>The one big surprise: there is no real mention of the difference between Microsoft Office SharePoint Server (the full, paid version) and WSS 3.0 (the free, limited version). For that, I had to turn to the web, where I found the following two comparisons that I found very helpful:</p>
<ul>
<li><a title="Read the article" href="http://www.sharepointprovider.com/moss-hosting/compare-wss-moss.asp">http://www.sharepointprovider.com/moss-hosting/compare-wss-moss.asp</a></li>
<li><a title="Read the article" href="http://articles.techrepublic.com.com/5100-10878_11-6150512.html?tag=rbxccnbtr1">http://articles.techrepublic.com.com/5100-10878_11-6150512.html?tag=rbxccnbtr1</a></li>
</ul>
<p>Our initial needs analysis showed us that we will only need WSS 3.0, but the links above were terribly helpful in getting us to that decision.</p>
]]></content:encoded>
			<wfw:commentRss>http://tomdoepker.com/2009/04/09/sharepoint-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
