News:

SMF - Just Installed!

Main Menu

virtual plc

Started by baciocco, March 18, 2018, 03:24:06 AM

Previous topic - Next topic

baciocco

easy plc 5.9.1.1
I have this problem:
I complete the program and everything is fine
but when I start virtual PLC it gives me this problem

Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.Collections.Generic.KeyNotFoundException: La chiave specificata non era presente nel dizionario.
   in System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   in EasyPLC.MainForm.?(Object , EventArgs )
   in EasyPLC.MainForm.?(Object , EventArgs )
   in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   in System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.ToolStrip.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2600.0 built by: NET471REL1LAST
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
EasyPLC
    Versione assembly: 5.9.1.1
    Versione Win32: 5.9.1.1
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/EasyPLC.exe
----------------------------------------
System.Windows.Forms
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
InterCode
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.0.0
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/InterCode.DLL
----------------------------------------
System.Configuration
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Core
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2600.0 built by: NET471REL1LAST
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Ionic.Zip
    Versione assembly: 1.8.4.28
    Versione Win32: 1.8.4.28
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/Ionic.Zip.DLL
----------------------------------------
System.Management
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Nirtec.Docking
    Versione assembly: 0.0.0.0
    Versione Win32: 0.0.0.0
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/Nirtec.Docking.DLL
----------------------------------------
PLCEngine
    Versione assembly: 1.3.1.0
    Versione Win32: 1.3.1.0
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/PLCEngine.DLL
----------------------------------------
System.Runtime.Remoting
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
ExternalDriver
    Versione assembly: 1.2.0.0
    Versione Win32: 1.2.0.0
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/ExternalDriver.DLL
----------------------------------------
MachinesSimulator3
    Versione assembly: 1.0.0.0
    Versione Win32: 1.0.0.0
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/Drivers/MachinesSimulator3.dll
----------------------------------------
Nirtec.ScriptControl
    Versione assembly: 1.0.4280.24783
    Versione Win32: 1.0.0.0
    Base di codice: file:///C:/Program%20Files%20(x86)/EasyPLC%20v5/Nirtec.ScriptControl.DLL
----------------------------------------
System.resources
    Versione assembly: 4.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
oyum5jgz
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
my5qt2ll
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
zbmy1er2
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
quaew3uk
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
z113mrbr
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ovupnrff
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
t5idmlzv
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
fg45m2rv
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
h4yz0nwo
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
acxbtkvl
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
wvpm2zyl
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
c3oo3rnl
    Versione assembly: 0.0.0.0
    Versione Win32: 4.7.2556.0 built by: NET471REL1
    Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.

Ad esempio:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.



EasyPLC_Master

Please can you send to info@nirtec.com the .plc program that causes this problem?
Thanks.

baciocco

solved thanks

I reinstalled easy plc by deactivating the antivirus