Home > database >  PB cannot connect ASA database
PB cannot connect ASA database

Time:10-01

The situation is like this:
My computer database, pb, logs are sent to the students, she used asadbcracker. Exe clear the log, and then build the odbc data source,
But can't connect to the database in test connection is found, an error is:
"... Specified database is invalid "
This is how to return a responsibility?
In another classmate there also not line,
Very hope to have a master can analyze in detail, because I do not understand the pb
Thank you very much!

CodePudding user response:

You don't quite have a PB words hard to say.

Tell your friends, and the path of library must be exactly the same as you want in the path of the native.

CodePudding user response:

The log has been cleared, path should have no problem,
We also pass the database before, also will be a problem, and don't know how, again,

CodePudding user response:

When creating ASA database does not create the LOG file, if you have already created the LOG file you can use PB's own tools Sybase central to get rid of the LOG file and database connection, operation steps are as follows:
1) start the Sybase central in the left tree directory choose Utilities;
2) double click on the right side of the entries in the change log file Settings, directly to the next;
Browse to select 3) point need to remove the log file of the database file, choose the right after the next;
4) here you will see some information database, the log file name, file size and so on, the next;
5) remove Maintin the following transaction log file to check in front of (here can also be changed to new directory), Finish;
6) configure the ODBC connection database is ok,

CodePudding user response:

The second method:
Dbeng7 - f - o - a a. d. b

CodePudding user response:

Really thank you very much! Just still won't do,
After my sybase central utilities, click on the inside, on the right side of the treeview cap with a configuration folder, there are helper application, odbc administrator, couldn't find the name change log file Settings,
Other: this change log file Settings I guess is to clear the log, you mean asadbcracker. Exe is not working?

And that the second method is what mean?
Thank you very much!

CodePudding user response:

Really thank you very much! Just still won't do,
After my sybase central utilities, click on the inside, on the right side of the treeview cap with a configuration folder, there are helper application, odbc administrator, couldn't find the name change log file Settings,
Other: this change log file Settings I guess is to clear the log, you mean asadbcracker. Exe is not working?

And that the second method is what mean?
Thank you very much!

CodePudding user response:

If 3/f no, that is to create a data file, the original grammatical repository to export, to create,

CodePudding user response:

Seldom used asa! Don't know, I know in ASA if associated with log files have changed the path name shall not join in,
But 5.5 is good to use, file name can literally change,

CodePudding user response:

2 kind of possibilities,
One is the database file itself has a problem, such as a database file itself damaged, or in use.
By dbengX. Exe (depending on your ASA version with different command), then select the database file, see if we can start the database. After start-up can use DBISQL. Exe connection, operation? If can then is the second problem. This may be the -f parameter in running after, to get rid of the -f parameter start the database again.

Another is where you configure the database is wrong path name.
Check your configuration.

CodePudding user response:

Tell your friends, and the path of library must be exactly the same as you want in the path of the native.

Or cancel the database connection and the path line
  • Related