.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 Workflow in VS2010

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
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

View Complete Post

More Related Resource Links

Unable to Debug SP Workflow

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?

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?

popup error (unable to edit css) VS2010 .NET 4.0

Hi!I'm getting this strange error when i'm in SplitView or DesignView and i refresh view (i'm using VisualStudio 2010 .Net 4.0). This is happening only for this page and i have never seen anything like it, neither do i understand what is goin on.Any clues?

Azure ASP.Net VS2010 Timeouts during debug

Hi All,I've converted an ASP.Net website over to an Azure version and I've got it up and running. However the vast majority of the time I experience timeouts when I'm trying to debug the application.This seems to happen on any page at any time. I start debugging from VS2010 and sometimes the home page will come up sometimes it hangs. When it does come up if I select an item from a drop down list sometimes it works somtimes it times out. I have breakpoints set and they don't even fire I just eventually get the time out. If I hit refresh that sometimes seems to fix it but it eventually starts happening again. This is making the completion of the conversion VERY difficult and I'm starting to creep up to a deadline.Does anyone have any idea what might be happening? If there is a better location I can post this question to would someone be kind enough to point me in the right direction?Thanks in advance for any help and in addition my email is mgorgone@pictureu.com as our Windows Live account email is diff. Cheers,Mike 

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

How to create static workflow using VS2010



I have two lists (myrequest and tasks). I want that whenever a item is added in myrequest list then automatically add a new task in task list and send notification to a particular address. Then once user open this new task and assign task to any assignee thne again send notification to assignee.

I want to create a common class for this, so it can be used in another project for different lists also. I want to implement this using VS2010 not thru SPD.

Please advise, if possible any url or tutorial to implement this step-by-step.


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

VB WCF Workflow Service Application - WcfTestClient.exe different to C# in VS2010



I was following the simple introduction to WWF at http://msdn.microsoft.com/en-us/netframework/ff802403.aspx and I've noticed that a new C# WCF Workflow Service Application project created will then compile and run WcfTestClient.exe.  If I create the VB Version of that same project I get a Browser web page, not the WCF client. Is this a bug in the VS2010 VB bits?  How do I change the project to correctly execute WcfTestClient.exe manually in my VB Project?

Jamie Clayton http://www.jenasysdesign.com.au
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