Skip to main content
ps-support
Explorer II
Jul 10, 2024 12:34 PM UTC
Solved

FortiClient Javascript error

Good morning,

We're receiving sporadic reports of users unable to launch FortiClient and being presented with the following error message. 

OUTLOOK-2024.07.10-0800.59314 AM.png

The guidance provided to the users was the following: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-fix-the-A-JavaScript-Error-Occurred-in-the/ta-p/230823  

Verification the users have uninstalled Microsoft Visual C++, FortiClient, and reinstalled both is shown below. 

 

OUTLOOK-2024.07.10-0804.43831 AM.png

However the user reports the Javascript issue is still ongoing. 

Can Fortinet support provide next steps for the users to try, please? 
Users are not FortiClient EMS users. 

FortiClient version 7.4 is being used. Initial error was with FortiClient version 7.0.2.

ps-support
Explorer II
Aug 20, 2024 7:21 PM UTC

Hi, @marcoarn marcoam, yes, the following KB helped us: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-fix-the-A-JavaScript-Error-Occurred-in-the/ta-p/230823. 

We wound up upgrading to 7.0.11. We are fortunate we did not need the older C++ libraries. 

Note: it seems to be happening a lot of Lenovo systems. 

5 replies

ps-support
Explorer II
Jul 10, 2024 11:30 PM UTC

Bumping the topic.

Is there anything additional we can recommend users to try who see this issue? 

marcoarn
Visitor III
Aug 19, 2024 9:19 AM UTC

Did you found anything about this yet? We are trying to automatically update FortiClient 7.0.7 to FortiClient 7.4 with Intune and we are getting the same error. A fix/workaround for that error would be greatly appreciated. Uninstalling and then reinstalling FortiClient on 700 clients cant be the solution.

ps-support
ps-supportAuthorAnswer
Explorer II
Aug 20, 2024 7:21 PM UTC

Hi, @marcoarn marcoam, yes, the following KB helped us: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-fix-the-A-JavaScript-Error-Occurred-in-the/ta-p/230823. 

We wound up upgrading to 7.0.11. We are fortunate we did not need the older C++ libraries. 

Note: it seems to be happening a lot of Lenovo systems. 

jornjensen
New Member
Aug 27, 2024 11:03 AM UTC

The problem is that when upgrading to FortiClient 7.4.0 the file FCCryptDLL is missing in C:program files\Fortinet\forticlient. If you uninstall the old version and make a new installartion of 7.4.0 then the file FCCryptDLL exist.

marcoarn
Visitor III
Aug 28, 2024 2:54 PM UTC

Hi @jornjensen 

Thank you very much for the input, that was the solution! :D

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT