sqlclient

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

Hi there, we've had a ASP.NET web application deployed for a number of years now.... last week we migrated to a slightly slower server to save some money. Now we're frequently getting command timeouts: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding This is understandable...

sqlclient - connection timeout or command timeout

Hi folks, I get the following error upon running a query. * System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) * Is this a connection timeo...

Looking for a free SQL client

I tried HeidiSQL but I keep getting errors for some reason. ...

Why does this code cause an error?

I have been looking for hours on how to connect to my local SQL database. I can't believe its been this difficult. Anyway, i think I am more on the right track with this code. <% Dim myConnection as System.Data.SqlClient.SqlConnection Dim myCommand as System.Data.SqlClient.SqlCommand myConnection = New System.Data.SqlClient...

How to view the last ran sql query from SqlClient data provider on Sql server 2000 ?

Although I have been able to see the last ran query which is a Stored Procedure executed but I didn't get the parameters values with which the SP was invoked. Rather I got the following: StoredProcedureName;1 from the following command: DBCC INPUTBUFFER(SPID) Where I got the SPID by viewing it in the ObjectExplorer->Management->Act...

How long should the connectionString timeout be in ASP.NET applications? (sqlclient)

In my ASP.NET application, I have a sqlclient connectionstring in my web.config file, What is the recommended timeout setting for production environment? Default is 15 seconds. My web farm and database cluster are on the same switch, so there should not be much latency. ...

best sql client for linux *box window manager

I am using ARCH Linux and Awesome3 WM. I am looking for a good sql client for multi database include mysql postgre oracal. Squirrel sql seems good, but I got a blank window after launch it. Any solution for this problem or there is another better client for me? ...

SqlException: Timeout Expired

I have a process where two threads are continuously executing sql queries on the same tables. Is there any chance that one of these two threads gets Timeout error? If so, what is the best practice to avoid this? I am getting following error and resulting is process crash. Timeout expired. The timeout period elapsed prior to completion...