<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code Eater (Wael A. Kabli) : sharepoint</title><link>http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx</link><description>Tags: sharepoint</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Variation system force checkin, the bottom-up approach</title><link>http://blogs.msdn.com/wael/archive/2009/04/23/variation-system-force-checkin-the-bottom-up-approach.aspx</link><pubDate>Thu, 23 Apr 2009 12:56:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9564378</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/wael/comments/9564378.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=9564378</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=9564378</wfw:comment><description>&lt;p&gt;Variation is one these features that you need to be careful playing with in SharePoint. It requires understanding the mechanism and its internal working parts. Hence, the lack of such level of understanding will result in undesired behavior.&lt;/p&gt; &lt;h6&gt;&lt;/h6&gt; &lt;h4&gt;Problem&lt;/h4&gt; &lt;p&gt;One of the problems I have faced with my clients is the "Variation System Force Checkin" problem. It all started when a site admin browsed his/her site and found that his changes to the page were lost and and the page is acting weird! He ran to the version history and found out that his/her changes became older version and the system admin checked-in the page forcefully. of course the blame may come to system administrators that they were the ones who forced the checkin.&lt;/p&gt; &lt;h4&gt;&lt;/h4&gt; &lt;h4&gt;Explanation&lt;/h4&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/Variationsystemforcecheckinthebottomupap_B5F7/clip_image002_2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="207" alt="clip_image002" hspace="12" src="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/Variationsystemforcecheckinthebottomupap_B5F7/clip_image002_thumb.jpg" width="400" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The figure above explains what happens when a page is created in the source site "A" and approved, it will be pushed to the other sites "B" and "C" (other languages). &lt;/p&gt; &lt;p&gt;Now, what happens when you approve a page in the source site with version 1.0. Then, it will be copied to destination sites for translations. during translation the destination page will checked out to the translator. What if the source publish a newer version 2.0 of the same page. Of course, with this automatic behavior a newer version will be pushed into the destination and the current ones will be force to checkin with an automatic comment from sharePoint "Variation System Force checkin" and a newer version is added to the version history.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/Variationsystemforcecheckinthebottomupap_B5F7/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="159" alt="image" src="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/Variationsystemforcecheckinthebottomupap_B5F7/image_thumb_1.png" width="437" border="0"&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/Variationsystemforcecheckinthebottomupap_B5F7/image_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="238" alt="image" src="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/Variationsystemforcecheckinthebottomupap_B5F7/image_thumb.png" width="438" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9564378" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category><category domain="http://blogs.msdn.com/wael/archive/tags/Variation/default.aspx">Variation</category><category domain="http://blogs.msdn.com/wael/archive/tags/Variation+system+force+checkin/default.aspx">Variation system force checkin</category></item><item><title>When Kerberos and SharePoint became friends :)</title><link>http://blogs.msdn.com/wael/archive/2009/02/16/when-kerberos-and-sharepoint-became-friends.aspx</link><pubDate>Mon, 16 Feb 2009 16:41:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9425893</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/wael/comments/9425893.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=9425893</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=9425893</wfw:comment><description>&lt;p&gt;Finally, SharePoint and Kerberos became friends, the technet article: &lt;a title="http://technet.microsoft.com/en-us/library/cc263449.aspx" href="http://technet.microsoft.com/en-us/library/cc263449.aspx"&gt;http://technet.microsoft.com/en-us/library/cc263449.aspx&lt;/a&gt; is exmpaling the whole kerberos story along with sharepoint. This includes having NLB in the farm with multiple service account with multiple server roles.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;The only thing that is missing from this article (which i think is out of scope) is the case of having SQL Cluster failover. in that case this article is the best one explaining that: &lt;a title="http://msdn.microsoft.com/en-us/library/ms189585(SQL.90).aspx" href="http://msdn.microsoft.com/en-us/library/ms189585(SQL.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms189585(SQL.90).aspx&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9425893" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/_34064A063106280648064A0646062A06_/default.aspx">شيربوينت</category><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category><category domain="http://blogs.msdn.com/wael/archive/tags/SPN/default.aspx">SPN</category><category domain="http://blogs.msdn.com/wael/archive/tags/Kerberos/default.aspx">Kerberos</category><category domain="http://blogs.msdn.com/wael/archive/tags/double-hob/default.aspx">double-hob</category><category domain="http://blogs.msdn.com/wael/archive/tags/SETSPN/default.aspx">SETSPN</category><category domain="http://blogs.msdn.com/wael/archive/tags/NTLM/default.aspx">NTLM</category><category domain="http://blogs.msdn.com/wael/archive/tags/SharePoint+and+Kerberos/default.aspx">SharePoint and Kerberos</category><category domain="http://blogs.msdn.com/wael/archive/tags/double+hob/default.aspx">double hob</category></item><item><title>Business Process Automation, a story to tell</title><link>http://blogs.msdn.com/wael/archive/2008/10/28/business-process-automation-a-story-to-tell.aspx</link><pubDate>Tue, 28 Oct 2008 09:00:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9019741</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/wael/comments/9019741.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=9019741</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=9019741</wfw:comment><description>&lt;h2&gt;&lt;a name="_Toc208656359"&gt;eFroms solution Components&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;The eForms solution is a result of collaborating the following components all together:&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/BusinessProcessAutomationastorytotell_7E81/clip_image002_2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" border="0" hspace="12" alt="clip_image002" src="http://blogs.msdn.com/blogfiles/wael/WindowsLiveWriter/BusinessProcessAutomationastorytotell_7E81/clip_image002_thumb.jpg" width="235" height="244"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;· Microsoft Office SharePoint Server 2007 Infrastructure. &lt;p&gt;· &lt;b&gt;Form Site (Portal)&lt;/b&gt;: a SharePoint Site that hosts the whole solution and enabling this kind of integration. &lt;p&gt;· &lt;b&gt;Email&lt;/b&gt;: a mail services that will send notifications within the workflows. &lt;p&gt;· &lt;b&gt;Forms Template&lt;/b&gt;: This is the from that contains the target process. This is were you usually take a paper form or a manual process analyze, break-down and make an e-form out of it. In this solution we use Microsoft Office InfoPath 2007 in implement eForms or you can use APS.NET forms. &lt;p&gt;· &lt;b&gt;Workflow&lt;/b&gt;: a component that is installed in the SharePoint that will contain the actual business process. &lt;p&gt;· &lt;b&gt;Workflow Tasks&lt;/b&gt;: This is a SharePoint list that contains the tasks created by the workflow. A Task simply replaces a stage of a human task in the process (like an approval, signatures or a configuration). &lt;p&gt;· &lt;b&gt;Security: &lt;/b&gt;to provide non-repudiation, data integrity and origin.  &lt;p&gt;· &lt;b&gt;Workflow History:&lt;/b&gt; This is a SharePoint list that stores the workflow logs. This includes cancellations, rejections, approvals and other workflow state transitions. &lt;p&gt;· &lt;b&gt;Web Services:&lt;/b&gt; are set of services that will aid the solution in performing certain tasks such as getting user profiles from Active Directory and get the workflow logs to show a workflow history and maybe getting integrated with other services like Primavera for example. &lt;p&gt;· &lt;b&gt;Other Lists:&lt;/b&gt; some forms depend on few SharePoint List to do some lookups on them. &lt;p&gt;· &lt;b&gt;Archive:&lt;/b&gt; This is where the submitted form get stored which is basically a document or form library. &lt;h2&gt;The flow of a workflow!&lt;/h2&gt; &lt;p&gt;The story begins when a user find a link on the &lt;strong&gt;&lt;u&gt;portal &lt;/u&gt;&lt;/strong&gt;saying ( click here to fill XYZ form ). The link is actually pointing to the &lt;strong&gt;&lt;u&gt;form template &lt;/u&gt;&lt;/strong&gt;(which has the extension xsn) if you are using InfoPath. When he clicks on it, he will be redirected to the InfoPath Forms Server 2007 that is in Microsoft Office SharePoint Server2007 and it will render the form template (xsn) to be displayed on the web browser.&lt;/p&gt; &lt;p&gt;As soon as the form opens, the form had few rules inside it that will communicate with a &lt;strong&gt;&lt;u&gt;web service &lt;/u&gt;&lt;/strong&gt;to get the current user credentials from AD.&lt;/p&gt; &lt;p&gt;The user now will fill the form and submit which will actually will save this form in (XML) format in a document library or a form library for &lt;strong&gt;&lt;u&gt;archiving&lt;/u&gt;&lt;/strong&gt;. &lt;/p&gt; &lt;p&gt;As soon as this form is submitted, a &lt;strong&gt;&lt;u&gt;workflow &lt;/u&gt;&lt;/strong&gt;will run to follow the business process creating &lt;strong&gt;&lt;u&gt;tasks &lt;/u&gt;&lt;/strong&gt;to the people who are suppose to process that form (like a manager task to approve that form) and sending &lt;strong&gt;&lt;u&gt;emails&lt;/u&gt;&lt;/strong&gt; to the corresponding people to perform their tasks. the workflow will leave its foot prints on the &lt;strong&gt;&lt;u&gt;history&lt;/u&gt;&lt;/strong&gt;, so any time the user (or any body) can open the history and look what happened to the process, which task has been completed and what tasks are still pending. &lt;/p&gt; &lt;p&gt;The &lt;strong&gt;&lt;u&gt;security &lt;/u&gt;&lt;/strong&gt;model in SharePoint is taking care of who should see what and who can do something. Once the workflow is finished, it will indicate its state such as (Approved or Rejected by Manager or just completed).&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9019741" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/Wss/default.aspx">Wss</category><category domain="http://blogs.msdn.com/wael/archive/tags/ACtive+Directory/default.aspx">ACtive Directory</category><category domain="http://blogs.msdn.com/wael/archive/tags/IP/default.aspx">IP</category><category domain="http://blogs.msdn.com/wael/archive/tags/InfoPath/default.aspx">InfoPath</category><category domain="http://blogs.msdn.com/wael/archive/tags/AD/default.aspx">AD</category><category domain="http://blogs.msdn.com/wael/archive/tags/workflow/default.aspx">workflow</category><category domain="http://blogs.msdn.com/wael/archive/tags/webServices/default.aspx">webServices</category><category domain="http://blogs.msdn.com/wael/archive/tags/_34064A063106280648064A0646062A06_/default.aspx">شيربوينت</category><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category><category domain="http://blogs.msdn.com/wael/archive/tags/Task+form/default.aspx">Task form</category></item><item><title>Workflow "Failed on Start (retrying)"</title><link>http://blogs.msdn.com/wael/archive/2008/01/11/workflow-failed-on-start-retrying.aspx</link><pubDate>Fri, 11 Jan 2008 05:12:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7065768</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>20</slash:comments><comments>http://blogs.msdn.com/wael/comments/7065768.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=7065768</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=7065768</wfw:comment><description>&lt;p&gt;Oh!! its SharePoint again :). One of these small things in this beast which makes you bang your head and pull your hear again and again if you don't get it right. Now lucky you you can search this issue and find the solution.&lt;/p&gt; &lt;p&gt;Debugging in SharePoint is very tricky sometimes because you get all of these levels to run around (GAC + IIS + Deployment Folder under the feature + Feature.xml + Workflow.xml + SharePoint itself + InfoPath the main form template + InfoPath the workflow forms&amp;nbsp;and &amp;nbsp;Web Services) so after this, it is not strange that you would start pulling your hear after a while.&lt;/p&gt; &lt;h1&gt;Problem Description:&lt;/h1&gt; &lt;p&gt;if you try any workflow (including OOB WF and Custom WF) and when you try to start it, it will show the message Workflow "Failed on Start (retrying)". You may also see that some tasks in the WF are created and even so it fails.&lt;/p&gt; &lt;p&gt;Tip: whenever you are stuck with your custom workflow, try having the OOB, if it doesn't run, its not your problem. (i spent one complete day almost 20H just to discover its not my fault).&lt;/p&gt; &lt;p&gt;One Proof that this thing its not your custom code problem, if you attach the WF process to Visual Studio, it will not catch any exception.&lt;/p&gt; &lt;h1&gt;Reasoning:&lt;/h1&gt; &lt;p&gt;In WSS/MOSS the workflow engine will report back 'a workflow failed to start' even if the workflow did start. &lt;p&gt;The reason why is that - the workflow will be sent the 'OnWorkflowActivated' event (start command) and essentially as far as MOSS is concerned - it's starting. &lt;p&gt;When the workflow for e.g. writes a task item and then waits (handleExternal Event) for the OnTaskChanged event. At this point if it failed - a different error other than 'failed to start' would be reported. &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt; &lt;h1&gt;Resolution:&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;First and importantly check all your correlation tokens. make sure that each task (Creation, Updating and Completing) has its own Token not the workflow token.&lt;/li&gt; &lt;li&gt;Then compare the dll you have with theone in the workflow.xml and the one in the GAC. simply they all should be the same.&lt;/li&gt; &lt;li&gt;Try this on the command prompt: Lodctr "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"&lt;/li&gt; &lt;li&gt;And if it doesn't work for you try: Lodctr /R "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"&lt;/li&gt;&lt;/ul&gt; &lt;h1&gt;Some Links might Help:&lt;/h1&gt; &lt;p&gt;&lt;a title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2268844&amp;amp;SiteID=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2268844&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2268844&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt; &lt;h1&gt;Some errors you might see in logs:&lt;/h1&gt; &lt;ul&gt; &lt;li&gt;The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.&lt;/li&gt; &lt;li&gt;Failed on Start (retrying).&lt;/li&gt; &lt;li&gt;&lt;em&gt;Unexpected&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Workflow Class: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Diagnostics.PerformanceCounter.Initialize()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Workflow.Runtime.PerformanceCounterManager.CreateCounters(String name)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Workflow.Runtime.Hosting.DefaultWorkflowSchedulerService.OnStarted()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Workflow.Runtime.Hosting.WorkflowRuntimeService.HandleStarted(Object source, WorkflowRuntimeEventArgs e)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.EventHandler`1.Invoke(Object sender, TEventArgs e)...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;01/11/2008 03:33:24.79*&amp;nbsp;&amp;nbsp;&amp;nbsp; w3wp.exe (0x12B4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0E9C&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows SharePoint Services&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Workflow Infrastructure&lt;/em&gt;&lt;/li&gt; &lt;li&gt;Unexpected&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Workflow.Runtime.WorkflowRuntime.StartRuntime()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.SharePoint.Workflow.SPWinOeHostServices..ctor(SPSite site, SPWeb web, SPWorkflowManager manager, SPWorkflowEngine engine)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct&amp;amp; signature, IntPtr declaringType)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Ac...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;01/11/2008 03:33:24.79*&amp;nbsp;&amp;nbsp;&amp;nbsp; w3wp.exe (0x12B4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0E9C&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows SharePoint Services&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Workflow Infrastructure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 72fu&amp;nbsp;&amp;nbsp;&amp;nbsp; Unexpected&amp;nbsp;&amp;nbsp;&amp;nbsp; ...tivator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.SharePoint.Workflow.SPWorkflowManager.LoadPluggableClass(String classname, String assembly, Object[] parameters)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;01/11/2008 03:33:24.80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; w3wp.exe (0x12B4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0E9C&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows SharePoint Services&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Workflow Infrastructure&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7065768" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/Wss/default.aspx">Wss</category><category domain="http://blogs.msdn.com/wael/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://blogs.msdn.com/wael/archive/tags/workflow/default.aspx">workflow</category><category domain="http://blogs.msdn.com/wael/archive/tags/workarounds/default.aspx">workarounds</category><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category></item><item><title>Roadmap to using SharePoint Server 2007</title><link>http://blogs.msdn.com/wael/archive/2008/01/06/roadmap-to-using-sharepoint-server-2007.aspx</link><pubDate>Sun, 06 Jan 2008 16:54:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7006203</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/wael/comments/7006203.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=7006203</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=7006203</wfw:comment><description>&lt;p&gt;Finally we have END USERS TRAINING :D finally &lt;p&gt;Use this roadmap as a starting point to learn about the broad capabilities of Office SharePoint Server 2007 and how to complete common tasks as a contributor to a SharePoint site. You can also find links to site owner tasks, such as setting up permissions and doing some basic customization. &lt;p&gt;&lt;a title="http://office.microsoft.com/en-us/sharepointserver/HA102486841033.aspx" href="http://office.microsoft.com/en-us/sharepointserver/HA102486841033.aspx"&gt;http://office.microsoft.com/en-us/sharepointserver/HA102486841033.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7006203" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/Wss/default.aspx">Wss</category><category domain="http://blogs.msdn.com/wael/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category><category domain="http://blogs.msdn.com/wael/archive/tags/End+Users/default.aspx">End Users</category><category domain="http://blogs.msdn.com/wael/archive/tags/Power+User/default.aspx">Power User</category><category domain="http://blogs.msdn.com/wael/archive/tags/Training/default.aspx">Training</category></item><item><title>Attachments in InfoPath Form that is a Task Workflow</title><link>http://blogs.msdn.com/wael/archive/2007/12/26/attachments-in-infopath-form-that-is-a-task-workflow.aspx</link><pubDate>Wed, 26 Dec 2007 11:49:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6867949</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/wael/comments/6867949.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=6867949</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=6867949</wfw:comment><description>&lt;p&gt;Woho, here is a nice one :), one of the small things that gets you sometimes bang your head for long long time till you find out what's the problem...&lt;/p&gt; &lt;h2&gt;Symptoms:&lt;/h2&gt; &lt;p&gt;So if you are having a workflow that uses InfoPath forms for tasks and you have attachment controls in it, then you probably faced this error: "The Selected file was not found"!!&lt;/p&gt; &lt;h2&gt;Solution or Workaround:&lt;/h2&gt; &lt;ul&gt; &lt;li&gt;Locate the ASPX page that your workflow form opens up in the _layouts directory on your server.&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt;e.g., %Program Files%Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\ &lt;p&gt;most probably you want WrkTaskIP.aspx --&amp;gt; this page is the one that loads your InfoPath form to be as a task form.&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt;in this aspx page, locate the reference to MasterPageFile. This will look something like &lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt;MasterPageFile="~/_layouts/application.master"&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt;Go to the masterPage file you found&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt;In this case go to the application.master in the folder "%Program Files%Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\"&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt;Look for the Form Tag &lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt;&amp;lt;form runat="server" onsubmit="return _spFormOnSubmitWrapper();"&amp;gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt;Add the attribute enctype="multipart/form-data" &amp;nbsp;to this tag and save.&lt;/li&gt;&lt;/ul&gt; &lt;blockquote&gt; &lt;p&gt;&amp;lt;form runat="server" onsubmit="return _spFormOnSubmitWrapper();" enctype="multipart/form-data"&amp;gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;ul&gt; &lt;li&gt;iisreset and try your workflow with file attachment again.&lt;/li&gt;&lt;/ul&gt; &lt;h2&gt;Few things to Note:&lt;/h2&gt; &lt;p&gt;as you can see, this is a product issue and hopefully it might be fixed in the SP1. But don't get frustrated, that's why we are blogging so you can find such information.&lt;/p&gt; &lt;p&gt;Have fun,,, :)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6867949" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://blogs.msdn.com/wael/archive/tags/InfoPath/default.aspx">InfoPath</category><category domain="http://blogs.msdn.com/wael/archive/tags/workflow/default.aspx">workflow</category><category domain="http://blogs.msdn.com/wael/archive/tags/workarounds/default.aspx">workarounds</category><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category><category domain="http://blogs.msdn.com/wael/archive/tags/product+issue/default.aspx">product issue</category><category domain="http://blogs.msdn.com/wael/archive/tags/Task+form/default.aspx">Task form</category><category domain="http://blogs.msdn.com/wael/archive/tags/The+Selected+file+was+not+found/default.aspx">The Selected file was not found</category></item><item><title>WSS Coding Best Practices</title><link>http://blogs.msdn.com/wael/archive/2007/09/02/wss-coding-best-practices.aspx</link><pubDate>Sun, 02 Sep 2007 00:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4693692</guid><dc:creator>Wael A. Kabli</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/wael/comments/4693692.aspx</comments><wfw:commentRss>http://blogs.msdn.com/wael/commentrss.aspx?PostID=4693692</wfw:commentRss><wfw:comment>http://blogs.msdn.com/wael/rsscomments.aspx?PostID=4693692</wfw:comment><description>&lt;SPAN id=ctl00_LibFrame_BumperPage1&gt;
&lt;DIV class=title&gt;&lt;STRONG&gt;WSS Coding Best Practices&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=title&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=title&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;(&lt;/EM&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/bb418735.aspx)/"&gt;&lt;EM&gt;http://msdn2.microsoft.com/en-us/library/bb418735.aspx)\&lt;/EM&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class=title&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class=title&gt;&lt;A onclick="javascript:Track('ctl00_LibFrame_BumperPage1|ctl00_LibFrame_ctl02',this);" href="http://msdn2.microsoft.com/en-us/bb687949(office.12)"&gt;Best Practices: Common Coding Issues When Using the SharePoint Object Model&lt;/A&gt;&lt;BR&gt;&lt;A onclick="javascript:Track('ctl00_LibFrame_BumperPage1|ctl00_LibFrame_ctl03',this);" href="http://msdn2.microsoft.com/en-us/aa973248(office.12)"&gt;Best Practices: Using Disposable Windows SharePoint Services Objects&lt;/A&gt;&lt;BR&gt;&lt;A onclick="javascript:Track('ctl00_LibFrame_BumperPage1|ctl00_LibFrame_ctl04',this);" href="http://msdn2.microsoft.com/en-us/aa973249(office.12)"&gt;Creating a Windows SharePoint Services 3.0 Web Part Using Visual Studio 2005 Extensions&lt;/A&gt;&lt;BR&gt;&lt;A onclick="javascript:Track('ctl00_LibFrame_BumperPage1|ctl00_LibFrame_ctl05',this);" href="http://msdn2.microsoft.com/en-us/bb530302(office.12)"&gt;Development Tools and Techniques for Working with Code in Windows SharePoint Services 3.0 (Part 1 of 2)&lt;/A&gt;&lt;BR&gt;&lt;A onclick="javascript:Track('ctl00_LibFrame_BumperPage1|ctl00_LibFrame_ctl06',this);" href="http://msdn2.microsoft.com/en-us/bb530301(office.12)"&gt;Development Tools and Techniques for Working with Code in Windows SharePoint Services 3.0 (Part 2 of 2)&lt;/A&gt;&lt;BR&gt;&lt;A onclick="javascript:Track('ctl00_LibFrame_BumperPage1|ctl00_LibFrame_ctl07',this);" href="http://msdn2.microsoft.com/en-us/bb153523(office.12)"&gt;Working with ASP.NET 2.0 Web Parts and Windows SharePoint Services 3.0&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4693692" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/wael/archive/tags/Wss/default.aspx">Wss</category><category domain="http://blogs.msdn.com/wael/archive/tags/sharepoint/default.aspx">sharepoint</category></item></channel></rss>