常见问题
联系我们

联系地址:江西省南昌市青山湖区北京东路59号南昌工程学院大学科技园B座405
联系电话:0791-88332150
邮箱:1147488985@qq.com

扫描保存文件失败

保存不了文件有如下几种情况,可以逐一排查:

  • 1.磁盘空间已满。解决方案:释放出可用空间

  • 2.读取的文件格式不支持。解决方案:采用软件直接扫描

  • 3.压缩组件调用失败。可以看下错误日志,错误日志报如下问题:

    System.IO.Compression.ZLibException: The underlying compression routine could not be loaded correctly.

     ---> System.BadImageFormatException: 试图加载格式不正确的程序。 (0x8007000B)

       at Interop.zlib.DeflateInit2_(ZStream& stream, CompressionLevel level, CompressionMethod method, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)

       at System.IO.Compression.ZLibNative.ZLibStreamHandle.DeflateInit2_(CompressionLevel level, Int32 windowBits, Int32 memLevel, CompressionStrategy strategy)

       at System.IO.Compression.Deflater..ctor(CompressionLevel compressionLevel, Int32 windowBits)

       --- End of inner exception stack trace ---

       at System.IO.Compression.Deflater..ctor(CompressionLevel compressionLevel, Int32 windowBits)

       at System.IO.Compression.DeflateStream.InitializeDeflater(Stream stream, Boolean leaveOpen, Int32 windowBits, CompressionLevel compressionLevel)

       at System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionLevel compressionLevel, Boolean leaveOpen)

    ......

    解决方案:这是由于缺少压缩组件导致,点击这里下载文件放到安装目录下即可

上一篇:如何打开条码打印服务

下一篇:无