We are facing a technical issue while crating Recovery databases.
The problem scenario is as follows.
1. User provides transaction log file folder path and edb file path and creates a Recovery database.
2. As a result of creating Recovery database, new log files are generated in log folder.
3. User dismounts and removes the recovery database from exchange.
4. User again provides the same transaction log file folder path and edb file path to create a Recovery database.
5. Recovery db creation fails with the following error
"The location that you specified for the transaction log files is invalid. Verify that the directory exists and that there are no files in it."
6. User deleted the log files generated in step 2 but keeps original log files as it is.
7. User tries to create recovery database as in step 4. This time creation is successful.
We modify the exception generated in Step 5 for the time being, to a user friendly message "Please cleanup the log file folder and restore the
log files from backup to the log file folder".
We are trying to find a suitable fix for this.
sumit naik(mail at sumit@booleanarray.com)