<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint &#187; SharePoint Designer</title>
	<atom:link href="http://www.sharepointboris.net/category/sharepoint-designer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointboris.net</link>
	<description>and Boris Gomiunik</description>
	<lastBuildDate>Thu, 22 Dec 2011 11:45:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SharePoint Designer Workflow Failed on Start (Retrying) issue</title>
		<link>http://www.sharepointboris.net/2011/12/sharepoint-designer-workflow-failed-on-start-retrying-issue/</link>
		<comments>http://www.sharepointboris.net/2011/12/sharepoint-designer-workflow-failed-on-start-retrying-issue/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 11:45:36 +0000</pubDate>
		<dc:creator>Boris</dc:creator>
				<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://www.sharepointboris.net/2011/12/sharepoint-designer-workflow-failed-on-start-retrying-issue/</guid>
		<description><![CDATA[Recently I&#8217;ve stumbled on a strange error in SharePoint. In the entire site collection I couldn&#8217;t start any workflow (nobody could). If workflows were set to start automatically, they would fail immediately with the message Failed on Start (Retrying) If they were set to manual start after clicking the Start button on the workflow initiation [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve stumbled on a strange error in SharePoint. In the entire site collection I couldn&#8217;t start any workflow (nobody could). If workflows were set to start automatically, they would fail immediately with the message <strong>Failed on Start (Retrying)</strong> </p>
<p>If they were set to manual start after clicking the Start button on the workflow initiation form, nothing would happen. </p>
<p>In SharePoint logs I&#8217;d find the following message:</p>
<pre style="font-size: 90%">System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&#160;&#160;&#160;&#160; at System.ThrowHelper.ThrowKeyNotFoundException()&#160;&#160;&#160;&#160; at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&#160;&#160;&#160;&#160; at Microsoft.SharePoint.Workflow.SPWorkflowManager.IsConfigForSite(SPSite site)&#160;&#160;&#160;&#160; at Microsoft.SharePoint.Workflow.SPWorkflowManager.GetWorkflowConfurationSection(SPSite site, String section)&#160;&#160;&#160;&#160; at Microsoft.SharePoint.Workflow.SPWinOeHostServices.EnsurePluggableServices(SPSite site, SPWorkflowExternalDataExchangeServiceCollection services, ExternalDataExchangeService existingServices)&#160;&#160;&#160;&#160; at Microsoft.SharePoint.Workflow.SPWinOeHostServices..ctor(SPSite site, SPWeb web, SPWorkflowManager manager, SPWorkflowEngine engine)&#160;&#160;&#160;&#160; --- End of inner exception stack trace ---&#160;&#160;&#160;&#160; at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct&amp; signature, IntPtr declaringType)&#160;&#160;&#160;&#160; at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&#160;&#160;&#160;&#160; at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#160;&#160;&#160;&#160; at Microsoft.SharePoint.Workflow.SPWorkflowManager.LoadPluggableClass(String classname, String assembly, Object[] parameters)&#160;&#160;&#160;&#160; at Microsoft.SharePoint.Workflow.SPWorkflowManager.GetService(SPWorkflowAssociation association, SPWorkflowEngine engine)&#160;&#160;&#160;&#160; at Microsoft.SharePointWorkflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)</pre>
<p>On another site collection on the same server workflows were working normally.</p>
<p>I&#8217;ve tried to resolve the problem with the <a href="http://blogs.msdn.com/b/wael/archive/2008/01/11/workflow-failed-on-start-retrying.aspx?CommentPosted=true#commentmessage" target="_blank">solution described here</a> but unfortunately it didn&#8217;t work.</p>
<p>At the end what worked for me was to re-enable workflows on site. </p>
<p>In <strong>Central Administration</strong> select <strong>Application Management</strong> and <strong>Manage web applications</strong></p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/12/image.png" rel="lightbox[1114]" title="image"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/12/image_thumb.png" width="320" height="146" /></a></p>
<p>&#160;</p>
<p>Next select the failing Web application</p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/12/image1.png" rel="lightbox[1114]" title="image"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/12/image_thumb1.png" width="320" height="211" /></a></p>
<p>Now click arrow under <strong>General Settings</strong> in the ribbon and select <strong>Workflow</strong></p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/12/image2.png" rel="lightbox[1114]" title="image"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/12/image_thumb2.png" width="320" height="219" /></a></p>
<p>Select <strong>No</strong> for &quot;Enable user-defined workflows…&quot; and click <strong>OK.</strong></p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/12/image3.png" rel="lightbox[1114]" title="image"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/12/image_thumb3.png" width="320" height="245" /></a></p>
<p>Now reopen the <strong>Workflow settings</strong> dialog by clicking on <strong>General Settings</strong> –&gt; <strong>Workflow</strong> again</p>
<p>and select <strong>Yes</strong>, to re-enable user defined workflows.</p>
<p><a href="http://www.sharepointboris.net/wp-content/uploads/2011/12/image4.png" rel="lightbox[1114]" title="image"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.sharepointboris.net/wp-content/uploads/2011/12/image_thumb4.png" width="320" height="91" /></a></p>
<p>Confirm your selection by clicking on the <strong>OK</strong> button.</p>
<p>This got my workflows up and running again. </p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2011/12/sharepoint-designer-workflow-failed-on-start-retrying-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent over-indenting in SharePoint Designer</title>
		<link>http://www.sharepointboris.net/2010/03/prevent-over-indenting-in-sharepoint-designer/</link>
		<comments>http://www.sharepointboris.net/2010/03/prevent-over-indenting-in-sharepoint-designer/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 07:37:47 +0000</pubDate>
		<dc:creator>Boris Gomiunik</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Bugs]]></category>

		<guid isPermaLink="false">http://www.sharepointboris.net/2010/03/prevent-over-indenting-in-sharepoint-designer/</guid>
		<description><![CDATA[After I installed SP2 for Office 2007, an annoying issue occurred. All the code started over indenting – meaning that a sub-node was indented 4 tabs into instead of 4 spaces or 1 tab. There is a setting in SPD to fix that. In Tools menu select Page editor options And under Code Formatting decrease [...]]]></description>
			<content:encoded><![CDATA[<p>After I installed SP2 for Office 2007, an annoying issue occurred. All the code started over indenting – meaning that a sub-node was indented 4 tabs into instead of 4 spaces or 1 tab. </p>
<p><a href="http://boris.gomiunik.net/wp-content/uploads/2010/03/image3.png" rel="lightbox[779]" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://boris.gomiunik.net/wp-content/uploads/2010/03/image_thumb3.png" width="327" height="218" /></a> </p>
<p>There is a setting in SPD to fix that. In <strong>Tools</strong> menu select <strong>Page editor options</strong></p>
<p><a href="http://boris.gomiunik.net/wp-content/uploads/2010/03/image4.png" rel="lightbox[779]" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://boris.gomiunik.net/wp-content/uploads/2010/03/image_thumb4.png" width="190" height="323" /></a> </p>
<p>And under <strong>Code Formatting </strong>decrease the value in <strong>Indent</strong> property or change to spaces.</p>
<p><a href="http://boris.gomiunik.net/wp-content/uploads/2010/03/image5.png" rel="lightbox[779]" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://boris.gomiunik.net/wp-content/uploads/2010/03/image_thumb5.png" width="507" height="202" /></a></p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointboris.net/2010/03/prevent-over-indenting-in-sharepoint-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

