Snapshot Creation #126
|
Hi, I am trying to create a snapshot from iModel file. Found Any help would be appreciated. |
Replies: 1 comment
|
The Your error message suggests that the iModel that you are trying to copy has a password or encryption key protecting its contents. The first step would be to confirm whether or not that is true. |
The
createFrom()API takes anIModelDbparameter (an open iModel) instead of a file name to ensure that you have permission to open the file before allowing its contents to be copied. You would just call one of the open methods on the seed file before passing the returnedIModelDbintocreateFrom().Your error message suggests that the iModel that you are trying to copy has a password or encryption key protecting its contents. The first step would be to confirm whether or not that is true.