Hi,
In a production site, running 9.13.8, in Monitor Event Viewer we get the following report:
- LogAction: Unhandled
- LogDescription: Parameter is not valid.
- LogUsername: System
- LogDate: 2024-05-10 13:23:17.280
- LogFilePath: /EventViewer/2a14d4bd-8efb-48e9-a0f2-4df55eacff53
- Url: /Admin/Public/GetImage.ashx?Width=1920&Height=845&Crop=0&DoNotUpscale=True&FillCanvas=False&Image=%2fFiles%2fFiles%2fDW-DEMO_2020-11-09_175815-DefaultEndpoint.zip&AlternativeImage=%2fFiles%2fImages%2fmissing_image.jpg
Getting to the log file itself doesn't provide me with a lot of info either
2024-05-10 13:23:17.279: Parameter is not valid.. System.ArgumentException: Parameter is not valid. at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData) at Dynamicweb.Imaging.Providers.ImageGlueProviders.ImageGlueImageSizeProvider.GetSizeFromStream(Stream stream, String extension) at Dynamicweb.Imaging.Providers.ImageGlueProviders.ImageGlueImageSizeProvider.GetSizeFromFileInternal(String filePath) at Dynamicweb.Imaging.Providers.ImageGlueProviders.ImageGlueImageSizeProvider.GetSizeFromFile(String filePath) at Dynamicweb.Imaging.Image.GetDimensions(String filePath) at Dynamicweb.Admin.ProcessImageHandler.GetParameters() at Dynamicweb.Admin.ProcessImageHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2024-05-10 13:23:17.279: Request headers: [ "Connection", "Accept", "Accept-Encoding", "Accept-Language", "Cookie", "Host", "Referer", "User-Agent", "sec-ch-ua", "sec-ch-ua-mobile", "sec-ch-ua-platform", "sec-fetch-site", "sec-fetch-mode", "sec-fetch-dest", "priority" ]
2024-05-10 13:23:17.279: Request item keys: [ "ExecutionTableMapper", "Dynamicweb.Environment.Web", "owin.Environment", "AspSessionIDManagerInitializeRequestCalled" ]
2024-05-10 13:23:17.279: Request form: []
I'm trying to find anything that points me to where this is happening OR if it's fixed in a newer version:
- I've checked Bug Fixes for 9.13 and above for terms related to "Image" and "Monitoring"
- I've looked into EcomProducts and EcomDetails tables that could be wrongly referencing that Zip file (although very unlikely) - no results
- If I were to guess it would be from backend users having a thumbnail view of files in the backend - but I can't be sure
It keeps happening/getting reported in Event Viewer
Does anyone have any clue or information on what my next steps could be?
Best Regards,
Nuno Aguiar