.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Creating workflow in SP Designer 2010 results in Exception from HRESULT: 0x80131401

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :SharePoint

The workflow is a 1 step Approval workflow. I'd published it a few time and it worked just fine. I then made a change to an "Email task notification" step.

I get a dialog when I try to publish the workflow:

Workflow Error
Errors were found when compiling the workflow. The workflow files were saved but cannot be run.
(43, 3) Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401))

I tried the "Check for Errors" button and I get:
The workflow contains no errors.

Error dialog
Check for Error dialog

Anyone have any clues as to where I might start looking for clues? Nothing has been returned by the usual search engines...

I've just tried to create a brand new workflow and it's still giving me the above dialogs. :'(

View Complete Post

More Related Resource Links

How to use display Text in Hyperlink For SharePoint 2010 Designer Workflow


In SharePoint 2007 Designer, I have used the Hyperlink column to store the link "http://www.sharepoint.com/Default.aspx, Details". The details text will be shown in the Hyperlink column. Everything works fine in sharepoint 2007 Designer workflow.

In SharePoint Designer 2010 Workflow, I used the same method but the hyperlink column is displaying the full text "http://www.sharepoint.com/Default.aspx, Details" instead of only Details


Creating SharePoint Server 2010 External Content Type Associations with SharePoint Designer 2010

Learn how to use Business Connectivity Services (BCS) to create associations between external content types in SharePoint Designer 2010 without using code.

Video: Microsoft Visio 2010 and Microsoft SharePoint Designer 2010 Workflow

Learn the specific roles Visio 2010 and SharePoint Designer 2010 play in the development process and how these tools can be used in concert to create a workflow. (Length: 13:22)

Video: Creating Workflow Forms in SharePoint 2010

This video demonstrates how to add, design, and develop workflow initiation forms for SharePoint 2010. (Length: 3:58)

Video: Creating Workflows in SharePoint Designer 2010

This demonstration shows how to create a powerful list workflow with code-style logic by using SharePoint Designer 2010. (Length: 8:15)

How to get User group in SharePoint Designer 2010 within workflow?

Hi, How to get user group in sharepoint designer within workflow? Basically I have to compair that current user is belongs to particular group or not.  How can I get check user group in workflow's if condition? G. Goyal

Error creating Read Item or Read List operation in Sharepoint Designer 2010

In terms of high-level requirements, I need to pull in lists from a couple of different web apps.  To do this, I’m using SPD 2010 to create an External Content Type for the list of interest.  I’m able to create a SOAP Service or WCF Service connection just fine.  However, when I try to create the external content type and create a Read Item Operation on one of the GetList or any other Get* (or other Update methods for that matter) methods, I get the following error:"The method that your operation is based on has parameters with complex types that do not have default parameterless constructor.  This kind of data source methods cannot be used in Business Data Catalog."I tried defining an operation on the “AddAttachment” method, and that worked just fine.  I also tried providing default values to the listName and viewName parameters when creating the SOAP Service connection, but still get the error.  Same issue with a WCF Service connection as well. Does anyone know if this is a 2010 issue, or am I approaching this requirement incorrectly?  What are other approaches for connecting to lists that reside in a different web app than yours? 

How to start a workflow programmatically that was created in Sharepoint designer 2010?

Trying to start a workflow from code.  The workflow itself has been created in SPD 2010, which from what I understand, means that there is no assembly until the first time it's ran.  However, when I try to find the association record, that doesnt exist.  Is this becuase the 'code' hasnt been compiled yet?  If so, how can I have sharepoint start the just-in-time compiler for a declarative based workflow, so that can kick it off with in code? tia Rocky SandersRocky Sanders

Designing a Workflow in Sharepoint Designer 2010 Help

I Have no experience using Sharepoint Designer and I am trying to design a test workflow to see how usefull workflows will be at our company.  I have specific steps that I would like the workflow to follow but I do not know how I would go about implementing these steps in the workflow.  I have done a lot of research online and have had no luck finding anyhing sililar to what I am trying to do which makes me wonder if Sharepoint Designer is capable of doing these things. Here are the steps I would like my workflow to take 1.  Propt the user to fill out a form 2.  Send this form to a specific user 3.  Specific user then selects a person from a different department to send this form to 4.  The selected user then sends multiple documents to the person who started the workflow I know there is a collect data action but once the data is collected i do not see any action to send the collected data to a user.  Also I know there is a send document to repository action which would be usefull if there was some action to prompt the user to fill out the document at the start.  Like I have said before my Sharepoint designer knowledge extends about as far as what I have been able to teach myself so I would greatly appreciate any help I can get with this.

Copy List not Working in Sharepoint 2010 Designer Workflow

