I have a custom VB.net application that runs a query against an SQL
server that takes more than 3 minutes. Right now after 3 minutes it
times out. So far after doing my research I have changed the following:
in web.config:
<system.web>
<httpRuntime executionTimeou t="1000" maxRequestLengt h="2000000"/>
<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="600"/>
In the page itself:
Me.SqlConnectio n1.ConnectionSt ring = "workstatio n id=OBANG;packet
size=4096;user id=sa;data source=OBANG;pe rsist securi" & _
"ty info=False;init ial catalog=YZA; Connect Timeout=600 "
Me.SqlSelectCom mand1.CommandTi meout = 600
The page still times out after 3 min. Is there anything that I am
missing?
Thanks in advance.
server that takes more than 3 minutes. Right now after 3 minutes it
times out. So far after doing my research I have changed the following:
in web.config:
<system.web>
<httpRuntime executionTimeou t="1000" maxRequestLengt h="2000000"/>
<sessionState
mode="InProc"
stateConnection String="tcpip=1 27.0.0.1:42424"
sqlConnectionSt ring="data
source=127.0.0. 1;Trusted_Conne ction=yes"
cookieless="fal se"
timeout="600"/>
In the page itself:
Me.SqlConnectio n1.ConnectionSt ring = "workstatio n id=OBANG;packet
size=4096;user id=sa;data source=OBANG;pe rsist securi" & _
"ty info=False;init ial catalog=YZA; Connect Timeout=600 "
Me.SqlSelectCom mand1.CommandTi meout = 600
The page still times out after 3 min. Is there anything that I am
missing?
Thanks in advance.
Comment