<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cato Antonsen's Weblog</title>
	<atom:link href="http://catoantonsen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://catoantonsen.wordpress.com</link>
	<description>For those times I forget -- which seems to happen more and more often...</description>
	<lastBuildDate>Wed, 24 Aug 2011 06:34:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='catoantonsen.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cato Antonsen's Weblog</title>
		<link>http://catoantonsen.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://catoantonsen.wordpress.com/osd.xml" title="Cato Antonsen&#039;s Weblog" />
	<atom:link rel='hub' href='http://catoantonsen.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Thank God for Windows Home Server!</title>
		<link>http://catoantonsen.wordpress.com/2010/04/11/thank-god-for-windows-home-server/</link>
		<comments>http://catoantonsen.wordpress.com/2010/04/11/thank-god-for-windows-home-server/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 17:46:37 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[Bouvet]]></category>
		<category><![CDATA[General development]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Windows Home Server]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2010/04/11/thank-god-for-windows-home-server/</guid>
		<description><![CDATA[This week was the first in my new job in Bouvet ASA in Oslo. On the first day I was handed a Lenovo ThinkPad W500 with Windows 7. I installed SharePoint 2007, Visual Studio 2008 and all the dozens of applications and utilities I can’t develop without. After a couple of days I was told [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=53&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This week was the first in my new job in <a href="http://www.bouvet.no">Bouvet ASA</a> in Oslo. On the first day I was handed a Lenovo ThinkPad W500 with Windows 7. I installed SharePoint 2007, Visual Studio 2008 and all the dozens of applications and utilities I can’t develop without. After a couple of days I was told it was very likely I would start on a SharePoint 2010 project. Cool! Since the machine only had 4 GB of RAM it was out of the question to run SharePoint 2010 in a virtual machine. I decided to make a VHD with Windows Server 2008 R2, SharePoint 2010 and Visual Studio 2010 and <a href="http://technet.microsoft.com/en-us/library/dd744338(WS.10).aspx">boot from it</a>. At the end of the week I had two complete and separate development environments for both SharePoint versions on my machine. I had even started to prepare for the potential 2010 project by making a test project to investigate some ideas I had.</p>
<p>On Saturday I booted into Windows 7 and read <a href="http://google.com/reader">news</a> as usual while eating breakfast. After that I rebooted into Windows 2008 R2 and wanted to work some on my test-project. After the boot load screen I got an bluescreen. Booted into Safe Mode, but again got an bluescreen. Tried to boot into Windows 7 but that bluescreened as well! WTF happened?!? </p>
<p>I would normally boot with a bootable utility CD to be able to fix problem or rescue files, but I thought this was an excellent opportunity to test a restore from my Windows Home Server backup.Luckily I had installed the WHS client on the Windows 7 machine and a full backup, including the VHD, was done Friday night. After 30 minutes downloading and burning the Restore CD and put network drivers on a USB stick – and then 1,5 hour restore time my machine was in perfect state. </p>
<p>Thank God for <a href="http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx">Windows Home Server</a>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=53&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2010/04/11/thank-god-for-windows-home-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Failed to retrieve the list schema for feature&#8221; caused by missing BaseView in List element</title>
		<link>http://catoantonsen.wordpress.com/2010/01/21/failed-to-retrieve-the-list-schema-for-feature-caused-by-missing-baseview-in-list-element/</link>
		<comments>http://catoantonsen.wordpress.com/2010/01/21/failed-to-retrieve-the-list-schema-for-feature-caused-by-missing-baseview-in-list-element/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 11:06:24 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[Sharepoint 2007]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2010/01/21/failed-to-retrieve-the-list-schema-for-feature-caused-by-missing-baseview-in-list-element/</guid>
		<description><![CDATA[I needed a very basic custom list template with one custom content type and a few custom fields. I first started by copying schema.xml from a feature I recently used and started to modify it. To make a long story short: I got some errors in the views I couldn’t figure out, so I decided [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=51&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I needed a very basic custom list template with one custom content type and a few custom fields. I first started by copying schema.xml from a feature I recently used and started to modify it. To make a long story short: I got some errors in the views I couldn’t figure out, so I decided to start fresh by copying the schema.xml from the OOB CustList feature and copy’n’paste needed customization from the “old” schema.xml.</p>
<p>When I tried to create a list I got the famous:&#160; </p>
<blockquote><p><strong>Cannot complete this action.        <br /></strong>Please try again.&#160;&#160; at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String bstrUrl, String&amp; pbstrGuid, String&amp; pbstrNextUrl)       <br />&#160;&#160; at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String&amp; pbstrGuid, String&amp; pbstrNextUrl)</p>
</blockquote>
<p>In the Sharepoint logs I found this:</p>
<blockquote><p>Failed to retrieve the list schema for feature [FEATURE GUID], list template [TEMPLATE]; expected to find it at: &quot;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\[FEATURENAME]\[LIST]&quot;.&#160;&#160;&#160;&#160; <br />Failed to find the list schema for FeatureId &#8216;[FEATURE GUID]&#8216;, list template ID [TEMPLATE].&#160; Cannot create list in web &quot;<a href="http://utv-nw-moss&quot;">[WEBURL]&quot;</a> at URL &quot;(null)&quot;.&#160;&#160;&#160;&#160; </p>
</blockquote>
<p>This error is often caused by having more than one directory level in the feature folder. But in my case none of the suggestions Google gave me was valid.</p>
<p>I therefore tried to start with a fresh schema.xml but this time without modification. Deployed and added a list. No problem. I thereby modified the List attributes. Deploy. No problem. Added the content types. Again no problem. Added the fields. No problem! Added ViewFields. No problem!!! At this stage the schema.xml was practically identically to the one that caused the error – with <u>one</u> exception: The BaseView=”0” attribute of the List element was included in the working version. Hmmm, the <a href="http://msdn.microsoft.com/en-us/library/ms415091.aspx" target="_blank">documentation</a> states that this attribute is optional. But as soon as I remove it, the error occurs. </p>
<p>Conclusion: The BaseView attribute is <u>not</u> optional. At least in this case…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=51&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2010/01/21/failed-to-retrieve-the-list-schema-for-feature-caused-by-missing-baseview-in-list-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>AutoCompleteExtender only returnes &#8216;undefined&#8217;</title>
		<link>http://catoantonsen.wordpress.com/2009/04/22/autocompleteextender-only-returnes-undefined/</link>
		<comments>http://catoantonsen.wordpress.com/2009/04/22/autocompleteextender-only-returnes-undefined/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:10:26 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Ajax Troubleshooting]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2009/04/22/autocompleteextender-only-returnes-undefined/</guid>
		<description><![CDATA[I was making a simple Ajax solution for an application running in Sharepoint context in the 12 layout hive (aka application page). I needed a textbox where the user could start typing a job title and the system would suggest previous titles stored in a database. A perfect task for the AutoCompleteExtender. The problem was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=48&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was making a simple Ajax solution for an application running in Sharepoint context in the 12 layout hive (aka application page). I needed a textbox where the user could start typing a job title and the system would suggest previous titles stored in a database. A perfect task for the AutoCompleteExtender.</p>
<p>The problem was that after writing the necessary 3 letters in the textbox I only got a looong list of ‘undefined’ entries. I tried to debug the webservice, but my code seemed never to run. I Googled and found others having the same problem, but their problem was caused by the fact that they returned only integers and not text.</p>
<p>I needed to find out what was happening in the background, so I started Fiddler and ran my solution, typed in a few characters and found this result from the server:</p>
<blockquote><p>&lt;span id=&quot;ctl00_PlaceHolderMain_LabelMessage&quot;&gt;<strong>Could not create type &#39;Itera.IDM.Web._12.TEMPLATE.Layouts.IteraIDM.TitleService</strong>&#39;.&amp;nbsp;&amp;nbsp; at System.Web.UI.SimpleWebHandlerParser.GetType(String typeName) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(Assembly builtAssembly) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(CompilerResults results) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath virtualPath) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Compilation.BuildManager.GetCompiledType(String virtualPath) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Script.Services.WebServiceData.GetWebServiceData(HttpContext context, String virtualPath, Boolean failIfNoData, Boolean pageMethods, Boolean inlineScript) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Script.Services.RestHandler.CreateHandler(HttpContext context) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Script.Services.RestHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/span&gt;</p>
</blockquote>
<p>Aha! That namespace didn’t look right! </p>
<p>Since I created the source .aspx and .asmx files in the 12/TEMPLATE/Layouts/[SOLUTION]-folder, both files got an default namespace according this folder, like this: <strong>Itera.IDM._12.TEMPLATE.Layouts.IteraIDM</strong>. I had refactored it to Itera.IDM.Web and Itera.IDM.Ajax but forgot to update the .asmx file itself. Bummer!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=48&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2009/04/22/autocompleteextender-only-returnes-undefined/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>How to find if assembly is 32-bit or 64-bit?</title>
		<link>http://catoantonsen.wordpress.com/2009/02/03/how-to-find-if-assembly-is-32-bit-or-64-bit/</link>
		<comments>http://catoantonsen.wordpress.com/2009/02/03/how-to-find-if-assembly-is-32-bit-or-64-bit/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 09:12:19 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[General development]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2009/02/03/how-to-find-if-assembly-is-32-bit-or-64-bit/</guid>
		<description><![CDATA[By running CorFlags.exe [assemblyname] it will output the information you need: &#160; Platform PE 32BIT Any CPU PE32 0 x86 PE32 1 64-bit PE32+ 0 &#160; Information got from this blog.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=45&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By running <strong>CorFlags.exe [assemblyname</strong>] it will output the information you need:</p>
<p>&#160;</p>
<table border="1" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="133">Platform</td>
<td valign="top" width="133">PE</td>
<td valign="top" width="133">32BIT</td>
</tr>
<tr>
<td valign="top" width="133">Any CPU</td>
<td valign="top" width="133">PE32</td>
<td valign="top" width="133">0</td>
</tr>
<tr>
<td valign="top" width="133">x86</td>
<td valign="top" width="133">PE32</td>
<td valign="top" width="133">1</td>
</tr>
<tr>
<td valign="top" width="133">64-bit</td>
<td valign="top" width="133">PE32+</td>
<td valign="top" width="133">0</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>Information got from <a href="http://blogs.msdn.com/crm/archive/2008/09/11/32-bit-vs-64-bit-crm-sdk-assemblies.aspx">this</a> blog.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=45&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2009/02/03/how-to-find-if-assembly-is-32-bit-or-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>Consolidating Application Pools</title>
		<link>http://catoantonsen.wordpress.com/2008/11/05/consolidating-application-pools/</link>
		<comments>http://catoantonsen.wordpress.com/2008/11/05/consolidating-application-pools/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 11:26:24 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2008/11/05/consolidating-application-pools/</guid>
		<description><![CDATA[I had a need to consolidate application pools for several MOSS 2007 sites I had created on my development machine. I had been so stupid that I just created a new application pool each time I created a site. Since Sharepoint Search crawls every site, a new work process (w3wp.exe) was created for each site [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=43&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a need to consolidate application pools for several MOSS 2007 sites I had created on my development machine. I had been so stupid that I just created a new application pool each time I created a site. Since Sharepoint Search crawls every site, a new work process (w3wp.exe) was created for each site – even though I didn’t use them. No need to say that this eats valuable memory in my VPC…</p>
<p>This was what I did:</p>
<ul>
<li>Make sure all sites use the same application pool acount in <em>Central Administation</em> &gt; <em>Operations</em> &gt; <em>Service Accounts</em>. I use Network Service for simplicity</li>
<li>Make sure authentication providers use <em>NTLM</em> in <em>Central Administration</em> &gt; <em>Application Management</em> &gt; <em>Authentication Providers</em></li>
<li>Do a IISRESET and test that all sites works OK. If something doesn’t work now, it’s easy to go back if you remembered to make a note of previous settings for the first two steps</li>
<li>Go to <em>IIS Manager</em></li>
<li>Create a new Application Pool:</li>
<ul>
<li>Call it something reasonable, like “Sharepoint Shared App Pool”</li>
<li>Set <em>Identity </em>to the same identity as you used in the first step</li>
</ul>
<li>Configure Application Pool for each web site under Web Sites that you want to colsolidate</li>
<ul>
<li>Right click root of web site and select <em>Properties</em></li>
<li>Under <em>Home Directory</em>, change <em>Application pool</em> to the newly created application pool</li>
<li>Expand the <em>_layouts</em>-folder under root and change the application pool for both <em>images</em> and <em>inc</em></li>
</ul>
<li>Do a IISRESET and test that all sites works OK</li>
<li>Delete the application pools you no longer use (when testet that everything works ok!)</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=43&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2008/11/05/consolidating-application-pools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>View more rows in Edit in Data Sheet</title>
		<link>http://catoantonsen.wordpress.com/2008/11/03/view-more-rows-in-edit-in-data-sheet/</link>
		<comments>http://catoantonsen.wordpress.com/2008/11/03/view-more-rows-in-edit-in-data-sheet/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 12:58:19 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[Sharepoint 2007]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2008/11/03/view-more-rows-in-edit-in-data-sheet/</guid>
		<description><![CDATA[I received an requirement from my boss to display more than the default 6 rows in the Edit in Datasheet view of data lists. I hate this beast (ie. datasheet) because it is really unpredictable (see my previous posting). After messing around I found the simplest solution was to alter the OOB core.js: Changed: cGCMinimumHeight=200; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=41&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I received an requirement from my boss to display more than the default 6 rows in the Edit in Datasheet view of data lists. I hate this beast (ie. datasheet) because it is really unpredictable (see my <a href="http://catoantonsen.wordpress.com/2008/10/06/sharepoint-edit-in-datasheet-locks-or-freezes-internet-explorer/">previous</a> posting).</p>
<p>After messing around I found the simplest solution was to alter the OOB core.js:</p>
<p>Changed:   <br /><font size="2"><font face="Courier">cGCMinimumHeight</font>=200;</font></p>
<p>to:   <br /><font size="2" face="Courier New">cGCMinimumHeight=600;</font></p>
<p>This offcourse makes the change global for <u>all</u> Datasheets and very exposed to future updates from Microsoft. So add it to your list of things to check after next upgrade… <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=41&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2008/11/03/view-more-rows-in-edit-in-data-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharepoint Edit in Datasheet locks or freezes Internet Explorer</title>
		<link>http://catoantonsen.wordpress.com/2008/10/06/sharepoint-edit-in-datasheet-locks-or-freezes-internet-explorer/</link>
		<comments>http://catoantonsen.wordpress.com/2008/10/06/sharepoint-edit-in-datasheet-locks-or-freezes-internet-explorer/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 11:01:58 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[Sharepoint 2007]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2008/10/06/sharepoint-edit-in-datasheet-locks-or-freezes-internet-explorer/</guid>
		<description><![CDATA[Recently I had an issue with a new masterpage for one of the companies in our group of companies. The design is pretty much the same for all companies, just different logo, header illustration and footer image. For some reason IE would hang if the user selected “Edit in Datasheet” in a Document Library. Googling [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=37&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I had an issue with a new masterpage for one of the companies in our group of companies. The design is pretty much the same for all companies, just different logo, header illustration and footer image. For some reason IE would hang if the user selected “Edit in Datasheet” in a Document Library. </p>
<p>Googling the problem gave me a couple of hints:</p>
<ul>
<li><a title="http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/" href="http://tomblog.insomniacminds.com/2008/07/23/sharepoint-branding-issues-edit-in-datasheet-view/">Josh Gaffey&#8217;s Blog</a></li>
<li><a title="http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx" href="http://blogs.msdn.com/joshuag/archive/2007/12/04/edit-in-datasheet-locks-or-freezes-internet-explorer.aspx">Tom Blog</a></li>
</ul>
<p>… but none of them helped in my situation. </p>
<p>I tried to implement the new design step-by-step and noticed that the freeze-problem only occured when I changed the footer image. After a lot of trial and error I found what seemed to be the culprit of my problem. The footer image that worked was 322&#215;19 pixels. The image that didn’t work 316&#215;21 pixels. By resizing the footer image I found that as long as the height was 19 pixels I could change the width without any problem. Don’t ask why I tried this in the first place…</p>
<p>This correlates to Tom’s discovery which suggests that the GC-functions that resizes the grid is dependant on the scroll height. When the footer image got taller than 19 pixels – scroll height changes too.</p>
<p>Conclusion: Edit in Datasheet is VERY dependant on the layout. Hope Microsoft can fix this soon!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=37&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2008/10/06/sharepoint-edit-in-datasheet-locks-or-freezes-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable debug information in Sharepoint</title>
		<link>http://catoantonsen.wordpress.com/2008/09/17/enable-debug-information-in-sharepoint/</link>
		<comments>http://catoantonsen.wordpress.com/2008/09/17/enable-debug-information-in-sharepoint/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 10:45:18 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Sharepoint 2007]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2008/09/17/enable-debug-information-in-sharepoint/</guid>
		<description><![CDATA[Just a reminder for myself: &#160; &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243; standalone=&#8221;yes&#8221;?&#62;&#60;configuration&#62;&#160; &#60;configSections&#62;&#160;&#160;&#160; &#60;sectionGroup name=&#8221;SharePoint&#8221;&#62;&#160;&#160;&#160;&#160;&#160; &#60;section name=&#8221;SafeMode&#8221; type=&#8221;Microsoft.SharePoint.ApplicationRuntime.SafeModeConfigurationHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; /&#62;&#160;&#160;&#160; &#60;/sectionGroup&#62;&#160; &#60;/configSections&#62; &#160; &#60;SharePoint&#62;&#160;&#160;&#160; &#60;SafeMode MaxControls=&#8221;200&#8243; CallStack=&#8221;true&#8221; DirectFileDependencies=&#8221;10&#8243; TotalFileDependencies=&#8221;50&#8243; AllowPageLevelTrace=&#8221;false&#8221; /&#62;&#160; &#60;/SharePoint&#62; &#160; &#60;system.web&#62; &#160;&#160;&#160; &#60;customErrors mode=&#8221;Off&#8221; /&#62; &#160;&#160;&#160; &#60;compilation batch=&#8221;false&#8221; debug=&#8221;true&#8221; /&#62; &#160; &#60;/system.net&#62;&#60;/configuration&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=25&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a reminder for myself:</p>
<p>&nbsp;</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243; standalone=&#8221;yes&#8221;?&gt;<br />&lt;configuration&gt;<br />&nbsp; &lt;configSections&gt;<br />&nbsp;&nbsp;&nbsp; &lt;sectionGroup name=&#8221;SharePoint&#8221;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;section name=&#8221;SafeMode&#8221; type=&#8221;Microsoft.SharePoint.ApplicationRuntime.SafeModeConfigurationHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&#8221; /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/sectionGroup&gt;<br />&nbsp; &lt;/configSections&gt;
<p>&nbsp; &lt;SharePoint&gt;<br />&nbsp;&nbsp;&nbsp; &lt;SafeMode MaxControls=&#8221;200&#8243; CallStack=&#8221;true&#8221; DirectFileDependencies=&#8221;10&#8243; TotalFileDependencies=&#8221;50&#8243; AllowPageLevelTrace=&#8221;false&#8221; /&gt;<br />&nbsp; &lt;/SharePoint&gt;
<p>&nbsp; &lt;system.web&gt;
<p>&nbsp;&nbsp;&nbsp; &lt;customErrors mode=&#8221;Off&#8221; /&gt;
<p>&nbsp;&nbsp;&nbsp; &lt;compilation batch=&#8221;false&#8221; debug=&#8221;true&#8221; /&gt;
<p>&nbsp; &lt;/system.net&gt;<br />&lt;/configuration&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catoantonsen.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catoantonsen.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=25&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2008/09/17/enable-debug-information-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8216;No such host is known&#8217; when browsing Roles/Users/Groups in Visual K2 Studio</title>
		<link>http://catoantonsen.wordpress.com/2008/08/22/no-such-host-is-known-when-browsing-rolesusersgroups-in-visual-k2-studio/</link>
		<comments>http://catoantonsen.wordpress.com/2008/08/22/no-such-host-is-known-when-browsing-rolesusersgroups-in-visual-k2-studio/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 13:00:52 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[K2]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2008/08/22/no-such-host-is-known-when-browsing-rolesusersgroups-in-visual-k2-studio/</guid>
		<description><![CDATA[I had re-installed K2 on a new development machine and was trying to create a new K2 process. But when selecting Destination I got an errormessage when trying to select Role, User or Group: Googling wasn&#8217;t very helpful, so I had to investigate&#8230; On my development machine in the file C:\Program Files (x86)\K2 blackpearl\Bin\configurationmanager.conf I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=22&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had re-installed K2 on a new development machine and was trying to create a new K2 process. But when selecting Destination I got an errormessage when trying to select Role, User or Group: </p>
<p><a href="http://catoantonsen.files.wordpress.com/2008/08/image.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="138" alt="image" src="http://catoantonsen.files.wordpress.com/2008/08/image-thumb.png?w=244&#038;h=138" width="244" border="0"></a> </p>
<p>Googling wasn&#8217;t very helpful, so I had to investigate&#8230;</p>
<p>On my development machine in the file <em>C:\Program Files (x86)\K2 blackpearl\Bin\configurationmanager.conf</em> I found the solution. I just had to replace the default Host like this:</p>
<p>&lt;plugins&gt;<br />&nbsp; &lt;plugin text=&#8221;User Browser&#8221; description=&#8221;User Browser&#8221; makeAvailableOffline=&#8221;false&#8221; minVersionRequired=&#8221;4.0.0.0&#8243; type=&#8221;SourceCode.Workflow.Plugins.UserBrowser.UserBrowserPlugin&#8221; assembly=&#8221;SourceCode.Workflow.Plugins, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d&#8221; name=&#8221;User Browser&#8221;&gt;<br />&nbsp;&nbsp;&nbsp; &lt;settings&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add key=&#8221;UserBrowserServer&#8221; value=&#8221;Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=<strong><font color="#ff0000">SERVERNAME</font></strong>;Port=5555&#8243; /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/settings&gt; </p>
<p>Restart Visual Studio and everything should (hopefully) work.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catoantonsen.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catoantonsen.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=22&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2008/08/22/no-such-host-is-known-when-browsing-rolesusersgroups-in-visual-k2-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>

		<media:content url="http://catoantonsen.files.wordpress.com/2008/08/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Kerberos 101 &#8211; Love, Hate, Love</title>
		<link>http://catoantonsen.wordpress.com/2008/05/29/kerberos-101-love-hate-love/</link>
		<comments>http://catoantonsen.wordpress.com/2008/05/29/kerberos-101-love-hate-love/#comments</comments>
		<pubDate>Thu, 29 May 2008 19:35:58 +0000</pubDate>
		<dc:creator>Cato</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Kerberos]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://catoantonsen.wordpress.com/2008/05/29/kerberos-101-love-hate-love/</guid>
		<description><![CDATA[Update: Read the Kerberos-page linked to on the right side as it is more updated. Firstly &#8211; I assume you already know what Kerberos is and which problems it is intending to solve. This posting will not teach you this &#8211; but this might&#8230; Even though I have tried to follow much of the available [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=18&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Update: Read the <a href="http://catoantonsen.wordpress.com/kerberos/">Kerberos</a>-page linked to on the right side as it is more updated.</strong></p>
<p>Firstly &#8211; I assume you already know what <a href="http://en.wikipedia.org/wiki/Kerberos_(protocol)" target="_blank">Kerberos</a> is and which problems it is intending to solve. This posting will not teach you this &#8211; but <a href="http://blogs.msdn.com/james_world/archive/2007/08/20/essential-guide-to-kerberos-in-sharepoint.aspx" target="_blank">this</a> might&#8230;</p>
<p>Even though I have tried to follow much of the <a href="http://www.google.no/search?q=kerberos+how+to" target="_blank">available information</a> out there, I was stuck on an issue involving an ASP.net frontend, WCF webservice and CRM backend. The reason was off course just ignorance and lack of better knowledge &#8212; as often is the case when dealing with something you don&#8217;t need to use often.</p>
<p>This is just a summary of my experience that might act as an checklist for others:</p>
<ul>
<li>Use separate domain accounts for each individual service / IIS application pool. This makes registering SPN&#8217;s cleaner.
<li>Use hostname&#8217;s (intranet.company.com, crm.company.com etc) for all IIS web applications and never refer to servername in calling applications.
<li>Register all hostname&#8217;s with A-records in DNS. Don&#8217;t use CNAME! And off course make sure the server is set up with static IP or DHCP record.
<li>Set up Kerberos Service Principle Names (SPN) <a href="http://blogs.msdn.com/vijaysk/archive/2007/10/19/orchestrating-kerberos-authentication-spn-cheat-sheet.aspx" target="_blank">correctly</a>:
<ul>
<li>Register SPN for hostname&#8217;s only (HTTP/intranet.company.com) as SPN for web applications.
<li>Don&#8217;t register HTTP/NETBIOS-name and HTTP/Fully-qualified-domain-name as <a href="http://msdn.microsoft.com/en-us/library/ms998358.aspx#paght000025_kerberosauthentication" target="_blank">many</a> suggests.
<li>Don&#8217;t delete HOST/SERVERNAME SPN&#8217;s registered on the computer account (domain\SERVERNAME$) or else you will get into trouble. I discovered it the hard way trying to clean up my SPN&#8217;s after doing a lot of testing. They can easily be re-created. </li>
</ul>
<li>Enable <a href="http://support.microsoft.com/kb/q262177/" target="_blank">Kerberos logging</a>: HKLM\Software\CurrentControlSet\System\Lsa\Kerberos\Paremeters\LogLevel = 1 (DWORD
<li>Enforce <a href="http://support.microsoft.com/kb/244474" target="_blank">Kerberos to use TCP instead of UDP</a>: HKLM\System\CurrentControlSet\Lsa\Kerberos\Parameters\MaxPacketSize = 1 (DWORD) to get rid of some Kerberos error messages
<li>Use <a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1434" target="_blank">DelegConfig</a> to test Kerberos:
<ul>
<li>Make test-user member of&nbsp; Local Admin group of server
<li>Extract files to C:\Kerberos
<li>Add virtual directory in IIS web application you need to test with Kerberos as Alias, C:\Kerberos as Path and and Read and Execute permission
<li>On server in question, log in as test-user and go to <a href="http://intranet.company.com/Kerberos">HTTP://intranet.company.com/Kerberos</a>) &#8211; pray to God for all green checkboxes </li>
</ul>
<li>When nothing of this helped &#8211; you&#8217;re on your <a href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/tkerberr.mspx" target="_blank">own</a>&#8230; </li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catoantonsen.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catoantonsen.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catoantonsen.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catoantonsen.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/catoantonsen.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/catoantonsen.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catoantonsen.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catoantonsen.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catoantonsen.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catoantonsen.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catoantonsen.wordpress.com&amp;blog=3626084&amp;post=18&amp;subd=catoantonsen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://catoantonsen.wordpress.com/2008/05/29/kerberos-101-love-hate-love/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/686c954cfab96e92801d4204106152f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">catoantonsen</media:title>
		</media:content>
	</item>
	</channel>
</rss>
