Offset to Central Directory cannot be held in an Int64 .net core

不羁岁月 提交于 2019-12-25 02:46:10

问题


I am getting "Offset to Central Directory cannot be held in an Int64" exception while using ZipArchive in .NET CORE. 

NOTE: I am not getting it in my developement machine (Windows 7), but getting it in production server. (Windows Server 2016). Please help. 

Thanks,

Kannan. 


回答1:


This is because Aws API Gateway. Sorry for not mentioning it. If i skip API Gateway and hit my endpoint through the load balancer i can send the zip files without any issues.



来源:https://stackoverflow.com/questions/52555736/offset-to-central-directory-cannot-be-held-in-an-int64-net-core

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!