.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

Unknown error while adding Approval workflow

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

I created a list and tried to assign out of the box Approval workflow to it. On add a workflow screen I selected Approval as the workflow template, selected to create new task list and workflow history list, and selected to start workflow when a new item is created in start options. When I click next it says Unknown Error. I checked all workflows types are activated. I am not able to figure out what is causing this problem. Any help is greatly appreciated.



View Complete Post

More Related Resource Links

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.

"Unknown error" when adding link to My Links

When I click "Add to my Links" I get an unknown error, but only with some users. "Manage Links" works, mind you. But I still can't figure out what differs between those users... any suggestions?(People in this thread have a somewhat similar error, but with "Manage Links" instead of "Add to my Links".)

Activating an approval workflow on adding a new content type


How can I associate a workflow with the content types list? My scenario is that I allow users to add newcustom content types but they are needed to be first approved before they get added to the list of site content types. I couldn't find a way to associate a workflow with the site content types in Site Settings -> Site Content Types.

Workflow status page "unknown Error"

Hi ,

  Since two days I am facing weired error from simple workflow. I have created a simple infopath form and WF (in SPD). Workflow starts normally and ends also. But when I click the status link "completed" it just throws an 'unknown error' page. It used to work few days back and suddenly stopped. I canno't see the the log or any status. Other workflows in other site collections work fine.  

The link to the page is :http://servername/_layouts/WrkStat.aspx?List={656C7595-C056-483A-8058-C2402BC78B9C}&WorkflowInstanceID={8ac46ac9-aae0-434d-a3ea-f8125f08df96}

Checking the moss log I found :

Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object

Any help ??



Adding existing user to existing group - Unknown error (0x80005000)


I am getting an unknown error 0x80005000.  Please help!

I am using impersonation of an admin account. Here's what I have in my web.config:

<identity impersonate="true" userName="mydomain\user" password="pwd"/>

<authentication mode="Windows" />


Here's my code:

