.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

Workflow Control Client

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :JQuery

I'm having trouble using the Workflow Control Client endpoint to terminate a workflow.  I'm currently running my workflow as a service and it's running within VS 2010 using VS Development server.   see code and config below..  The control endpoint seems to be working but i'm getting an error when i call terminate method.  The error is {"The remote server returned an error: (405) Method Not Allowed."}  Any help is appreciated..  I'm using my nonadmin account but i get same error with local admin account.    I have also tried using basichttpbinding but i get same error.




View Complete Post

More Related Resource Links

Web-Aware Apps: Build Hyperlinks into Your Client App with the Windows Forms LinkLabel Control


LinkLabels are Windows Forms controls that enable a user to hyperlink to a URL that points to either the Web or the local directory system. While the SDK documentation discusses the control, it does not demonstrate how linking is accomplished, nor does it outline the power and flexibility the control provides. This article fills those gaps, showing how to link using the LinkLabel control. It also shows the flexibility of this control for the programmer using the .NET Framework. In addition, the author covers the large number of properties that allow you to customize your controls and accurately place them. Their built-in behaviors are also discussed, along with their use in both Visual Basic .NET and C#.

Dan Hurwitz

MSDN Magazine February 2003

Video: Microsoft Office 2010 Client Workflow: Why Do We Need Workflow?

What are workflows and why do we need them? This video provides a foundational understanding for workflows and then discusses workflows in relation to SharePoint objects, List Items, Document Libraries, Document Sets, and Sites. (Length: 12:05)

Video: Office Client Workflow: Visual Studio 2010 SharePoint Workflow

Learn how project templates for SharePoint 2010 in Visual Studio 2010 allow developers to build sequential and state machine workflows for SharePoint and import reusable workflows created in SharePoint Designer. (Length: 10:36)

How to keep my Workflow alive only during the time my client application is running ?

Hi, I want to my workflow do some action when server  lose connection with client and at the same time client get exceptions about it. It is possible to implement some session mechanism or something like that with workflow service ? Regards Marcin

How to read and save client side textarea control value ?

Hi. I am now trying to solve some problem. I want to read textarea value in client side behind code. I know if I use runat property, it will be solved easily. But is there any way to read client textarea value without using runat property ? I need to read textarea value and save them to my database. If there is someone who has experience in this case, please help me. thanks  

Treeview web server control client side evnts

HiI'm using Treeview control with asp.net 2.0. I would like to know how to get the client side events working. I don't want a post back for every little thing i do with the Treeview. Particularly i want to catch the node click event on the client side using java script, i want to enable/disable buttons based on the selected node. Is this possible? i tried some examples available on net but doesn't seem to be working. Please help me.. can someody give a working example....John 

Dynamically (on client side) populating data control (repeater) when dropdown item is selected

Hello!I'm currently working on a project and I want to make as much things as possible performing on client side - with as little loading as possible.The project consist of three "main" pages. On one page I use jQuery DataTable plugin which is working great. One page has tabs (using jQuery). I want to put datacontrol (repeater) on this site and when  user selects one item in dropdown, data in repeater loads on client side, without performing the action on server.I wonder if this is possible and if somebody can give me some case to help with?Thanks!I hope I was clear enough. all the best

Client Javascript runs, but then page errors out when clicking on a control that uses postback

Using this script on a button click <script language="javascript"> function printdiv(printpage) { var headstr = "<html><head><title></title></head><body>"; var footstr = "</body>"; var newstr = document.all.item(printpage).innerHTML; var oldstr = document.body.innerHTML; document.body.innerHTML = headstr + newstr + footstr; window.print(); document.body.innerHTML = oldstr; return false; } </script> After it is done, I can't click on my calendar control.  I was hoping to add somethign that would force a refresh in the script, but nothing I do works. Any thoughts?  Thanks! 

How to control no: of copies printed from a pdf in client side

 Hi Team I have a requirement to print a page based on the number of copies mentioned on a web page. Print button in my web application is creating a PDF on -the- fly and is opened in the client side for printing. How can I restrict the No of copies being printed for the PDF generated in the client side based on a predefined value ? Please help me to proceed Malini

How to control the client login.

Hello, I am working on an application where it stores information that different clients will be using. I need to figure out how to show the current client logged in only what they have posted to the application and not everything that has been posted to the application. Client 1 logs in and sees what they have posted; client 2 loggs in and sees what they have posted.....etc. Can anyone shed some light on this for me?   Thanks, Rick 

Unable to load client print control

Hi friends,I am facing one problem since two days in ssrs 2008, i am not able to solve this problem, can any one help me please..Problem Statement:- I am getting "Unable to load client print control"  error when i am trying to give print option from report server.Looking forward for any one help in this problem.

Edit workflow at runtime save in db and restart on per client basis

I need to be able to create a workflow in code (not a problem). Start the workflow and edit it depending on business logic (Add Parallel branches) save workflow in database per client. Pull workflow defintion from database by client and continue to work and persist as workflow progreeses. I thought XamlServices or ActivityXamlServices but i can't seem to get to the individual activities to edit.

Unable to load client print control

When you display a SQL Reporting Services report to the screen in the header there is a Printer Icon displayed.  When we click this icon we get an error message "Unable to load client print control ". Does anyone know what we need to load or what we need to do to resolve this so that we can print the report directly to teh printer, rather than having ot prinnt the web page, which also prints all the Web headre information

Question about Workflow in Document Library with version control and check-in/out enabled



I use Sharepoint Foundation 2010 and have a workflow to set some metadata in a document with version control and check-in/check-out enabled (approval content is not enabled because anyone in the team can be a possible editor of the document).

My metadata is:

- a generated doc id with text+id (example P&D_1)

- a calculated status based in version: minor version = "on development" and major-version="published/approved"

I defined two workflows:

1) is called when item is created to define id and status.

2) is called when item is updated and status is re-calculated if version is major. (It is called in every item change, not only when user wants to publish a major version, because this option doesn't appear in SPD)

I noticed that sharepoint workflow must do a check-out to be able to update metadata, and because of this the version number is incremented. When version is minor, I don't care, but when version is major I have a problem, because just after publishing the version 1.0, the workflow changes metadata and the version to 1.1. and 1.1 means that the document is not approved anymore...


a) Isn't it possible to do the workflow to check-in and override the last/current version to not generate a new version??

b) Or is it possible to stop versi

How to start the workflow using Client Object Model?


I am able to get the Associated  workflow from list. I want to start that workflow.


                Web oWebsite = clientContext.Web;

                List oList = oWebsite.Lists.GetByTitle("Employee");

                SP.Workflow.WorkflowAssociation  wk = oList.WorkflowAssociations.GetByName("Workflow1");

Ronak Patel

Source Control Explorer tab is shown when pressing 'S' key in Workflow Designer


I'm using Visual Studio 2010 Ultimate and I also have TFS Server 2010 Power Tools installed. The problem I'm experiencing every time I load the Workflow Designer is that whenever I press the S key, Visual Studio takes me to the "Source Control Explorer" tab. This would happen if you were editing the title of any activity on the designer or just had the focus on the designer itself.

I checked the keyboard shortcuts for this tab (View.TfsSourceControlExplorer), and verified that there are none assigned to it. Nonetheless, I tried to assign a shortcut to the tab (both at a Global and Workflow Designer level), in order to see if the behavior would be overwritten, but I had no success.

Any ideas on how I can overcome this problem?

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