.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

Increase timeout on Send Activity

Posted By:      Posted Date: August 29, 2010    Points: 0   Category :Windows Application
I am using Send activity to call another Workflow service. I am getting the following error: The HTTP request to 'http://fulfillment.odp.skinit.com/OrderWorkflowService/AssemblyWorkFlow/ReleasePhysicalAssetsWithArt.xamlx' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. How do I increase the timeout in the Send Activity? Thanks.

View Complete Post

More Related Resource Links

Session Timeout increase to 2 hours.



    for Business needs i am planning to increase the session timeout to 2 hours(120 min) in one application, i am using sql server session state. if i increase to 2 hours of session time out, how it will effect the performance of application and web server.

   Could any one help me on this.






To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the s

The following error is issued following 10 minutes of system inactivity: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: The message could not be processed. This is most likely because the action 'http://tempuri.org/IParticipant/SearchParticipants' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding. Per the message, I tried changing the app config on the client from     receiveTimeout     ="00:10:00" to     receiveTimeout="10:00:00" but the change seems to have no impact.  What am I missing?

How to increase the timeout for a SharePoint 2010 website

The default timeout for an Http Request in SharePoint Foundation 2010 is 120 seconds*.  Any Http Requests above this 120 seconds will be met with a "Request timed out" error as displayed in the SharePoint logs: Unexpected     System.Web.HttpException: Request timed out. Note: The SharePoint logs can be found at:     C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS To increase this timeout you will need to modify the web.config file for the SharePoint Website.  If you are using the default SharePoint configuration, then the web.config file will be found at: C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config Open this file in Notepad and then scroll down to the system.web > httpRuntime element (about half way down the file).  To increase the timeout, add the executionTimeout attribute to the httpRuntime element with a value of the number of seconds for the timeout.  For example, to increase the timeout to 5 minutes, add an executionTimeout of 300 like this: <httpRuntime maxRequestLength="51200" executionTimeout="300" /> In the default SharePoint Foundation 2010 web.config file it will look like this: Save the web.config file and now the timeout for HttpRequests will have been increased (Of course you need to ask why a request is taking more than 2

how to increase timeout in SSAS

Dear Sir,   When SSAS makes query from relational table it time out [in my SSAS project timeout value is set to 0 in datasource connection string]. So how can i increase its timeout sufficient to complete a query that takes time in many minutes. What is min time for timeout? What is max time for timeout? thanks

How do I assign the return value of a async code activity to the send activity in a workflow?



Here's my scenario:

- I have a WF service with a Pick activity. 

- The pick branch contains a Sequence activity in the trigger section. 

- The sequence contains a Receive activity that receives some information from another WF service.  It then performs an async code activity called CopyFiles.  CopyFiles returns a boolean value based on if the copy was successful or not. 

- The Action section of the pick branch has a Send activity, which will send this result to the calling WF service.

- The calling WF will look at this boolean value and decide whether to move to the next step or not.


How can I pass this boolean value to the Send activity?

Below is my async CopyFiles activity:

public sealed class CopyFiles : AsyncCodeActivity<bool>
    public InArgument<Services.Application> Application { get; set; }
    public InArgument<Services.Resource> ResourceFrom { get; <

"Send Email" activity doesn't send email to Google App mail only!



Suddenly i faced this issue this morning, SPD workflow can send email to all the domains except my Google App Mail domain.

It can send to gmail, yahoo, hotmail but it doesn't succeed my google app email!

i didn't change anything in google app mail setting or the local SMPT setting.


this is my IIS SMPT configuration

Fully qualified domain name:  mail.***

Smart host: smtp.gmail.com

TCP Port: 587

How to Add a Send Activity in a Workflow Service try/catch catch block?


For a Workflow Service that has ReceiveRequest/SendResponse Activities, you can right click on the ReceiveRequest Activity a do a Create SendReply to add multiple SendResponse Activities. 

The problem is that I want to have a Try/Catch block in the Workflow Service.  This way when a fault occurs, I want to log the exception in my database and then use a Send or a SendResponse Activity to send the fault information back to the caller of the workflow service.

Bottom line is that VS2010 does not allow me to add an additional SendReply Activity inside the catch block.

Do you know how to do this?


Leo Cono, http://www.YouLoveMe.com - Free Dating


Send Activity not receiving data and not returning data


I am invoking a WCF Service using Send Activity from a WF Service. The target WCF Service is getting called but the inputs and outputs are null. Have defined inputs and outputs of the target WCF Service as MessageContracts. For the input,  have set the IsWrapped to false and for the output have set IsWrapped to true.

I dont receive any error either during WF Service execution or during the target WCF Service execution. From the Debug mode I have checked that : All the four activities Receive, Send, Receive Reply, Send Reply are executing without errors. Data received inside Send is null and data received from Recieve Reply is also null.

Please help.


Increase Session Timeout


I always struggle with this because I never have to change it often enough. I'm trying to increase my session timeout. I added this to the web.config


<sessionState timeout="120"></sessionState>


But my timeout is still like 10 minutes or so. How do I increase this?

Send Email from SQL Server Express Using a CLR Stored Procedure

One of the nice things about SQL Server is the ability to send email using T-SQL. The downside is that this functionality does not exist in SQL Server Express. In this tip I will show you how to build a basic CLR stored procedure to send email messages from SQL Server Express, although this same technique could be used for any version of SQL Server.

If you have not yet built a CLR stored procedure, please refer to this tip for what needs to be done for the initial setup.

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is no



 I keep getting the following error. I also added time out parameter in the connection stirng and it still did not help. Has any one faced similar issues.

Thanks in adavance.

Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]

Send object from one page to another



I want to create object in 1.aspx, and then send it to 2.aspx. This methods are bad, because:

1)Send object with url, like this:


