2025/11/26 11:18:56 PreviewPicture url:C:/ERP/OMS/tempupload/image/pictureinproductdesc/1297185/3c9d42f9-fc78-42e1-a336-4b81e8bc20c8.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:行号 3316 2025/11/26 11:37:41 PreviewPicture imgurl:C:/ERP/OMS/tempupload/image/workorderattachment/COS20251124104640B3A3/20251126111754043.png不存在 2025/11/26 11:54:37 PreviewPicture imgurl:C:/ERP/OMS/tempupload/image/workorderattachment/COS20251124104640B3A3/20251126111754043.png不存在 2025/11/26 18:31:28 PreviewPicture url:C:/ERP/OMS/tempupload/attachment/workorderattachment/COS20251125170110DB7A/20251126183128175.jpeg,获取异常:System.IO.FileNotFoundException: 未能找到文件“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS20251125170110DB7A\20251126183128175.jpeg”。 文件名:“C:\ERP\OMS\tempupload\attachment\workorderattachment\COS20251125170110DB7A\20251126183128175.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