Page 1 of 1

TMSConnectDialog Database doesnt exist

Posted: Tue 15 Sep 2009 08:34
by siik
Hi,

trying to solve a problem whereby:

The MSconnect dialog auto populates its user/pass/server/database from inifile or registry as soon as the form is created.

When the user has to change the database the dialog is fine.
However when the user changes the server, the user will then try to change the database but an exception is thrown becuase the current database name does not exists on the new server. How can i get around this?

The exception is:

EMSError: cannot open database 'Test' requested by the login. The login failed.

The login information is correct apart from the database string.

Regards

Posted: Tue 15 Sep 2009 13:11
by Dimon
To solve the problem you should clear an old Database value and after this write a new Database name.