Questions tagged [timeoutexception]

TimeoutException is thrown when the time allotted for a process or operation has expired.

TimeoutException is thrown when the time allotted for a process or operation has expired.

427 questions
2
votes
4 answers

Using WCF and NetNamedPipeBinding for IPC

I'm trying to learn WCF to use it as an IPC mechanism for a host/plugin system. The host needs to be able to call the plugin to Start/Stop it, and the plugin needs to call the server back to perform logging. I made a simple test case where the host…
Badaro
  • 3,460
  • 1
  • 19
  • 18
2
votes
2 answers

Why do I get a timeout when uploading files larger than 100KB?

I have a web site on IIS7. I can upload a maximum of 100KB, but if I try any files larger than 100K then I get a timeout error. I have added following setting to my web.config file but I am getting the same error:
onder
  • 795
  • 3
  • 14
  • 32
2
votes
0 answers

java.util.concurrent.TimeoutException : timed out after 10 seconds

There is lot of questions on the site similar to my question. but none of them provides exact solution to problem. I am developing one application which have huge amount of imageviews in one activity and I am drawing lines using canvas. in onDestroy…
Prashant
  • 1,593
  • 1
  • 17
  • 32
2
votes
0 answers

Timeout Error when publish the (Web API) Webservice

I have a webservice written in Web API ,it uses some very large tables . When I run it locally, through the code, it's Fine .But when I publish,and put it to the webserver , it (SOMETIMES) returns Error, most of the times, Timeout Error . I set…
Sara N
  • 1,079
  • 5
  • 17
  • 45
2
votes
0 answers

504 Gateway Timeout during AJAX POST call

I am trying to invoke the back-end controller with below POST ajax call $http({ url: 'WS/datagen/' + userID + '/' + rows+'/'+validatePrimaryKey, method: "POST", timeout: 300000, data: $scope.cnentity }).then(function(response) { // success …
2
votes
0 answers

java.util.concurrent.TimeoutException at org.apache.commons.fileupload.FileUploadBase.parseRequest

I developed a web project with Java EE technology that has a module upload images and files. I am using the library commons-fileupload-1.2.2.jar. For several days the system works properly, but at a particular time jumps an error, like…
2
votes
1 answer

Will return keyword inside using statement, leave the connection open?

We are getting Timeout expired exception on SqlConnection.Open(). Below is the code : public int ExecuteNonQuery(SqlParameter[] param, string strSPName) { using (SqlConnection conn = new SqlConnection(_connStr)) { int i = 0; …
2
votes
1 answer

Python Selenium CSS Selector by Span get_attribute

I have already accessed a webpage, populated text boxes and drop downs with required parameters, and submitted (button click) this information so the webpage can perform a calculation. I am trying to access the results (value of text). Results…
April
  • 89
  • 7
2
votes
1 answer

SQL Server "The wait operation timed out" when inserting records on remote server, but not locally

There is a weird problem with a deployed Windows application that uses a remote connection string to SQL Server 2012. When inserting records, the SQL Server times out after a relatively short time saying "The wait operation timed out". I'm not able…
John
  • 3,591
  • 8
  • 44
  • 72
2
votes
1 answer

Redis ServiceStack TimeoutException C# Asp.Net

When using ServiceStack.Redis, TimeoutException is thrown since all the pools are being used. How to resolve the timeout exception.
Navaneeth
  • 447
  • 3
  • 8
  • 16
2
votes
1 answer

Why timed lock doesn't throw a timeout exception in C++0x?

C++0x allows to lock on a mutex until a given time is reached, and return a boolean stating if the mutex has been locked or not. template bool try_lock_until(const chrono::time_point
Vicente Botet Escriba
  • 4,305
  • 1
  • 25
  • 39
2
votes
1 answer

How do you Handle a TimeoutException when calling WebServices using the SoapClient in Silverlight?

How do you handle a TimeoutException that is generated when calling WebServices using the SoapClient? There doesn't seem to be any event to be handled in order to catch any Exceptions generated when calling web services. Is it possible to catch any…
Chris Pietschmann
  • 29,502
  • 35
  • 121
  • 166
2
votes
2 answers

TimeoutException during setting cache in StackExchange.Redis

I am trying to set key-value pairs in Azure Redis cache using StackExchange.Redis client in Visual Studio. This is the code I have: ConnectionMultiplexer…
saur
  • 103
  • 1
  • 3
  • 12
2
votes
2 answers

TimoutException occurs over a network but not locally

I have a program with three WCF services and when I run them locally (i.e: Server and Clients are all on localhost) everything works. However when I test them across a network I get a TimoutException on two services but not the other. I've disabled…
Gibsnag
  • 1,087
  • 9
  • 17
2
votes
1 answer

SQL error timeout with transaction

I have an ASP.NET application importing data from a CSV file, and storing it to a (SQL Server) database table. Basically, the import process consists of: Importing the raw CSV data into a corresponding SQL table (with the same columns) "Merging"…
Nova
  • 321
  • 9
  • 20