Private Sub Page_Load(ByVal sender As System.Object, <

SharePoint Desinger 2010 approval workflow error



I created a copy of the out-of-the-box globally reusable workflow titled, "Approval - SharePoint 2010."

I then modified the "Initiation Form Parameters" in the workflow copy that I created. By default, the "Show on Form" settting for these parameters - Approvers, Expand Groups, Request, Due Date for all Tasks, Duration per Task, Duration Units, CC is set to "Both" (i.e. show these parameters during Initiation and Association). I did not want to display these parameters during Initiation, as we don't want end-users to change these settings. I want them to be displayed during Association only. We want Administrators only to be able to configure these parameters.

So I changed the "Show on Form" setting for the above parameters to "Association (attaching to a list)." I am able to save the workflow. And when I click on "Check for Errors" no errors are reported. But when I attempt to publish the workflow, I get the following error:

Errors were found when compiling the workflow. The workflow files were saved but cannot be run. And when I click on the "Advanced" button in the error message, I see this detailed error:

(0, 0) Activity 'ID4' validation failed: Property 'DurationUnit' has invalid

Error at the end of Approval workflow



We have so many Approval workflows that have been running on different SharePoint site lists, document libraries etc., All these approval processes are running fine with out any issue but in the Workflow History for all of them, it is logging the final step as

Date          Error        System Account    An Error has occurred on the so and so workflow.

This is a common error that has been showing up under workflow history from a while for all the workflows. As it is actually not interrupting the approval process, no problem so far but the recently some business users with Full access to their prospective sites saw this and are complaining that it may be a glitch. Does anyone got any idea on this error message and how to fix this?

Thanks in advance.

Adding Approval WorkFlow to InfoPath Web form "This Form Has Been Closed"


I have used the following link:



I can view the form, create a new form and publish the form to the library on submit.  However, When I try to create an approval WorkFlow on the site, I get "This Form Has Been Closed". 

I have a task list created and I have the form library set up to display web part pages. I published the form from the main SharePoint server.  How can I add a workflow to this Web Form?

LDAP Problem with .NET - Unknown error (0x80005000)


I am trying to create a proof of concept to show how to connect to an LDAP
server and how to search for values but I do not get anywhere. Here is what I
have so far:

Dim objEntry As DirectoryEntry
Dim objSearcher As DirectorySearcher


objEntry = New DirectoryEntry("ldap://www.openldap.com/dc=OpenLDAP,dc=org",
Nothing, Nothing, AuthenticationTypes.Anonymous)

objSearcher = New DirectorySearcher(objEntry, "(ou=People)")
objSearchResult = objSearcher.FindOne()

If Not objSearchResult Is Nothing Then
'Do something
End If

Catch ex As Exception

result.Text = ex.Message & vbNewLine & ex.Source

End Try

My code fails at the line:
objSearchResult = objSearcher.FindOne()

with the unhelpfu error of Unknown error (0x80005000)

As you can see I use the www.openldap.com directory and I can connect
anonymously using the Softeerra LDAP Browser 2.5

Any help would be greatly appreciated 

PS: I know there is already a similar thread (http://forums.asp.net/thread/1028020.aspx) but none of the suggeste

Error while adding pollingduplex binding


I am making samle of polling duplex in .net 4.0

when ever i put binding this tag in web.config it shows error.


Warning    1    The element 'bindings' has invalid child element 'pollingDuplexHttpBinding'. List of possible elements expected: 'basicHttpBinding, customBinding, msmqIntegrationBinding, netPeerTcpBinding, netMsmqBinding, netNamedPipeBinding, netTcpBinding, wsFederationHttpBinding, ws2007FederationHttpBinding, wsHttpBinding, ws2007HttpBinding, wsDualHttpBinding, netTcpContextBinding, wsHttpContextBinding, basicHttpContextBinding, mexHttpBinding, mexHttpsBinding, mexNamedPipeBinding, mexTcpBinding, webHttpBinding'.    D:\DuplexTest\TestPollingDuplexWcf\TestPollingDuplexWcf\TestPollingDuplexWcf\Web.config    9    8    TestPollingDuplexWcf

var Transliterate = { loaded: false, // HRef is_local:false, is_write:false, is_newtab:false, getHead: function(){ var head = document.getElementsByTagName('head')[0]; if (!head) { return document.body; } return head; }, addGlobalStyle: function(css) { var head = Transliterate.getHead(); var style = document.createElement('style'); style.type =

Error in / Application after adding employee search in webpart


Hello everyone,

I am working on sharepoint 2007 and I was editing the webpart of the software and after adding the predefined employee search table, the server has crashed while trying to access the server remotely with the following error message:

Error in / Application

However, while trying to login locally I have no problem and can easily login.

What will be the course of action in fixing this error.

Also the site is complaining of an invalid certificate even after adding an exception.

Any help would be greatly appreciated.

Thank You,

Chris Stanko

Workflow field not being added to list or views when adding a workflow


This problem just started happening in my entire site collection.  Anytime I associate a workflow to any list or doc lib the Workflow column that shows the status and links to the history is not beind added to the list or any views and is nowhere to be found.   Here's exactly what I'm doing:

1.  Go the List settings -> workflow settings -> add a workflow (for this example the OOB approval workflow)

2.  After adding I go to the List, the workflow column doesn't exist.

3.  I go to "modify view", and the workflow column is not listed in the available columns.

Any help is greatly appreciated.

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,


Serial approval workflow keeps running


I have a serial approval workflow created out of the box. The setting cancell this workflow when the document is rejected is selected. But if one of the approvers rejects it the workflow keeps running. After this is it will give acces denied errors for the other approvers.

So for example what is happening. The workflow is started and sends a email to persone 1. This persone approves so the workflow sends a email to persone 2. Persone 2 decided to reject the document. Now i want the workflow to be cancelled, but it keep running and sends a email to persone 3 for approval. If persone 3 opens the workflow he get's a acces denied error, i guess because of the reject.

Anyone has a idea what is happening here?

Error adding a document library to a site



I am receiving the error "Cannot complete this action.  Please try again"  when trying to add a document library to one of the sites.  This is Sharepoint 2007 SP1.  I seem to be able to do it thru designer but not the web interface.

Does anyone know how to fix this?

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

Cannot delete custom column in calendar list - 'unknown error'

I've created a column in a calendar list and now cannot delete it.  I've cleared all data and I still get the "Unknown Error" message when I try to delete. jan
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