An error message similar to the one below appears in WinAutomation Console window upon clean starting the computer:


Exception = System.TypeInitializationException

Message = The type initializer for '' threw an exception.

FullText = System.TypeInitializationException: The type initializer for '' threw an exception. ---> System.ArgumentNullException: Value cannot be null.

Parameter name: input

   at System.IO.BinaryReader..ctor(Stream input, Encoding encoding, Boolean leaveOpen)

   at .(Stream )

   at ...ctor()

   at ...cctor()

   --- End of inner exception stack trace ---

   at WinAutomation.AgentCoreLibs.AgentCommunicator..ctor(AgentTypeEnum agentType)

   at .()

   at .Main()


In addition, the below messages may be also displayed:



This problem is related to a problem with the already installed Microsoft .Net Framework. To this matter, download this installer: Microsoft .NET Framework 4.7 (Offline Installer)

In case the latest version is already installed a relevant message will be displayed.


Furthermore, it is also recommended that you install all the latest Windows Updates and restart the computer.