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 03:25 PM
The checkbox I mentioned in the other thread could also be present on the development computer, not only after deploying. Have you checked that?
And about the chm files: That could be exactly the same problem. We have also seen before that downloaded chm files cannot be opened due to the zone identifier.
02-08-2024 03:37 PM
02-08-2024 03:57 PM
Just to make sure... The checkbox also doesn't exist at the dll?
02-09-2024 07:34 AM
The checkbox was unfortunately removed from Microsoft. Last version with that checkbox is Win7. If you want to unblock the files you need to perform a Powershell command.
E.g. like this
gci -r | Unblock-File
Easiest way to do this is following.
Afterwards your files should be unblocked. This might also solve issues with chm files or even schema files for xml.
02-13-2024 10:51 AM
Thank you Hugo, it worked! 🙂