CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 .CommandTimeout

Print topic Send  topic

Author Message
Vasiliy

Posts: 378
Posted: 06/06/2007, 2:26 PM

Does anybody know how to set "CommandTimeout" property within CCS project?
_________________
Vasiliy
View profile  Send private message
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.
View profile  Send private message
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
View profile  Send private message
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-->
View profile  Send private message
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
View profile  Send private message
andrefogelman

Posts: 117
Posted: 06/21/2007, 4:21 PM

Isn't this a database specific topic?
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.