Report is time out
-
I am using vb.net,Crystal and Sql. Some Time My Reports Timeout, but Same Report execute. What to do?
-
I am using vb.net,Crystal and Sql. Some Time My Reports Timeout, but Same Report execute. What to do?
Fix your query so the report doesn't time out.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Fix your query so the report doesn't time out.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
What do you mean "fix query"? and How to do It.
-
What do you mean "fix query"? and How to do It.
Change the query so that it runs more efficiently, or add or change indexes on the tables. Seriously, how do you expect anyone here to be able to tell you what to do? We can't see you query or your data, and we can't access your database. What you've done is the equivalent of phoning a random garage, saying "My car's making a funny noise", and then hanging up and waiting for them to fix it.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
What do you mean "fix query"? and How to do It.
Dear Richard, thank you for you advise My Software is Running in a hospital with one Server and 25 Client. The query execute with in SQL In Less then 3 Second. while executing in .net some time it Time Out. I Want to Know What are the other reason of Query timeout. with regard
-
Dear Richard, thank you for you advise My Software is Running in a hospital with one Server and 25 Client. The query execute with in SQL In Less then 3 Second. while executing in .net some time it Time Out. I Want to Know What are the other reason of Query timeout. with regard
You need to reply to the right message - I had no idea you'd posted this reply! :doh: There are lots of reasons why a query that runs fast in SQL Server Management Studio can be slow in .NET: Slow in the Application, Fast in SSMS?[^] The most common reason I've seen is the
ARITHABORT
setting - it'sON
by default in SSMS, butOFF
by default in .NET connections. AddingSET ARITHABORT ON
to the start of your stored procedure often helps.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer