- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forticlient VPN: A JavaScript Error Occurred in the Main Process
I have been successfully using the Forticlient VPN for some time now. Today I upgraded to the latest version and since then I have been receiving the following error. I have uninstalled, reinstalled, added the latest MS C++ redistributables and am still getting this error. Any suggestions?
- Labels:
-
FortiClient
Created on ‎09-05-2022 08:00 AM Edited on ‎09-05-2022 08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just followed these instructions. The only version of Visual C++ Redistributable I have left is "2015-2022 (x64)". After installing 7.0.6 I still get the same JavaScript error launching the program.
Is there any way you can go back and check if the TypeError you were receiving was "Cannot read property 'TraceLog'..." (the one people in this thread are getting) and not "Messenger.sender.TraceLog is not a function..." as these are different errors with different solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi VelirlT,
My error message was exactly the same as the original post: "Cannot read property 'TraceLog'
IMO this issue is pretty random and our Internal team is still doing their best to figure out the root cause.
Bon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No it doesn't. Used a test machine with W11 Enterprise. Uninstalling the old C++ makes no sens where an other application, needed by our clients, installs it again. So either VPN and no phone app or a phone app and no VPN
Fix it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Uninstalling older VC++ Runtimes (2008...) may not be an option for most users, as they need to run other software that installed it and depends on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have new information which might help. My boss noticed if you go into the Web portal and try to launch the client from there (https://0.0.0.0:4433/remote/login?lang=en) and select "Launch FortiClient" it Always fails with this same JavaScript error. This fails even for users who are not otherwise experiencing problems with the client. At the moment, none of our users can launch FortiClient this way. Any chance others in this thread can test this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want Fortinet to fix it. We use Liquit so apps know if user is within the lan network or elsewhere. Due to this error people need to bypass lots of apps to prevend this annoying error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is a screenshot of the weblauncher issue I previously mentioned. This is still unfixed in 7.0.7.
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This should be fixed in 7.0.7. See release notes and details on bug ID 798055.
Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7.0.7 seems to have worked for me. We're looking into an issue where the EMS version isn't automatically connecting and has to be manually attached, but that could still be specific to us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! Works fine now!
