Jump to content
JasperReports Library 7.0 is now available ×
  • When we import the resources after the migration, we could see the error as 'ERROR ImporterImpl:201 - Import failed as resources cannot be decoded'.


    Prasad B
    • Edited on:
    • Version: v8 Product: JasperReports® Server

    Problem Statement:

    Our user has done the migration from JRS version 7.9 to 8.1.1. The export from JRS 7.9 is completed successfully. When they import it into the new JRS 8.1.1 environment, they get the below error:

    [java] Processing started
    [java] 2023-03-28T19:48:53,649 ERROR ImporterImpl:201 - Import failed as resources cannot be decoded
    [java] Import failed as resources cannot be decoded

    How do I resolve this error?

    Solution:

    This error generally occurs because the  'deprecatedImportExportEncSecret' keyword was not added to the import and export commands.

    Please use the below steps for the migrations:

    1. At the time of export, please run the below command in the buildomatic of JRS 7.9.1:

        js-export.bat --everything --output-zip export111.zip --keyalias deprecatedImportExportEncSecret --> where export111.zip is the name of the zip file that will be generated after the export operation.

    2. At the time of import, please run the below command in the buildomatic of JRS 8.1.1:

       js-import.bat --input-zip export111.zip --keyalias deprecatedImportExportEncSecret    ---> This same file would be used at the time of import into JRS 8.1.1.

     

    Ref Case: #02174474

    • Like 1

    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...