|
-
Oct 6th, 2000, 12:25 PM
#1
Thread Starter
Member
Dear All,
I would like to ask you about my VB application Error, related with SQL Server Database.
I've create a module to drop and then create view. And then, when I run my module, suddenly happened to my application. An error occured....
The error said :
Run-Time error '-2147217871 (80040e31)':
[Microsoft][ODBC SQL Server Driver]TimeOut expired
Could you guys explain how to fix it and why ??? Coz, I can't run my module at all....
Thx in reply, nd I need it ASAP
Regards,
Long
-
Oct 6th, 2000, 12:30 PM
#2
Fanatic Member
Is your SQL server running? Do you have the correct server name? Are you in the same domain as your server?
-
Oct 6th, 2000, 12:40 PM
#3
Thread Starter
Member

Well... for your information...
my SQL Server always run 24 hours a day (non-stop)...
and
I've put the correct Server Name...
and
I'm in the same domain with my SQL Server Database...
so ???
Regards,
Long
-
Oct 6th, 2000, 02:39 PM
#4
Addicted Member
Hi,
do you LOCK some table that you never close the connection to ?
If you are doing very long queries, there is a property when you connect to your DATABASE to set the timeout time and I think it's 30 seconds for default...try changing it ???
If you are using ODBC there is another time out there in the ODBC configuration...try changing it too ???????
Do you use Begin transactions ?
If so, be sure there are no transactions openned but never rolled or committed...
hope I helped !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|