.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

An error has occured in Workflow name ?

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :SharePoint
My library setting- Workflow settings - "Cancellation & Error Report" : Description shows An error has occured in Workflow name. My question is : 1. What is the meaning of the above error? 2. how can i see the detail description of this error? 3. Why this message is coming? Thank in advance for your reply, Justin  

View Complete Post

More Related Resource Links

Error Occured during workflow

Hi, i have created a workflow using VS2010 and deployed in SP2010 but while running the workflow its giving me a status message " ERROR OCCURED" my scenario is :  once we upload a document in library it should be copy to another site's or sub site's document library.  can i create a workflow using SPD2010 for this requirement? let me know if anybody have answer.   thanks share2010        

Error Occured - Three state workflow



I faced this issue and was able to resolve it. I am hoping this will
be helpful to someone who might get into trouble using the default
three state workflow.

I created a list and tried to use the default Three state workflow.
The workflow was enabled to start as soon as a new list item was
created. It started and the status was "Error Occurred". Being a Java
guy I didn't know where to look for this error. I checked the Event
Viewer but not much help. Is there a log file for Project Server

Here is the reason why this happened. I had to go through most of my
fields in the custom list to understand what was causing this problem.

I had a field called Owner and I had enabled this option "Allow
multiple selections: ". This caused something to break in the
workflow. I am assuming it cannot handle a Person/Group field that
allows multiple selections even though none of the list items actually
had multiple persons selected.

Hopefully this will help someone in the future if they enable any
Person/Group field to have multiple selections.

Custom VS2008 Workflow "An error has occured in Workflow" - Error Occured


The problem: a custom workflow associated with InfoPath form in a document library on SharePoint 2007 fails to fire on the new server. We get "Error Occurred" as workflow status every time.  History Logs are not informative, here's one example:


Travel Workflow

Activation error occured while trying to get instance of type Database, key "DBName"


Im using Enterprise library 5.0
I have a scenario, where I have to access two different databases in my application.

Basically this application is a webservice,delployed on my local for testing purpose.
I'm trying to access this web method from diffent windows application, default connection works fine but the other database throw's exception.

Problem is only my defaultDatabase is works fine, if I change defaultDatabase="MYCON1" with "MYCON2" it works fine, if I try to access the other database which is not default, throws exception.

<dataConfiguration defaultDatabase="MYCON1" />
<add name="MYCON1" connectionString="Data Source=server1;Initial Catalog=dbName1;User Id=Username1;Password=password1;"

" />
<add name="MYCON2" connectionString="Data Source=Server2;Initial Catalog=dbName2;User Id=Username2;Password=password2;"
providerName="System.Data.SqlClient" />

Database myDB=EnterpriseLibraryContainer.Current.GetInstance<Database>(); --> works fine for the default database (MYCON1)

Database myDB=EnterpriseLibraryCo

Nintex Workflow Error: No workflows are waiting for a BizTalk message [...] No processing has been d



I created a Workflow with Nintex Workflow 2007 (on SharePoint 2007) to send/receive data to BizTalk 2009. It worked fine already. But now I get the following error mesage in the EventViewer:

Nintex Workflow; Build: 11000 (http://ls457/_layouts/nintexworkflow/BiztalkHandler.ashx)
No workflows are waiting for a BizTalk message with message Id of 'GeneralAccessRequest_2010-08-23T15_00_04_44961212B370C554EDFAC41C1201ED6CEFB' on teamsite http://ls457/sites/testapp. No processing has been done.

What could that mean? Any ideas? I definitely changed nothing on the orchestration or BizTalk administration. The BizTalk action sends the data correctly to it's destination (database), but it seems that nintex doesn't receive any return data. I don't think it's a BizTalk problem, because in the BizTalk Message Tracking Database the Message is listet, so it has been sent correctly by BizTalk. But the handler probably has problems to find/receive this message.

Kind regards,


Writing Bitmap to Response.OutputStream - Generic Error Occured in GDI+



This is what I'm trying to do when I get the error on the server (it works on my local machine):

System.Drawing.Image image = System.Drawing.Image.FromFile(filepath);
System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(image); 

Response.ContentType = "image/bmp";
bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Bmp);

I don't think it can be a permissions problem because this works on the server:

System.Drawing.Image image = System.Drawing.Image.FromFile(filepath);
System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(image);

Response.ContentType = "image/jpeg";
bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);

So how do I get this to work for a bitmap?


Error loading workflow services

Hello, I'm developing a service library using the new wf 4.0 and one of my requirements is that some activities have the ability to be resumed by a client, so i created a wcf resume service that could load a workflow definition and resume a bookmark of that workflow. One of the services i created was a flowchart that has a receive reply activites inside a sequence activity has a start point, after that i have another sequence that have another sequence, yes 2 sequence activities, and my custom activity that needs to be resumed by a client. The 2 nested sequence activites was a something i used only for testing, but if i had those 2 sequence activities nested i got an error when loading that workflow definition in my resume service: 'ObtemPareceres' is not of type 'Sequence'. When loading this instance you must ensure that the activity with name 'ObtemPareceres' implements 'Sequence'. The "ObtemPareceres" is my custom activity, and if i remove that second nested sequence everything works fine. Anyone has any idea of whats going where? thanksFrederico Regateiro

Workflow "Error Occurred" Message

Hi, We have upgraded a VS 2008 custom workflow in our production environment but we are now seeing an "Error Occurred" message when starting in one site that the workflow is activated on.  It works fine on another site.  Permissions DID NOT change for users on this site before or after or during the upgrade of the workflow. It works fine in our test environment. How can I troubleshoot this in production environment (I cannot debug)? Can somebody give me a definite answer on what are the required permissions to give user to allow them to start workflows and edit only their own Tasks?  I have asked this question on a number of forums with no definitive answer.

