|
| Reduce the constraints. | | 0 | | | | | | | | Forum Newbie
       
Group: Forum Members Last Login: 9/26/2008 9:11:24 AM Posts: 2, Visits: 11 |
| | Dear All I have got a project which built with vb.net 2005.I face timeout expire problem when I fill datatable adapter .That table adapter is connected to SQL Server 2000 and it was constructed with three data table from database .So please help me to solve that problem. Thanks in advance
Thanks
|
| | | | 
Forum God
       
Group: Forum Members Last Login: Yesterday @ 3:21:14 PM Posts: 845, Visits: 5,124 |
| Are you using Vista? If so start vb by right clicking on the program and select "Run as Administrator". I just started learning db and found this solved most of the problem I had.
WayneI know enough to be dangerious. It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 9/26/2008 9:11:24 AM Posts: 2, Visits: 11 |
| | Dear Wayne, I use WindowXP service part 2.I have tried to set timeout second and also reduced number of rows.But I got only Timeout expire error.
Thanks
|
| | | | 
Forum God
       
Group: Forum Members Last Login: Yesterday @ 4:36:16 PM Posts: 1,463, Visits: 3,400 |
| Welcome to A1vbcode ciomike.  How come this is a poll topic with only one option to select? 
Keith http://www.martin2k.co.uk/forums/ I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
| | | | Junior Member
       
Group: Forum Members Last Login: 11/10/2008 10:28:14 AM Posts: 13, Visits: 10 |
| I would recommend running the query in your normal querying tool (sql management studio, enterprise manager, phppgadmin, etc..) to see how long it takes when run there
then make sure your timeout on your data adapter is at least as high as that.
Vb.net 2005, Teradata, Sql Server 2005, mainframe automation |
| |
|
|