02-08-2024 10:05 AM
Hi!
I'm using CPS 5.8 and I wanted to open a HMI view which contains an HtmlView. As soon as it loads, CPS shows an error (please see attachment) that I'm missing the WebViewLoader2.dll file. I've tried to reinstall CPS, also reinstalled Microsoft Edge, separately reinstalled Microsoft WebView 2. Also tried to install it with Evergreen, and additionally I got the dll file and copied under System32.
Nothing solved this issue, and my colleagues doesn't have this problem with the same settings and same project.
Could you please give me some advice?
Thank you in advance! 😊
Solved! Go to Solution.
02-08-2024 10:36 AM
I had similar issues with different kind of views. I simpy reinstalled the windows due another problem, and after that it was working.
Maybe reinstalling/updating the .NET framework and clean installing TwinCat can also solve this.
02-08-2024 01:05 PM
This dll is located in Std\Hmi_V5_x\runtimes\win-x86\native. The message does not necessarily mean that the dll was not found but it also occurs if there was a problem while loading it, like a missing dependency. We have also experienced this error (or at least a similar one) when files had a zone identifier marking them as downloaded from an untrustworthy source. This happened e.g. when downloading the Std from a Sharepoint. See my answer in this thread: RuntimeApp error (bosch.com)
02-08-2024 02:55 PM
Thank you for your reply.
02-08-2024 03:04 PM
Thank you for your reply. Actually I have found the dll file in the folder you mentioned earlier. The strange thing is that one of my colleagues and me have downloaded the project from the same cloud storage, and it's working on his computer just fine.
I have read the thread you linked, and I haven't deployed this project to the machine yet.
(In addition, I don't know if this correlates or not, but I also cannot open the documentations(.chm) from the projects.)