<?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>SharePoint WTF Moments</title>
	<atom:link href="http://sharepointwtfmoments.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointwtfmoments.wordpress.com</link>
	<description>SharePoint 2007 Solutions, Findings, and WTF moments</description>
	<lastBuildDate>Thu, 28 Jan 2010 20:47:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sharepointwtfmoments.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>SharePoint WTF Moments</title>
		<link>http://sharepointwtfmoments.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sharepointwtfmoments.wordpress.com/osd.xml" title="SharePoint WTF Moments" />
	<atom:link rel='hub' href='http://sharepointwtfmoments.wordpress.com/?pushpress=hub'/>
		<item>
		<title>&#8220;Unable to attach to the process. Access is denied.&#8221;</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/17/unable-to-attach-to-the-process-access-is-denied/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/17/unable-to-attach-to-the-process-access-is-denied/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 17:03:02 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Workflow Foundation]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Workflow]]></category>
		<category><![CDATA[WSPBuilder]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=52</guid>
		<description><![CDATA[Have you ever gotten this error while debugging a VS workflow by way of attach to process? I get it whenever I debug my workflow! Let me explain. After making changes to my workflow code, I want to see what they do, so I build the solution, upgrade via the WSPBuilder context menu (available by right clicking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=52&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you ever gotten this error while debugging a VS workflow by way of attach to process?</p>
<p><img class="alignnone size-full wp-image-53" title="Unabletoattachtoprocess" src="http://sharepointwtfmoments.files.wordpress.com/2009/06/unabletoattachtoprocess.jpg?w=339&#038;h=145" alt="Unabletoattachtoprocess" width="339" height="145" /></p>
<p>I get it whenever I debug my workflow! Let me explain. After making changes to my workflow code, I want to see what they do, so I build the solution, upgrade via the WSPBuilder context menu (available by right clicking the project), then Attach to Process, select w3wp.exe (attached to Workflow code) and bam it works.</p>
<p>After I stop the debug and for some reason I want to debug again (having made no changes to code, no rebuild, etc), I Attach to Process and get the above message! Whaaat???</p>
<p><strong>SOLUTION</strong> (or what works for me):</p>
<p>Simply Copy to GAC from the WSPBuilder context menu, then Attach to Process and it should work!</p>
<p><img class="alignnone size-full wp-image-55" title="CopytoGAC" src="http://sharepointwtfmoments.files.wordpress.com/2009/06/copytogac.jpg?w=431&#038;h=287" alt="CopytoGAC" width="431" height="287" /></p>
<p>Again, I am using WSPBuilder so the solution to this problem may be different if you aren&#8217;t using it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=52&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/17/unable-to-attach-to-the-process-access-is-denied/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>

		<media:content url="http://sharepointwtfmoments.files.wordpress.com/2009/06/unabletoattachtoprocess.jpg" medium="image">
			<media:title type="html">Unabletoattachtoprocess</media:title>
		</media:content>

		<media:content url="http://sharepointwtfmoments.files.wordpress.com/2009/06/copytogac.jpg" medium="image">
			<media:title type="html">CopytoGAC</media:title>
		</media:content>
	</item>
		<item>
		<title>Good WSPBuilder tutorial</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/10/good-wspbuilder-tutorial/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/10/good-wspbuilder-tutorial/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 17:12:45 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[Third Party Programs]]></category>
		<category><![CDATA[WSPBuilder]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=49</guid>
		<description><![CDATA[Here is a good introduction/tutorial to WSPBuilder, an open source &#8220;addition&#8221; to VSeWSS. Initially I found it to be frustrating, but I think I have a good idea of how to use it properly now. http://www.michaelbowersox.com/2009/01/18/intro-to-wspbuilder/ Something to note: The build and deployment of my first WSP through the program resulted in a feature with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=49&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a good introduction/tutorial to WSPBuilder, an open source &#8220;addition&#8221; to VSeWSS. Initially I found it to be frustrating, but I think I have a good idea of how to use it properly now.</p>
<p><a href="http://www.michaelbowersox.com/2009/01/18/intro-to-wspbuilder/">http://www.michaelbowersox.com/2009/01/18/intro-to-wspbuilder/</a></p>
<p>Something to note: The build and deployment of my first WSP through the program resulted in a feature with a monkey icon as the feature icon, in Site Collection Features, with a title of &#8220;A Sample Feature&#8221;. After editing some C# code in the project (unrelated to this issue) then customizing the feature and element xml files (I don&#8217;t want a monkey as the icon to my workflow feature!), I tried upgrading the wsp through the WSPBuilder context menu. This produced an error messages saying the wsp was tied to another feature of ID &#8216;GUID here&#8217;. The <strong>solution</strong> was to <strong>remove this feature</strong>, then <strong>remove the solution</strong> from the solution store in Central Administration. Then I deployed the new .wsp and all was good.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=49&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/10/good-wspbuilder-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>
	</item>
		<item>
		<title>The Microsoft.Build.Tasks.Delete task could not be loaded from the assembly&#8230;</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/10/the-microsoft-build-tasks-delete-task-could-not-be-loaded-from-the-assembly/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/10/the-microsoft-build-tasks-delete-task-could-not-be-loaded-from-the-assembly/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 16:56:08 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Workflow Foundation]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=44</guid>
		<description><![CDATA[When building a Visual Studio sequential workflow created from a C# class library project, you may get one or all of these errors: The &#8220;Microsoft.Build.Tasks.Delete&#8221; task could not be loaded from the assembly C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll. Could not load file or assembly &#8216;file:///C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll&#8217; or one of its dependencies. The system cannot find the file specified. Confirm that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=44&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When building a Visual Studio sequential workflow created from a C# class library project, you may get one or all of these errors:</p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left"><em>The &#8220;Microsoft.Build.Tasks.Delete&#8221; task could not be loaded from the assembly C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll. Could not load file or assembly &#8216;file:///C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll&#8217; or one of its dependencies. The system cannot find the file specified. Confirm that the &lt;UsingTask&gt; declaration is correct, and that the assembly and all its dependencies are available. Platform.StagingAnalysis.Workflow</em></p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left"><em>The &#8220;Microsoft.Build.Tasks.Delete&#8221; task could not be loaded from the assembly C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll. Could not load file or assembly &#8216;file:///C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll&#8217; or one of its dependencies. The system cannot find the file specified. Confirm that the &lt;UsingTask&gt; declaration is correct, and that the assembly and all its dependencies are available. Platform.StagingAnalysis.Workflow.Services</em></p>
<p>The &#8220;Microsoft.Build.Tasks.Delete&#8221; task could not be loaded from the assembly C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll. Could not load file or assembly &#8216;file:///C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll&#8217; or one of its dependencies. The system cannot find the file specified. Confirm that the &lt;UsingTask&gt; declaration is correct, and that the assembly and all its dependencies are available. Platform.StagingAnalysis.Workflow.ConsoleHost</p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left"><strong>PROBLEM:</strong></p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left">The .NET version in the &lt;Import Project /&gt; node in your .csproj file does not match up with the version of the project.</p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left"><strong>SOLUTION:</strong></p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left"> Make sure your &lt;Import Project /&gt; line looks like this:</p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left"><strong>&lt;Import Project=&#8221;$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\<span style="color:#ff0000;">v3.5</span>\Workflow.Targets&#8221; /&gt;</strong></p>
<p style="list-style-type:none;text-decoration:none;border-style:none;margin:1em 0;padding:0;" align="left">Or if the project is not 3.5, replace with the correct version.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=44&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/10/the-microsoft-build-tasks-delete-task-could-not-be-loaded-from-the-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>
	</item>
		<item>
		<title>System.Workflow.ComponentModel.Design.IIdentifierCreationService</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/10/system-workflow-componentmodel-design-iidentifiercreationservice/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/10/system-workflow-componentmodel-design-iidentifiercreationservice/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 16:28:48 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Workflow Foundation]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=36</guid>
		<description><![CDATA[When creating a sequential workflow in VS, from a C# class library, haven&#8217;t modified the .csproj file yet, and try to open the workflow designer, you may get this error: &#8220;System.Workflow.ComponentModel.Design.IIdentifierCreationService must be installed for this operation to succeed. Ensure that this service is available.&#8221; 1) CLOSE the project and Visual Studio. Open the .csproj file in Notepad and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=36&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When creating a sequential workflow in VS, from a C# class library, <strong>haven&#8217;t modified the .csproj file </strong>yet, and try to open the workflow designer, you may get this error:</p>
<p><em>&#8220;System.Workflow.ComponentModel.Design.IIdentifierCreationService must be installed for this operation to succeed. Ensure that this service is available.&#8221;</em></p>
<p>1) CLOSE the project and Visual Studio. Open the .csproj file in Notepad and make sure your &lt;ProjectTypeGuids&gt;&lt;/ProjectTypeGuids&gt; section looks like this:</p>
<p><strong>&lt;ProjectTypeGuids&gt;{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}&lt;/ProjectTypeGuids&gt;</strong></p>
<p>The project file will have one of them already. These specific GUIDs say the project is a workflow and C# project.</p>
<p>2) Add the following line just inside the &lt;Project&gt; node:</p>
<p>&lt;Import Project=&#8221;$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\<strong>&lt;Latest .NET framework version&gt;</strong>\Workflow.Targets&#8221; /&gt;</p>
<p>So the real thing would be (in my case of .NET 3.5; You will get an error if the .NET version of the project doesn&#8217;t match up with the version you specify in this line!):</p>
<p><strong>&lt;Import Project=&#8221;$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets&#8221; /&gt;</strong></p>
<p>And that should do the trick! You will now be able to open the workflow in design mode.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=36&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/10/system-workflow-componentmodel-design-iidentifiercreationservice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>
	</item>
		<item>
		<title>SHAREPOINT\SYSTEM</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/09/sharepointsystem/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/09/sharepointsystem/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 14:52:05 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Windows Workflow Foundation]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=30</guid>
		<description><![CDATA[So I&#8217;ve been working on a workflow to accompany an InfoPath form and ran into a situation: This workflow needs to access the form&#8217;s data then insert it into CRM. While debugging, it errored out and I was getting an &#8220;HTTP 401: Unauthorized&#8221; error when stepping through the section of code which inserts form data into [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=30&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working on a workflow to accompany an InfoPath form and ran into a situation:</p>
<p>This workflow needs to access the form&#8217;s data then insert it into CRM. While debugging, it errored out and I was getting an &#8220;HTTP 401: Unauthorized&#8221; error when stepping through the section of code which inserts form data into CRM. Hmmm&#8230;the user under which the workflow is running has permissions to CRM&#8230;which user is it running as? Oh what is this? I assumed it would be running under the host app pool&#8217;s identity, but while debugging, I noticed it was running as SHAREPOINT\SYSTEM! WTF? After some hunting around, I found this post which made everything clear:</p>
<p><a href="http://sansanwal.blogspot.com/2009/04/mystery-of-sharepointsystem-account.html">http://sansanwal.blogspot.com/2009/04/mystery-of-sharepointsystem-account.html</a></p>
<p>So I guess my port 80&#8242;s app pool identity must <em>not</em> have permissions to CRM afterall! Easy fix.</p>
<p>Way to be clear about SHAREPOINT\SYSTEM, Microsoft.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=30&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/09/sharepointsystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>
	</item>
		<item>
		<title>WTF MICROSOFT?</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/05/wtf-microsoft/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/05/wtf-microsoft/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 20:05:40 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Microsoft idiots]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=25</guid>
		<description><![CDATA[http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/ Thanks to the lazy people at Microsoft, I can&#8217;t use VSTO to develop WF apps on my 64 bit MOSS setup. Nice. John Durant, a Visual Studio Program Manager, said, &#8220;In any case, we really wanted to support 64-bit in the VS 2008 release, but the effort required more resources than we had. Admittedly, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=25&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/">http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/</a></p>
<p>Thanks to the lazy people at Microsoft, I can&#8217;t use VSTO to develop WF apps on my 64 bit MOSS setup. Nice.</p>
<p>John Durant, a Visual Studio Program Manager, said, &#8220;In any case, we really wanted to support 64-bit in the VS 2008 release, but the effort required more resources than we had. Admittedly, the exception is not terribly graceful, and we have targeted to rectify this in a future release.&#8221; I say yeah right. You have billions of dollars and yet you didn&#8217;t have enough resources?</p>
<p>Wait, it gets better:</p>
<p>Another VS Program Manager says &#8220;The plan for Visual Studio 2010 is to still not support SharePoint 2007 Workflow projects on a 64bit workstation. VS 2010 will avoid the problem of throwing exceptions by hiding the Project Templates for those two project types: SharePoint 2007 Sequential Workflow or SharePoint 2007 State Machine Workflow. However Visual Studio 2010 will support 64bit development of the future version of SharePoint.&#8221;</p>
<p>WTF.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=25&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/05/wtf-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;The form has been closed.&#8221; &#8211; Solution</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/05/the-form-has-been-closed-solution/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/05/the-form-has-been-closed-solution/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 17:46:54 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[InfoPath 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[XmlFormView]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=17</guid>
		<description><![CDATA[Solution to: http://sharepointwtfmoments.wordpress.com/2009/06/05/welcome/ I went over Nick Grattan&#8217;s tutorial on how to host an InfoPath form in a webpart, again, to see if I missed anything (it&#8217;s been a couple months since I first used the XmlFormView webpart): http://www.nickgrattan.net/Publications/How%20to%20Host%20Microsoft%20InfoPath%20Forms%20in%20SharePoint%20Pages.pdf All I did to resolve this was reenter the XsnLocation and SaveLocation parameters, and change the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=17&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Solution to: <a href="http://sharepointwtfmoments.wordpress.com/2009/06/05/welcome/">http://sharepointwtfmoments.wordpress.com/2009/06/05/welcome/</a></p>
<p>I went over Nick Grattan&#8217;s tutorial on how to host an InfoPath form in a webpart, again, to see if I missed anything (it&#8217;s been a couple months since I first used the XmlFormView webpart):</p>
<p><a href="http://www.nickgrattan.net/Publications/How%20to%20Host%20Microsoft%20InfoPath%20Forms%20in%20SharePoint%20Pages.pdf">http://www.nickgrattan.net/Publications/How%20to%20Host%20Microsoft%20InfoPath%20Forms%20in%20SharePoint%20Pages.pdf</a></p>
<p>All I did to resolve this was reenter the XsnLocation and SaveLocation parameters, and change the SaveLocation URL from /COB%20Inquiry%20Form%20Repository/ to /COB Inquiry Form Repository/.</p>
<p><img class="alignnone" title="XmlFormView" src="http://i40.tinypic.com/vo7xbk.jpg" alt="" width="222" height="226" /></p>
<p>Yesterday I tried re adding XmlFormView, reentering the XsnLocation and SaveLocation, and redeploying the form from InfoPath, so I don&#8217;t know what was actually responsible for it working now &#8211; the reentering of XsnLocation and SaveLocation or the changing of the URL in SaveLocation.</p>
<p>Note: if you are following Nick Grattan&#8217;s tutorial, remember that you may be using/set up a different form library for storing the form template and saving filled out forms. In my case, the form was deployed to the default location for form templates &#8211; http://&lt;yourserver&gt;/FormServerTemplates/. In his case, they were the same libraries (TestInfoPathTemplate).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=17&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/05/the-form-has-been-closed-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>

		<media:content url="http://i40.tinypic.com/vo7xbk.jpg" medium="image">
			<media:title type="html">XmlFormView</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome!</title>
		<link>http://sharepointwtfmoments.wordpress.com/2009/06/05/welcome/</link>
		<comments>http://sharepointwtfmoments.wordpress.com/2009/06/05/welcome/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 16:00:13 +0000</pubDate>
		<dc:creator>sharepointwtfmoments</dc:creator>
				<category><![CDATA[InfoPath 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[XmlFormView]]></category>

		<guid isPermaLink="false">http://sharepointwtfmoments.wordpress.com/?p=3</guid>
		<description><![CDATA[Welcome to my brand new SharePoint blog. I&#8217;m currently trying to get an InfoPath form to show up in the XmlFormView control, but it isn&#8217;t working for some reason!   BACKGROUND: I am migrating this form from one server to another. It works just fine on the old one. I am able to open the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=3&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to my brand new SharePoint blog. I&#8217;m currently trying to get an InfoPath form to show up in the XmlFormView control, but it isn&#8217;t working for some reason!</p>
<p> </p>
<p style="text-align:center;"><img class="size-full wp-image-4 aligncenter" title="The form has been closed." src="http://sharepointwtfmoments.files.wordpress.com/2009/06/theformhasbeenclosed.jpg?w=450&#038;h=71" alt="The form has been closed." width="450" height="71" /></p>
<p>BACKGROUND: I am migrating this form from one server to another. It works just fine on the old one.</p>
<p>I am able to open the form just fine with the desktop program through the Form Templates form library, but InfoPath form services is giving me <strong>&#8220;The form has been closed.&#8221;</strong></p>
<p>I&#8217;ve redeployed the form but to no avail. About to read some tutorials/posts on the web and will come back with my solution, in a bit.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointwtfmoments.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointwtfmoments.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointwtfmoments.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointwtfmoments.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointwtfmoments.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointwtfmoments.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointwtfmoments.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointwtfmoments.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointwtfmoments.wordpress.com&amp;blog=8049903&amp;post=3&amp;subd=sharepointwtfmoments&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointwtfmoments.wordpress.com/2009/06/05/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c22a0f695cb34537731d80df730b4144?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sharepointwtfmoments</media:title>
		</media:content>

		<media:content url="http://sharepointwtfmoments.files.wordpress.com/2009/06/theformhasbeenclosed.jpg" medium="image">
			<media:title type="html">The form has been closed.</media:title>
		</media:content>
	</item>
	</channel>
</rss>