This is not confidential.


Session["field1"] = "12345"; // set
Object foo = Session["field1"]; // get

This is bad too, because in 2.aspx this fields send to textboxes, and if user go to 2.aspx without 1.aspx, he'll see old data. 

SQL 2008 timeout


I am recently getting a timeout exception when executing this method. This table stores images and it might be due to the size of the table. I have no idea! Help!


 Public Sub StoreFile(ByVal fileId As Integer, ByVal upload As Stream, ByVal connection As SqlConnection)
            Dim bufferLen As Integer = 8040
            Dim br As BinaryReader = New BinaryReader(upload)
            Dim chunk As Byte()
            chunk = br.ReadBytes(bufferLen)

            Dim cmd As SqlCommand = _
            New SqlCommand("UPDATE tblContactDocuments SET ContractDocument=@Buffer WHERE AutoID=@FileId", _
            cmd.CommandTimeout = 30
            cmd.Parameters.AddWithValue("@FileId", fileId)
            cmd.Parameters.Add("@Buffer", SqlDbType.VarBinary, bufferLen).Value = chunk

            Dim cmdAppend = New SqlCommand("UPDATE tblContactDocuments SET CONTRACTDOCUMENT.WRITE(@Buffer, NULL, 0) WHERE AutoID=@FileId", _
            cmdAppend.Parameters.AddWithValue("@FileId", fileId)
            cmdAppend.Parameters.Add("@Buffer", SqlDbType.VarBinary, bufferLen)
            chunk = br.ReadBytes(bufferLen)

            While (c

ReadXML Timeout


I am reading an XML file from an external URL and putting it into a dataset that is the populates a repeater. This works fine when I run it locally, however on the published web site I receive A connection attempt failed because the connected party did not properly respond after a period of time error messages.

However, if i type the URL directly into a browser, I get the XML file almost immeadately which leads me to believe that I am going about this the wrong way or I need to some how to extend the timeout period.

Here is my code:

Protected Sub ButtonValidate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonValidate.Click
        If Page.IsValid = False Then
        End If

        TableCellVATSIMIDResults.Text = "<br />VATSIM ID Validation Results for <i>" & TextBoxVATSIMID.Text & "</i>"
        Dim DataSetVATSIMValidation As New DataSet
        DataSetVATSIMValidation.ReadXml("http://cert.vatsim.net/cert/vatsimnet/idstatus.php?cid=" & TextBoxVATSIMID.Text)


<asp:Repeater runat="server" ID="RepeaterVATSIMValidation">
                    <HeaderTemplate />

How to send an email with information in query string


First I will say I googled (Binged to make Bill happy) for this but could not find anything, perhaps I am not stating what I need correctly;

I have a website that a customer creates orders (for a printing company) and after the order, I would like to email the customer a link to view the status of their order;

I need to send the CustomerID in the link so on the returning page if a CustomerID is detected in the querystring, I "auto login" the client and open the "Dashboard" for the order page for that customer.

Can anyone point me in the right direction as to how to send the link and how to parse the querystring to get the values from the link;

Thank you if you can point me in the right direction.

Security negotiation failed because the remote party did not send back a reply in a timely manner. T



Dear All i have created one simple service

like this

namespace WcfService2
        public class Service1 : IService1
        public string ShowEmpName(string strFirstName, string strLastName)
            return strFirstName + strLastName;

after executing in .net command promt i got 2 files

service.cs & output.config

after that i create one class file like this

namespace WcfService2
    public class clientcs

        static void Main(string[] args)
            Service1Client client = new Service1Client();
            string strResult = client.ShowEmpName("Pradeep", "Deokar");

Send SMS

Hi All,
I want to send SMS from my application i have tried alot but i don't fine any solution.Please help me out i really need this.I don't want to use any third party webservice or any third party tool like simplewire,i want to create my own web service,I don't expect any code from anybody but i will be very thankful if anybody share the logic behind this.I am working as vb.net developer but i haven't use mobile toolkit.Kindly give me the direction where i could start.
Please reply,i really need this.
Thanx in advance,

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