My TwinCAT PLC project was working fine, but suddenly one day it could not build at all.  The error message is simply "The operation could not be completed. Unspecified error".
I also noticed that all my local files, such function block files, would have yellow triangle symbols with an exclamation mark next to them.
If I wanted to start a new project, I would get an exception on _3S.CoDeSys.UserManagement.UserAuthentication.
            Asked
            
        
        
            Active
            
        
            Viewed 913 times
        
    1
            
            
        
        Girl Spider
        
- 330
 - 2
 - 6
 
1 Answers
2
            
            
        After a lot of struggle, I finally fixed the problem, sort of.
Apparently, the problem is related to the FipsAlgorithmPolicy register.  The register is used to certify cryptographic software.  I am not sure whether it is TwinCAT that is not made to comply with that or my PLC project is not up to that standard.
Anyway, to fix the problem:
Type register editor in Windows Start, right click and choose run as an admin.
In register editor, go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa.
Under a subkey you should see FipsAlgorithmPolicy. Changed the "enabled" value to 0 or simply delete this register. Restart Visual Studio.
        Girl Spider
        
- 330
 - 2
 - 6
 
- 
                    This is a 'known' issue, and something that has been lodged with Beckhoff. They have replicated the issue, and are aiming to include a fix in the next release. of TwinCAT. – Steve Mar 28 '22 at 18:22
 - 
                    Thanks for reporting and the fix! I added it to the [known bug list](https://github.com/Roald87/TwinCatChangelog/blob/main/tc3_changelog.md). – Roald Mar 29 '22 at 06:07