.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

Unable to Debug SP Workflow

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :SharePoint
hey, why its not possible to debug a workflow?   my workflow is listening to a workflow item changed event;   i set the breakpoint but it doesnt fire :(   are there any solutions?

View Complete Post

More Related Resource Links

Unable to debug Workflow in VS2010

I have a minimal sequential workflow created in Visual Studio 2010 which I cannot run in debug mode. I have created the workflow using the template in VS2010. When running the project in debug mode the breakpoint mark changes from full red circle to empty circle with exclamation mark. The tooltip message is: "The breakpoint will not currently be hit. No symbols have been loaded for this document" I am able to debug webparts deployed onto the same Sharepoint site using VS2010. Environment: Windows Server 2008 R2 Standard, Sharepoint 2010, Visual Studio 2010 Any suggestion would be greatly appreciated. Claudiu

Sequential Workflow project unable to compile referencing x64 Workflow Activity Library

Folks -   I have an sequential workflow project targeting x64 that will not compile if the workflow activity library that it references is compiled for x64 (it will compile if the activity library targets x86).  The compile error I receive is: Compilation failed. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. [project name]   Any thoughts on how to figure this out?   Thanks.

Unable to debug asp.net web service

Hi,I recently formatted my machine and installed iis and then VS 2008.I created a sample  asp.net web service and just tried to debug it.That time it throwed this error:"Unable to start debugging on the web server.  <html><head><title>Server Application Error </title></head><body><h1>Server Application Error</h1>The server has encountered an error while loading an application during the processing of your request.  Please refer to the event log for more detail information.  Please contect the server administrator for assistence.</body></html>"Please tell me what am I missing or what all settings needs to be done in iis.

Unable to call an asmx web service using windows authentication from a Service workflow

Hello, I need to use an existing asmx service from inside my service workflow and I am unable to call it. This asmx service is hosted in a web application with iis set to windows authentication, anonymous is not allowed. I need to send the authentication, only way seems too be using transport for basicHttpBindings. Every time I try to call the service I get an error saying that there is nothing listening to the url of the service generated automatically by VS when I added the Service Reference ? my web config <configuration> <configSections> </configSections> <system.web> <compilation debug="true" targetFramework="4.0" /> </system.web> <system.serviceModel> <protocolMapping> <add scheme="http" binding="wsHttpBinding" bindingConfiguration="WindowsCreds" /> </protocolMapping> <bindings> <basicHttpBinding> <binding name="UtilitiesSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"

Unable to load workflow actions from the server - problem!

Hi, I have problem on Sharepoint 2010 RTM (new installation). I use workflows from the begining and I had no problem since yesterday. I tried to make custom workflow and the SP designer has frozen when saving it. Since than I get message "unable to load workflow actions from server. Please contact your server administrator." every time I want to customize or make new workflow. Need fast solution, Please help. Regards, Luka

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  

unable to load workflow actions from the server.

When I try to create a workflow in SPD for my teamsite (for which I have full control) I get the above error message. I have read many posts on this topic but am not conviced that what I usually see about the actions not loading applies to my case beacusewe have a developer logging in remotely that is able to create a workflow in the same site using SPD.  I have .net 3.5 framework, I have full control permissions, and the wss.actions file is not bad in that it is obviously loading for the remote developer, what else could be causing this error? I find no error messages in the SharePoint logs nor the application logs although the sharepoint logs are throttled back.

Designer workflow + unable to edit task

I use the SPD to create a custom workflow which will assign to-do task to users. The workflow is attached to a list library in a subsite and users only have view-only permission to the subsite (users are added to the subsite directly, not inside any sharepoint group).  In order for users to complete the assigned task, I have broken the permission inheritance and change users to have contribute permission on the Task list.   The workflow would trigger as expected and a new task is created for the user. The user can see the "edit task" link in the task item but when clicked "edit task", an "access denied" error occurs.   Under further investigation, I notice access are granted for sharepoint group e.g. site visitors, site members on URL http://....../workflow/workflow_name/newtask.aspx , and only when I create the workflow under the site administrator account. If I create the workflow under an account which also has "Full Control" to the subsite, No access are granted to the workflow library at all.   What permission levels do I need to create workflows in designer really? Does it make a difference if the workflow is on a top-root site or subsite? Full control on the top-root site or subsite?   Thanks in advance.

can't debug anymore a state machine workFlow in Visual Studio

Hi, I have an issue with debuging a workFlow with visual studio when it should start the workFlow when I create an item nothing happen and sharepoint stay stuck : I can't refresh any lists, visual studio rich 40% of the CPU, no exception on log. At the same time if i deploy without debugging it works. Please help me. Thanks, Patrice  

Workflow --> After Build --> 3rd Party DLL in Debug Folder --> What to do?

hey, im referencing a third party dll; after the build of the workflow, theres an other dll created in the debug folder of the project which is required by the other dll   but, when im deploying the workflow, it seems, that dll is not deployed, too, cause the workflow crashes, cause this dll is required   so how can i tell the workflow, where to find this dll?

unable to debug Script

hi to all,for my VS2010, i am not able to debug the script in my webpage.i am using firefox to run with VS.i tried to remove the check options from internet Explorer Options,disable script debugging (Internet Explorer)Disable Script Debugging (Other)but still i am cannot to debug the Script in my aspx page.what is thep roblem her?do i mis any thing ?thanks

Unable to load workflow action from server. please contact your server administrtation

when ever i am trying to access the to sharepoint deisgner 2007 WF. I get the following error

"Unable to load workflow action from server. please contact your server administrtation"

how can i resolve this issue, I am using MOSS 2007.

Unable to attach a custom SharePoint Workflow to a Content Type


I am working with SharePoint Server 2010 Beta 2, Visual Studio 2010 Ultimate RC and SharePoint Designer 2010 Beta.

I built a custom Content Type based on the Item type with a few custom site columns. I also have built a custom Sequential Workflow using Visual Studio 2010. This is a relatively simple workflow that creates a task, waits for the task to complete, sets the workflow to complete. I am able to deploy this workflow to the site collection through VS 2010.

The problem I have is that when I try to associate my custom Content Type with my custom workflow, that workflow is not listed in the workflow templates to select. There are only the OOTB SharePoint workflows to choose. However, if I create a list and associate a workflow to that list, my custom workflow is listed in the workflow template list.

This makes sense since at the start of building a custom workflow in VS2010, one of the first questions is whether the workflow is a Site or a List workflow and I selected List.

I did a little research and found some who wrote that Reusable Workflows may be attached to Content Types.  In VS2010, there is no option to build a Reusable Workflow.  That is only possible in SharePoint Designer.  However, it is possible to import a SPD workflow into VS, so I tried that.  Imported the WSP into VS201

Desinger Workflow 2010: Unable to load workflow actions from the server. Please contact your server



I am facing a problem from last some days..

When I am trying to open/create/update workflows from Designer 2010, then designer giving me an error "Unable to load workflow actions from the server. Please contact your server administrator".

I researched on internet for this error and found some possible reason like


  1. Login user Permission issue
  2. Error in custom actions
So that I checked for permission for login user, but it has administrator rights. and I tried to open workflow by removing custom activity code, but still exist.

also if I tried to create/update workflow for another site on same server then it works without any problem.

Can anybody please help me?

Many thanks,


N i T i N

Unable to resume Sharepoint Designer workflow after Pause For Duration action

Hello we are using SharePoint server 2007 and developing workflows using SharePoint Designer.
Workflow in unable to resume after the time, set in the "Pause For Duration" action.
is there any Hotfix for SharePoint server 2007 to be installed on the server?

How to debug Windows Workflow when it is hosted by WCF Service ?



I have build a test solution in two parts :

1) WCF service which hosts a Windows Workflow (statemachine).

2) Console application which consumes the WCF Service.

It works well, but if I do a bad process, it crashes which is normal. Exemple : the client calls an event which is impossible to execute given the current state according to the workflow design. In this case, the client receives a WCF exception. This exception is masked, which is normal (an option has to be set in WCF side to enable exception transmission).

The problem is that, althought I launched the console application with the debugger, with the WCF service project, the debugger doesn't break on Workflow errors in WCF error side. (However, I saw that non-Workflow errors in WCF side are still stopped by the debugger)

How could I force the VS debugger to break on Workflow WCF errors ?


(Workflow 3.5)

Unable to load workflow actions from server



I have an issue on a SP2010 farm. When I try to open or create a workflow through SharePoint Designer, I get the error message "Unable to load workflow actions from server"

I have been through a number of threads here and elsewhere and have ruled out the following common causes:

  1. User permissions - This happens for a site collection administrator, as well as a site owner
  2. Actions file broken - There have never been any modifications to the actions file, and no custom workflow components have ever been deployed.
  3. State Service not running - The state service is provisioned and running just fine.
Does anyone have any suggestions for what to look at next?
There is nothing at all appearing in the log files on the server, I currently have Workflow Engine set to Verbose level.

Thank you

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