Vasiliy
Posts: 378
|
Posted: 06/06/2007, 2:26 PM |
|
Does anybody know how to set "CommandTimeout" property within CCS project?
_________________
Vasiliy |
|
|
MatsBjerin
Posts: 1
|
Posted: 06/07/2007, 8:14 AM |
|
I asked the same question and entered it as a new support case today.
As soon as I get an answer from YesSoftware I'll post it here.
They were very quick and helpful on my last issue so I should think we will get a fast reply this time too.
So far, all I have found out "by myself" is that it should be possible to manually enter a CommandTimeout value in the code portion of the project for the SQL object used when performing the select statements. Naturally it would be better to be able to define this as a project settings value and I am hopeful there is some configuration option I have missed that will do just this.
Best regards,
Mats B.
|
|
|
Vasiliy
Posts: 378
|
Posted: 06/07/2007, 9:52 AM |
|
Thank you Mats.
I also solved the problem by adding code manually, but it is not nice solution because it stops the automated code re-generation.
_________________
Vasiliy |
|
|
andrefogelman
Posts: 117
|
Posted: 06/20/2007, 2:41 PM |
|
I changed my timeout setting adding entries in the web.config file.
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization
requestEncoding="windows-1252"
responseEncoding="windows-1252"
fileEncoding="windows-1252"
/>
<sessionState
mode="InProc"
cookieless="false"
timeout="5000"
/>
<httpRuntime executionTimeout="360000" />
</system.web>
</configuration>
<!--End WebConfig system.web-->
|
|
|
Vasiliy
Posts: 378
|
Posted: 06/21/2007, 6:17 AM |
|
Thank you, Andre,
I already have <httpRuntime executionTimeout="360000" />, but I'm talking about SQL timeout, not HTTP.
_________________
Vasiliy |
|
|
andrefogelman
Posts: 117
|
Posted: 06/21/2007, 4:21 PM |
|
Isn't this a database specific topic?
|
|
|
Vasiliy
Posts: 378
|
Posted: 06/22/2007, 6:44 PM |
|
No, this is a HTTP request timeout.
This timeout controls how long web-server will wait for HTTP response before timeout.
You can request static page from a web-server (w/o accessing DB), and this is a HTTP request.
_________________
Vasiliy |
|
|
andrefogelman
Posts: 117
|
Posted: 06/24/2007, 7:19 AM |
|
well I am confused.
I had a similar problem that the page would time out waiting for the server to build the html with the proper grid from the databse and I solved it by increasing in the web.config the <httpRuntime executionTimeout="360000">
Andre
|
|
|