Imported Workflow project does not compile "error 348: Compilation failed. Unable to load one or mor

Original workflow project was compiled on 32 bit machine. I exported it to VS.Net 2010 and it fails to compile. Has anybody seen this error? -Stan  

VS 2010 and error while compiling Workflow project

Get the following message:   ------ Build started: Project: DSS_IP_WorkFlow, Configuration: Debug Any CPU ------ C:\PRJ\JD Powers\DssIP\DSS_IPSoln\DSS_IP.2010\DSSIP\DSSIP-Simulator\DSS_IP_WorkFlow : error 348: Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.   What I'm doing wrong to my project?

state machine workflow project creation error

Hi,   I have a dev environment which i had sharepoint 2007 and now i upgraded it to sharepoint 2010. Now when i try to create a state machine workflow project it gives me an error Object Reference not set to an object. I uninstalled Sharepoint extensions 1.3 (as i 64bit win2008 vm) and when i am trying to install it. In one of the installation screens where it asks for the port no  and the select the app pool it only shows the sharepoint central v3 app pool . i was expecting to have sharepoint 2010 product app pool in the drop down. I know that there should be a app pool on port 80. Since i upgraded sharepoint to 2010. I want sharepoint visual studio extensions 1.3 to point to sharepoint 80 app pool . Please can you tell me how i can do it.    

Error customizing Approval Workflow in SharePoint Designer

When attempting to customize OOTB Approval Workflow, message "Workflow is read only?"  Request copy errors with "Server could not complete your request" Details button produces blank.  Any clue?  I am the site collection administrator for the site and the secondary farm administrator.

Get xhr object in vb.net when error occured in ajax call using JQuery.

Hi Dude,   I have a big problem in Jquery ajax call. I am calling the web service whenever click the update button. I have a separate web service class, in which consist of few methods. When I calling the web service method, I have made the error handling and log the error information in db after that I have to override the "ex" that means error object to XMLHttpRequest. Is it possible to assign the sqlexception to ajax object (xhr) in vb.net? Please help me its much more useful for me.   Thank in advance.

Error editing a document that is running a workflow

After workflow is started i try edit document, but this error is displayed: System.ArgumentNullException: Value cannot be null.  Parameter name: s     em System.IO.StringReader..ctor(String s)      em System.Xml.XmlDocument.LoadXml(String xml)      em Microsoft.SharePoint.Publishing.Internal.WorkflowUtilities.FlattenXmlToHashtable(String strXml)      em Microsoft.SharePoint.Publishing.Internal.WorkflowUtilities.DoesWorkflowCancelWhenItemEdited(String associationXml)      em Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.EnsurePageNotInLockingWorkflowIfInEditMode()      em Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.LoadDataSource()      em Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource.OnLoad(EventArgs e)      em Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource.OnLoad(EventArgs e)      em Microsoft.Share.Point.Publishing.WebControls.PublishingSiteActionsMenuCustomizer.OnLoad(EventArgs e)      em System.Web.UI.Control.LoadRecursive()      em System.Web.UI.Control.LoadRecursive()      em System.Web.UI.Control.L

An unexpected error has occured

Hello I am using following sample code for some testing using Sharepoint 2010     SPSite siteColl = SPContext.Current.Site;     SPWeb site = SPContext.Current.Web;     string ListId = Request.QueryString["List"];     string ItemId =  Request.QueryString["ItemId"];     txtListId.Text = ListId;     txtItemId.Text = ItemId;     SPList list1 = siteColl.RootWeb.Lists["Tasks"];     Response.Write(ItemId.ToString());          SPListItem item1 = list1.Items.GetItemById(Convert.ToInt32(ItemId)); I am getting following error "An unexpected error has occured" in following line, please advise whats wrong I am doing here     SPListItem item1 = list1.Items.GetItemById(Convert.ToInt32(ItemId));

Access Denied/The workflow could not copy the item workflow error after Sharepoint 2010 upgrade

We have a sharepoint designer workflow that copies a document from one library to another on the same site.  Before the upgrade to 2007 it worked fine, but now with 2010 it gives an error and cancels the workflow when it gets to the copy list item step.   The error on the workflow page: The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings.  Access Denied   Specifically it is the "copy list item current item to documentlibrary" sharepoint designer workflow action.   I have given the system account full permissions to the library and double checked that all columns are the same in both libraries. These are the verbose trace logs:   09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72er Medium System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitCopyFile(Transaction txn, Object[] transData) 09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Sys

Receiving Error when Trying to Develop Sharepoint 2007 Workflow using VS 2010 Pro

I have created a Windows Server 2003 Enterprise (32 bit) SP2 image configured with Sharepoint 2007 Enterprise and a trial edition of Visual Studio 2010 Professional.  All software is fully patched.  When I try to create a new Sharepoint 2007 Sequential Workflow (.NET Framework 3.5) in either C# or VB, I receive a pop-up error: Exception of type 'System.PlatformNotSupportedException' was thrown. and, when I click OK and fill in the name of the workflow and a valid Sharepoint Web URL for testing, I receive the following error: SharePoint site location entered is not valid.  The SharePoint site at <removed> could not be found.  Verify that you have typed the URL correctly.  If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application. The URL in question references the default SharePoint site on this test server and does exist.  My assumption is that the second error received is a symptom of the first.  I have looked elsewhere and seen issues related to 64bit SharePoint implementations but, this is a 32 bit installation.  Based on the VS 2010 web site, I have met all of the prerequisites for developing SharePoint 2007 workflows through VS 2010 Pro.  Does anyone have any ideas on what I might be missing or what I need to
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