.NET

Serialization Issue with Windows Workflow Foundation and Sharepoint Workflow

Problem You are receiving the error similar to the one below when attempting to execute a SharePoint WWF workflow.  ====================================================================================== 11/19/2009 10:52:19.18     w3wp.exe (0x17FC)                          0x157C    Windows SharePoint Services   ...

ERROR: request not found in the TrackedRequests

Problem I had a completely phantom error today and I never did figure out the cause was but I thought it might help to explain how it happened, and my thoughts to the cause.  The environment is MOSS Enterprise SP2 development environment with Visual Studio, VSTE 1.3, Office 2007, WSPBuilder, and SQL all onboard, obviously supporting Windows Workflow Foundation workflows.  Over the last few days I’ve been struggling with strange bugs in my InfoPath task forms that required a millio...

Workflow "Failed on Start (retrying) – again"

  (See also http://www.sharepointassist.com/2009/01/08/sharepoint-workflow-failed-on-start-retrying/) Problem You’re developing a Windows Workflow Foundation (WWF) workflow and no matter what you do you get the Workflow “Failed on Start (retrying)” message.  In my case I debugged over and over again only to see the TaskCreate method throw an exception (that you can’t capture) and fail.    Solution Specify a token other than the default Workflow1 or top level token.&...

Creating a SharePoint Object Model Script in Visual Studio

Object model scripts are scripts that access the SharePoint API directly.  These scripts are typically written in Visual Studio and are run while on-server and are great to automate tasks or to complete operations that you can’t run using stsadm or the central admin console.  The below demonstration shows hot to create a simple project that consumes the object model to modify the publishing polling interval. Step 1 Open Visual Studio 2005 or 2008 and create a new project. Step 2...

Getting an Assembly’s 4 part name

Problem You need to locate the 4 part name for an assembly, presumably to register the assembly in a web.config file. Solution Step 1 - Locate Gacutil which can be in a variety of places including Windows SDK & Visual Studio.  The easiest way to run this command is to open a “Visual Studio Command Prompt” located in your visual studio installation. Step 2 – Type the following command Gacutil /l MyAssemblyName.dll Step 3 – Use the file>copy command to copy content from th...

Powered by eShop v.4