×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

MSSQL cannot reconnect after Network disconnection, ERRORCODE 90

MSSQL cannot reconnect after Network disconnection, ERRORCODE 90

MSSQL cannot reconnect after Network disconnection, ERRORCODE 90

(OP)
Hi

I have the following issue. When the computer disconnects from the network long enough(around 30 seconds or so) and it gains again connection to the network, for some reason the program cannot reconnect to the database, only if I close the program and open it again.

When I try to do a Share(file) or Open(file, filemode), I get the following error

Errorcode = 90
ERROR = File System Error
ERRORFILE = Data source name not found and no default driver specified
FILEERRORCODE = IM002

Do you know if there is a way to regain connectivity to the database after losing connection for a while?

When I tried to do a Close(file) I get the error that the file is not open.
But if I then try to open the file, I get the following error:
"invalid connection string attribute"

But I check the string connection and it's the same as when the program starts, so it should reconnect. If I close and open the program it reconnects just fine, but I need to find a solution that does not involve closing and opening the app.

Thanks a lot for your help.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close