4.6识别客户端保存文件失败

    点击量:42发布时间:2024/9/25 15:07:20

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

    • 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)

      ......

    • 解决:请重新安装识别客户端