2025/9/2 11:17:50 PreviewPicture url:https://gkb-erp-files.obs.cn-south-1.myhuaweicloud.com/oms/workorderattachment/cos202507171802205673/20250717180222297.jpeg,获取异常:System.ArgumentException: 参数无效。 在 System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) 在 System.Drawing.Image.FromStream(Stream stream) 在 Vayava.Erp.Bll.ProductHandleManager.PreviewPicture(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3330 2025/9/2 11:18:24 PreviewPicture url:https://gkb-erp-files.obs.cn-south-1.myhuaweicloud.com/oms/workorderattachment/cos202507171802205673/20250717180222297.jpeg,获取异常:System.ArgumentException: 参数无效。 在 System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) 在 System.Drawing.Image.FromStream(Stream stream) 在 Vayava.Erp.Bll.ProductHandleManager.PreviewPicture(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3330 2025/9/2 11:48:41 PreviewPicture imgurl:C:/ERP/OMS/tempupload/image/workorderattachment/COS2025081812004282C9/20250819171934231.jpg不存在 2025/9/2 12:07:28 PreviewPicture imgurl:C:/ERP/OMS/tempupload/image/workorderattachment/COS202508191143033E13/20250822133927084.png不存在 2025/9/2 14:09:40 PreviewPicture url:C:/ERP/OMS/tempupload/image/productpicture/1295482/557518ec-69ef-4d62-a670-93e6258ec90f.jpg,获取异常:System.NotSupportedException: 不支持给定路径的格式。 在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath) 在 System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath) 在 System.IO.Path.GetFullPath(String path) 在 System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName) 在 System.Drawing.IntSecurity.DemandReadFileIO(String fileName) 在 System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) 在 System.Drawing.Image.FromFile(String filename) 在 Vayava.Erp.Bll.ProductHandleManager.ReadImage(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3310 2025/9/2 16:43:45 PreviewPicture url:C:/ERP/OMS/tempupload/attachment/workorderattachment/COS202509021642578E51/20250902164345716.jpeg,获取异常:System.IO.FileNotFoundException: 未能找到文件“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS202509021642578E51\20250902164345716.jpeg”。 文件名:“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS202509021642578E51\20250902164345716.jpeg” 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) 在 System.IO.File.ReadAllBytes(String path) 在 Vayava.Erp.Bll.ProductHandleManager.GetBytesFromPath(String path) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3395 在 Vayava.Erp.Bll.ProductHandleManager.ReadFile(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3260 2025/9/2 19:58:05 PreviewPicture url:C:/ERP/OMS/tempupload/attachment/workorderattachment/COS20250815103653E0D7/20250902195804837.PDF,获取异常:System.IO.FileNotFoundException: 未能找到文件“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS20250815103653E0D7\20250902195804837.PDF”。 文件名:“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS20250815103653E0D7\20250902195804837.PDF” 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.File.InternalReadAllBytes(String path, Boolean checkHost) 在 System.IO.File.ReadAllBytes(String path) 在 Vayava.Erp.Bll.ProductHandleManager.GetBytesFromPath(String path) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3395 在 Vayava.Erp.Bll.ProductHandleManager.ReadFile(String relativePath) 位置 E:\Jenkins\.jenkins\workspace\OMS_Master_WebSite\src\Core\ERP\ERP.Service.DataAccess\Vayava.Erp.Bll\System\ProductHandleManager.cs:行号 3260