<?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 Sharpener &#187; workflow</title>
	<atom:link href="http://sharepointsharpener.wordpress.com/tag/workflow/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointsharpener.wordpress.com</link>
	<description>Obsessively Sharpening SharePoint</description>
	<lastBuildDate>Mon, 19 Oct 2009 21:48:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sharepointsharpener.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a13c576c6a4d38c391bc0a6d1d7261ba?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>SharePoint Sharpener &#187; workflow</title>
		<link>http://sharepointsharpener.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sharepointsharpener.wordpress.com/osd.xml" title="SharePoint Sharpener" />
		<item>
		<title>Developing Workflows Not Possible on 64-Bit SharePoint</title>
		<link>http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/</link>
		<comments>http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 22:17:50 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/</guid>
		<description><![CDATA[As most companies are moving to the 64-bit platform of Windows Server and MOSS, more SharePoint developers are adopting this as their main dev environment.
However, if you plan to develop SharePoint workflows in Visual Studio 2008 on your new 64-bit box, you&#8217;re going to be disappointed.
Upon creating a new workflow in VS, an &#8220;Object reference [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=78&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As most companies are moving to the 64-bit platform of Windows Server and MOSS, more SharePoint developers are adopting this as their main dev environment.</p>
<p>However, if you plan to develop SharePoint workflows in Visual Studio 2008 on your new 64-bit box, you&#8217;re going to be disappointed.</p>
<p>Upon creating a new workflow in VS, an &#8220;Object reference not set to an instance of an object&#8221;-error pops up:</p>
<p>&nbsp;</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="119" alt="Object reference not set to an instance of an object" src="http://sharepointsharpener.files.wordpress.com/2009/01/image1.png?w=332&#038;h=119" width="332" border="0"> </p>
<p>&nbsp;</p>
<p>You can still get to the next step in the process where you have to chose the site which will be used to debug the workflow. Here too, you will be faced with an error:</p>
<p>&nbsp;</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="152" alt="SharePoint site location entered is not valid. The SharePoint site at --- could not be found. Verify that you have typed the URL correctly. If the URL should be serving content, the system administrator may need to add a new request URL mapping to the intended location" src="http://sharepointsharpener.files.wordpress.com/2009/01/image2.png?w=631&#038;h=152" width="631" border="0"></p>
<p>&nbsp;</p>
<p><strong>The solution</strong></p>
<p>Well, there isn&#8217;t any. Not right now anyway.</p>
<p>The only thing you can do is to continue developing in your old 32-bit environment and then move your WSP to the 64-bit box for installation.</p>
<p>All this is not a bug per se, rather, it&#8217;s down to Microsoft&#8217;s lack of resources in their dev team:</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="61" alt="" src="http://sharepointsharpener.files.wordpress.com/2009/01/image3.png?w=532&#038;h=61" width="532" border="0">&nbsp;<br />(<a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=325668" target="_blank">source</a>)</p>
<p>Hmm&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=78&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image1.png" medium="image">
			<media:title type="html">Object reference not set to an instance of an object</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image2.png" medium="image">
			<media:title type="html">SharePoint site location entered is not valid. The SharePoint site at --- could not be found. Verify that you have typed the URL correctly. If the URL should be serving content, the system administrator may need to add a new request URL mapping to the intended location</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image3.png" medium="image" />
	</item>
		<item>
		<title>Item.Update() vs. Item.SystemUpdate() &#8211; Post Service Pack 1</title>
		<link>http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/</link>
		<comments>http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 08:53:22 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[event handler]]></category>
		<category><![CDATA[eventhandler]]></category>
		<category><![CDATA[service pack 1]]></category>
		<category><![CDATA[sp1]]></category>
		<category><![CDATA[systemupdate]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/</guid>
		<description><![CDATA[Many of you have probably encountered the problem where a workflow triggers itself several times because the code carries out one or more Item.Update() commands. This can be extremely annoying because running extra workflows can be taxing on the server &#8211; even if you make sure that the extra workflows don&#8217;t make any changes to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=73&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Many of you have probably encountered the problem where a workflow triggers itself several times because the code carries out one or more Item.Update() commands. This can be extremely annoying because running extra workflows can be taxing on the server &#8211; even if you make sure that the extra workflows don&#8217;t make any changes to the element.</p>
<p>Then, you may have discovered Item.SystemUpdate() which in theory should rid the list of the all the extra instances of workflows because it doesn&#8217;t trigger an update event and thus flies under the radar of the workflow engine.</p>
<p>This seemed to work just fine for a while. Lately, however, it seems that SystemUpdate() has startet triggering events just like a normal Update().</p>
<p>&nbsp;</p>
<p><strong>Post Service Pack 1?</strong></p>
<p>I found that many of my workflows now started behaving differently, i.e. they began triggering multiple instances of workflows.</p>
<p>It took me a while to realise that it probably was a &#8220;bug fix&#8221; in SharePoint SP1 that was causing the problem.</p>
<p>A glance at the <a href="http://msdn.microsoft.com/en-us/library/ms461526.aspx" target="_blank">documentation for SystemUpdate()</a> reveals that events are indeed triggered:</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="64" alt="image" src="http://sharepointsharpener.files.wordpress.com/2009/01/image.png?w=689&#038;h=64" width="689" border="0"> </p>
<p>There is no mention of SP1 but I assume that this was when the changes were made.</p>
<p>&nbsp;</p>
<p><strong>Solution</strong></p>
<p>This is bad news for many developers but obviously a design decision at Microsoft so things probably won&#8217;t be changed back to the way they were.</p>
<p>From now on you have to make sure that your workflows only make changes to elements when needed. I.e. you need to only use Update() and SystemUpdate() when they are really needed and thereby minimise the number of redundant workflow cycles.</p>
<p>Alternatively, you could look into programming your own event handlers to obtain more granular control of when events are triggered. I may explore this subject in a future post.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=73&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>