I am using Visual Basic 2005 to populate a gridview from an SQL 2000 database. My query usually takes around 2 minutes to return the data, but every time I try to load the data into the gridview I get a timeout error. I have found a Microsoft Knowledge Base article ( that shows how to change the timeout period in the connection string, but it seems that it does not work in ASP.NET 2.0. I am getting the error "Unrecognized attribute 'sqlCommandTimeout'"
How can I set the timeout on this page so that I don't get an error.
Thanks,
Michael
How can I set the timeout on this page so that I don't get an error.
Thanks,
Michael