I am having two custom lists,  First_List(Title, ID, Status) and Second_List(Title, ID) here Status is a choice menu with values Selected and Rejected I am copying data from First_List to Second_List using WorkFlow with SharePoint Designer, When I am inserting data in first list. For that I have written in workflow action if CurrentIten. Status equals Selected  Copy item in current item to Second List now the Problem is that only the Title field is getting copied into the Second List but I am unable to copy the ID field. I am unable to understand whats the problem    

SharePoint 2010 : Creating SPSite object throws exception FileNotFoundException

We are in a process of upgrading from SharePoint 2007 to SharePoint 2010. I had written a Service which runs under default web site on the SharePoint web server. This service's app pool account uses the farm admin account. The service was working with no issue on SharePoint 2007 x64bit server. When I installed and run the same service on SharePoint 2010 x64bit box. I get the FileNotFoundException on SPSite site = new SPSite(http://myserver/sites/projects/project01); I have given the pool account running this server following rights: The Farm Admin The Site Collection Admin The Database Sys Admin The Local Admin No Luck. Thank you in advance for your help.

Workflow designer causes VS 2010 RTM to freeze when editing build process template.

I have a Dell Studio 1747 laptop with Intel i7 1.6GHz, 6GB RAM, Windows 7 Professional x64. I recently "updated" VS 2010 RC to RTM (removed all of RC and installed RTM). So far so good. Also, I have TFS 2010 RTM on the machine working perfectly, and have two team projects in there. Now, on a given solution, I copied DefaultTemplate.xaml to NewDefaultProcessTemplate.xaml and checked it in. I check it out and open it, and the workflow designer shows up. Then, I "Expand All" and go down to the "Compile, Test, and Associate Changesets and Work Items" section. If I click a subsection to collapse it, the mouse cursor changes to an hourglass and stays like that indefinitely. Sometimes, after a couple of minutes, the action is performed; then, it happens again up to a point where VS completely freezes. I have cleared VS 2010 cache, and have performed a repair on VS 2010 and TFS 2010 (just in case) to no avail. I have even disconnected from TFS right after openning the file, and still the same issue. This is f****** extremely frustrating. I can't do anything on the workflow designer. HELP !!!!!

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 20

Hi, i have a custom workflow(sequential),developed using visual studio 2010. Now, i want to make it available to sharepoiint designer 2010,as an action.Has anyone done something like dis before? I have tried creating an actions file and changes in web. config ,but when i open my designer it says it cannot find the assembly(my custom worklow). What does it mean,i have tried this method by watching solutions on internet. If anyone has done this task, kindly guide me thanks a lot :)

2010 - SharePoint Designer Workflow


I created a SPD workflow on a task list in SharePoint Server 2010.

The workflow generates an e-mail to the "Assigned To" user.  When configuring the To in the e-mail, I simply references the "Assigned To" value in the list.  Is that good enough?  Will it find their e-mail?

Also, what if the Assigned To allows for multiple values?




Sharepoint designer 2010 workflow




I want to add two columns from an existing form library into "Collect data from user" action rather than adding a new column so that when the approver opens the "Collect data from user" content type, he should be able to see those two column values from existing form library in to that "Collect data from user" content type only. Is that possible?


Thank you.

Sharepoint Designer: Pointers on creating a Workflow


Hi all

Can someone give me some pointers on how to create this (simplified) workflow?

When an Item is created in a Calendar it should create a task in a Task List.
If that task is Approved it should send an email to the person who created the item in the calendar

and if the task was Rejected it should Delete the item in the calendar.

I can get to creating the Task but I am not sure whether I should then have a second WF linked to the task list?

Some help would be greatly appreciated.
PS: I am using Sharepoint Designer 2010 with Sharepoint Foundation

SharePoint 2010 Workflow - Creating multiple tasks

I'm working on a SharePoint 2010 workflow which will assign multiple tasks to a list of users.

I'm using the Multiple Tasks webcast from Scot Hillier as a guideline
http://www.shillier.com/archive/2010/08/04/Creating_Multiple_and_Parallel_Tasks%20_in_SharePoint_2010_Workflow.aspx, but I cant' get the workflow to work. 

I've created the custom activity to create a single task, and used a replicator to start the this custom activity for every user.
However, the sub-activities in my custom activity are not shown(as opposed to webcast).

 public class CreateSingleTaskActivity : SequenceActivity
        public Guid SPTaskId = default(Guid); 
        public string SPTaskOutcome = default(String);
        public SPWorkflowTaskProperties SPTaskProperties = new SPWorkflowTaskProperties();
        public SPWorkflowTaskProperties SPAfterProperties = new SPWorkflowTaskProperties();
        public SPWorkflowTaskProperties SPBeforeProperties = new SPWorkflowTaskProperties();
        public Guid TaskStatusFieldId = new Guid("FCA4FCB5-503C-4e9f-AC62-CD79EB
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend