I am currently using Subsonic 2.1 and I am receiving an error message when I attempt to use Subsonic to pull back large amounts of data (@ 140,000 records) from an sql database table. Is there an configuration setting that I need to change in order to allocated more memory for my application to complete the task?
...
This is not a connection timeout as a connection to the database is made fine. The problem is that the stored procedure that I'm calling takes longer than, say, 30 seconds and causes a timeout.
The code of the function looks something like this:
SqlDatabase db = new SqlDatabase(connectionManager.SqlConnection.ConnectionString);
return...
I'm trying to contact a REST API using ActiveResource on Rails 2.3.2.
I'm attempting to use the timeout functionality so that if the resource I'm contacting is down I can fail quickly - I'm doing this with the following:
class WorkspaceResource < ActiveResource::Base
self.timeout = 5
self.site = "http://mysite.com/restAPI"
end
Ho...
Is there a way to tell a WCF service to response to a request (with or without aborting it's processing) after a certain amount of time, even if it didn't finish yet, something like a server-side timeout policy?
...
I have a machine running a java app talking to a mysql instance running on the same instance. the app
uses jdbc4 drivers from mysql. I keep getting com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
at random times.
Here is the whole message.
Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.ex...
We have some code running in a background thread which needs to pop a dialog or some other user interaction, so we do the usual Invoke call on to the UI thread:
Control.Invoke(SomeFunction);
void SomeFunction()
{
...
}
But, we came across a bug, our UI thread is sometimes not immediately responding to the Invoke call - we tracked i...
I decided to use DBCP mainly because I was getting timeouts on my database connections. In theory, once you define a "validation query", DBCP will by default run that query on the connection before using it, so you always know the connection is OK.
I set it up two weeks ago and it seemed to work. However, last night I got a timeout exce...
I have deployed my windows service (using independently installer class and SC.EXE), but I get an error when I try to start it:
---------------------------
Services
---------------------------
Could not start the MyName service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fash...
Is there any way to build some time counter that enable parts of a script to run as long it ticks? For example, I have the following code:
for my $i (0 .. $QUOTA-1) {
build_dyna_file($i);
comp_simu_exe;
bin2txt2errormap($i);
}
Theoretically I want to run this loop for 3 minutes, even if the loop instructions haven't finish...
I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the uploader's slow connection -- but the server times out anyway.
I hear that there are methods to upload files in chunks so that somehow the server decides no...
Hello
I have a ASP site (with VBScript) that connects to a SQL 2005 database.
I would like to be able to catch the timeout expired error, through the err object, but I cannot manage to find any documentation that tells me the err.number for timeout expired.
Can you help me with this one?
...
In Python, I have a program snippet similar to the following that has the effect of running a custom command and returning the stdout data (or raise exception when exit code is non-zero):
proc = subprocess.Popen(
cmd,
# keep stderr separate; or merge it with stdout (default).
stderr=(subprocess.PIPE if ignore_stderr else sub...
Hi there.
I'm using v.s 2008 with c#.
I have a .xsd file and it has a table adapter. I want to change table adapter's command time. out.
Thanks for your helps..
...
I am writing an on line chat room based on AJAX/COMET. My design is:
Request
----------------- wait -------------------------> send dump data
----------------- wait -------------------------> send dump data
----------------- wait -------------------------> send dump data
----------------- wait -------------------------> send dump d...
We have a rather restrictive architecture where we have a portal-like Seam application which launches further 'child' Seam applications inside an iFrame.
We have a problem where the portal application's HTTP session times out even though the 'child' applications are still being used. We need to keep the HTTP session timeouts to keep th...
I'm having a problem with a transaction in linq-to-sql timing out after 30 seconds.
Setting the CommandTimeout property on the DataContext does not seem to change the timeout.
The error message I get is:
"Timeout Expired. The timeout period elapsed prior to the completion of the operation or the server is not responding"
Queries that...
In Internet Explorer 7, you can select options from comboboxes by typing the first few letters of the value you're looking for. However, some people in our organisation are a bit slow and can't type their selection quick enough, with the result that the timeout is triggered and the "select as you type" process starts all over again.
Exa...
Hi,
While generating reports we take page can not be displayed error message. There is no problem with the query, it works but it is a time consuming query. We changed the values im web config like execution timeout. But it does not help.
And I am not sure about how can I search it?
I think it is execution timeout but I see things lik...
I have a WCF service hosted in IIS7 (the service and client configuration is at the end of this post). I have run across an odd scenario that I was hoping someone might have some ideas about how to attack it and find a solution.
The service only exposes one contract, 'ProcessMessage'. I can send/receive synchronous messages from the se...
Hi all!
I'm writing an MSN client in PHP. This is my code for so far:
$socket = fsockopen("messenger.hotmail.com", 1863);
echo '<b>Connected to 1st server.</b><br />';
//Send MSNP version
fputs($socket, "VER 0 MSNP10 CVR0\r\n");
echo fread($socket, 5000) . '<br />';
//Send user-agent
fputs($socket, "CVR 1 0x0409 php ".phpversion()." i3...