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.
TwinCAT project build fails with unspecified error
1.4k Views Asked by Girl Spider At
1
There are 1 best solutions below
Related Questions in PLC
- Reading from wincc with C#
- Pymodbus Read/Write Floats (REAL)
- Dynamically update HTML with getJSON
- C# + CoDeSys Automation Platform SDK -> PLC's variable = VarRefState.NotMonitoredYet
- How to achieve sequential blocking behavior in multithread application?
- SyncStart with Codisys without PLCOPEN Part 4
- Using arrays or bytes to set multiple outputs in Structured Text
- Siemens PLC S7-1200 - Connection to internet via server
- Cx programmer-Structured text, Array assignement
- Read 64bit variables from Siemens PLC
- Modulus Operation in Mitsubishi PLC
- How to compress/archive a temperature curve effectively?
- Sending CMD to PLC via TCP Client
- Ladder Logic - 'Simple' Coffee Machine - Optional: Add Milk / Add Sugar
- Cassandra saving time series for industry data sensors
Related Questions in TWINCAT
- Using arrays or bytes to set multiple outputs in Structured Text
- Beckhoff C# Reading array of string from PLC
- How to set baudrate on TwinCAT3 PLC for EL6002 or EL6001 comport?
- Error 262145 while trying to insert in SQL db with TwinCat 2
- Codesys 3. How to get the translations from static or dinamic text file in ST?
- Error 'Unable to cast object of type 'System.RuntimeType' to type 'EnvDTE80.DTE2'
- Get String value of a Enum in Twincat 3
- TwinCAT 3, Using Methods for internal FB functionality or just for interfaces?
- How can I set up the TE14XX MATLAB and Simulink licenses for use with TwinCAT3 XAE and XAR?
- How to Connect an Engineering PC to a CX20x0 IPC via EtherCAT Protocol?
- How to access members of REFERENCE-TO-X in TwinCAT 3 HMI Engineering
- TwinCAT HMI new Internal Symbol from code
- Getting the TwinCAT EtherCAT master device NetId knowing nothing about the project that is running in the runtime
- How to translate PLC string variable value in TwinCAT HMI TE2000
- How can I retrieve the display text of an event and use it as a string in twincat3?
Related Questions in UNSPECIFIED
- How to not show "unspecified error" when throwing exception
- Can there be python functions that take unspecified number of arguments?
- unspecified bind
- TwinCAT project build fails with unspecified error
- Unspecified field types
- 81002 - Unspecified Method, on chained payment
- "Unspecified Exception" when running .command bash script
- Unspecified Error when search a table for a string in sql delphi using parameters - Delphi SQL
- Visual Studio 2015 enterprise unknown issue
- model = YourModelClass(input_size, hidden_size, num_layers, output_size) NameError: name 'input_size' is not defined
- Why is undefined behavior allowed (as opposed to not compiling/crashing)?
- crazy Unspecified Error warning in IE (w jQuery).. but disappears when reloaded
- Keep getting run-time error VBA
- Confusion about [expr.static.cast]/13
- Function call in wrong order
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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.