Cannot connect to the database after the computer disk was replaced
说明
Cannot connect to the database after the computer disk was replaced. It is possible to connect to the database with other tools and from other computers. To reinstall Toad or catalog the database manually does not help. The error Toad shows is "ERROR - no error information available". The error in the db2diag.log is :
"FUNCTION: DB2 Common, Cryptography, cryptDynamicLoadGSKitCrypto, probe:998 MESSAGE : ECF=0x9000002F=-1879048145=ECF_FILE_DEVICE_UNAVAILABLE The device is unavailable or uncapable of serving the request DATA #1 : unsigned integer, 4 bytes" The old disk label was E:. Now E is the CD driver.
原因
Toad reads the Environment variable PATH to look for the client and there was a reference to the old E drive there
解决办法
RESOLUTION
The Environment variable PATH had one reference to the old E:\ drive. After removing this reference , it was possible to connect to the database again.