CommandTimeOut Error : ASP.net 2.0 DataSource controls and MySQL
Posted: Tue 28 Nov 2006 22:09
I am running MySQL Server 5.0 along with ASP.Net 2.0 with VS 2005.
I am getting a timeout error when reaching 30 seconds between mysql and the datasource control.
I have defined the control in my aspx page like so...
"
datasourcemode="DataSet"
providerName="CoreLab.MySql" />
In my webconfig file my connectionstring is like this:
In my vb.net code behind..I populate the datasource control with a string like so:
DataSource.SelectCommand = "queryString"
The mysql query takes about 70 seconds from mysql to run....asp.net timesout at 30..which I believe is the defaul for the command timeout..
I cannot figure out how to change the command timeout...
I am still running my trial version..
Please help.
I am getting a timeout error when reaching 30 seconds between mysql and the datasource control.
I have defined the control in my aspx page like so...
"
datasourcemode="DataSet"
providerName="CoreLab.MySql" />
In my webconfig file my connectionstring is like this:
In my vb.net code behind..I populate the datasource control with a string like so:
DataSource.SelectCommand = "queryString"
The mysql query takes about 70 seconds from mysql to run....asp.net timesout at 30..which I believe is the defaul for the command timeout..
I cannot figure out how to change the command timeout...
I am still running my trial version..
Please help.