Skip to content

The archive entry was compressed using an unsupported compression method. #101689

Open
@ssreerama

Description

@ssreerama

Description

One of our customers are facing this issue continuously when exporting the package from LINUX operating system and trying to import it to Windows OS machine. But the same package is working fine when they are importing in LINUX machine.

stacktrace:
---> System.AggregateException: One or more errors occurred. (One or more errors occurred. (The archive entry was compressed using an unsupported compression method.))
---> System.AggregateException: One or more errors occurred. (The archive entry was compressed using an unsupported compression method.)
---> System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.
at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)

Reproduction Steps

This issue arises when exporting the database using SqlPackage CORE version, Sqlpackage uses the system.IO.Packaging dll for generating the compressed bacpac version files. And only happening when involving in LINUX to Windows importing process.

Expected behavior

It should import the bacpac with out any errors, other than the sqlpackage related or unsupported sql objects error.

Actual behavior

The archive entry was compressed using an unsupported compression method.

Regression?

No response

Known Workarounds

Suggested to use the NET Framework MSI version, but for this customer has to change their machine from LINUX to Windows and they are not accepting this workaround.

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions