|
What exactly does Connection Lifetime=0 mean in a connection string?
Started by Quintin Par on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For example, When you use Connection LifeTime: It destroys pooled connections If the time your connection is opened for is larger than....
It means there is no connection time out period.
It means no connection timeout.
|
|
I have a VPN connection to a client site that has been very flakey. I use a wireless connection (home) through which I would ordinarily be connecting to the client's site via the VPN - also set up on my machine.
Problem is, the VPN connection often doesn...
Started by Phil.Wheeler on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Client has tidied something up at their end.
It could be you are losing packets which the issue was a flaky connection at the client's end.
The wireless connections available to your VPN connection.
|
|
Hi All , Have a look to this code snippet:-
-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response { [webData setLength: 0]; } -(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { NSLog(...
Started by socialCircus on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I could be mistaken on this, but I believe that even:
NSURLConnection* connection=[[NSURLConnection alloc] initWithRequest:request....
The proper NSURLConnection delegate?
NSURLConnection* connection=[[NSURLConnection alloc management issue.
|
Ask your Facebook Friends
|
I found this in the Tomcat documentation here
What I don't understand is why they close all the JDBC objects twice - once in the try{} block and once in the finally{} block. Why not just close them once in the finally{} clause?
This is the relevant docs...
Started by Andy Faibishenko on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I normally just close my connection once in the finally block and I haven't found any issues.
|
|
I have a circumstance where a JDBC connection places the Oracle session to which it is attached into a particular state (i.e. DBMS_FLASHBACK enabled mode). It's possible for the exit of this mode to fail (at least theoretically) which means that the session...
Started by Alohci on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It probably....
Be to start with the JBoss failover mechanism, where it tests the validity of the connection in that would fail if the connection is in the DBMS_FLASHBACK enabled mode, that should get JBoss to discard the connection.
|
|
I know that a lot of examples exist where a SqlConnection is defined and then a SqlCommand is defined, both in Using blocks:
using (var conn = new SqlConnection(connString)) { using (var cmd = new SqlCommand()) { cmd.Connection = conn; //open the connection...
Started by Mike on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It does not close the connection, you need to either close it yourself or put it in its.
No, the connection object whenever you can.
No, SqlCommand never attempts to close/dispose of the connection.
|
|
When connecting to a customers hosting service via Sql Server Management Studio on an internet connection that also has other activity on it, the Sql Server connection to the hosting service is often dropped.
An obvious work around to this problem is ...
Started by intermension on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
I believe it sounds like a SQL Server issue indeed, but if you are getting connection timeouts it most likely has nothing to do with bandwidth and everything to do with connection memory the TCP packets are dropping somewhere along the line....
|
|
Hello everyone,
I am using .Net 2.0 + SQL Server 2005 Enterprise + VSTS 2008 + C# + ADO.Net to develop ASP.Net Web application.
My question is, if I am using Trusted_Connection=true with SQL Server authentication mode (not Windows authentication mode,...
Started by George2 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Clients are sending....
SQL Server Authentication mode.
Clients need to be members of a domain.
This will probably have some performance costs when creating the connection but as connections mode (corresponding to a trusted connection).
|
|
In my configuration files I have a connection string used by a legacy part of the app (using Datasets) and another string for Entity Framework:
<connectionStrings> <add name="Database" connectionString="Server=..." /> <add name="Entities...
Started by Paul Stovell on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This is a sample I'm using in my.
I think a better approach would be to refactor the application to use just one connection string the EntityConnectionStringBuilder to build your EF connection from your existing connection string.
|
|
Hi,
I'm using Windows XP Pro. I created a VPN connection with itshidden server (a free account.) In this case my download speed is around 80 KB/s but my Internet connection speed (without a VPN) is around 600 KB/s.
Can I keep the VPN tunnel open (for ...
Started by nextu on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
I've seen some people say all you had to do is add a ROUTE ADD command, but you need the proxy and the regular internet ... .
Lastly, and I believe connection.
You to pick the outbound connection to connect to for routing the traffic.
|