Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


dblaser
2020-01-08T00:33:33Z
Thanks in advance! After we upgraded our VisualCron server from version 8.5 to version 9.0 my API access program is now throwing the following exception (the unmodified VisualCron/API/samples/TestClient program throws the exact same exception when I click on the "Connect remote" button). All this was working fine right before the upgrade.
Does anyone know where CommClientCore is supposed to be found? Am I missing a library or need a new version of something?

Note: a breakpoint set at btnConnectRemote_Click(object sender, EventArgs e) never get's hit so it seems to be a framework/library dependency issue...
Using Visual Studio Professional 2019 Version 16.4.2
Microsoft .NET Framework Version 4.8.03761

Exception Details:
System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'CommClientCore, Version=1.0.7268.17313, Culture=neutral, PublicKeyToken=55f7a52402de1c04' or one of its dependencies. The system cannot find the file specified.
Source=TestClient
StackTrace:
at TestClient.frmTest.btnConnectRemote_Click(Object sender, EventArgs e) in C:\Users\dblaser\source\TestClient\frmTest.cs:line 269
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at TestClient.Program.Main() in C:\Users\dblaser\source\TestClient\Program.cs:line 17
Sponsor
Forum information
PhilHouc
2020-01-08T12:13:40Z
I had a similar problem.

I added the 3 dl from VisualCron directory to my project:
CommClient.dll
CommClientCore.dll
CommServer.dll

This solved my problem.
Support
2020-01-08T13:53:49Z
Originally Posted by: dblaser 

Thanks in advance! After we upgraded our VisualCron server from version 8.5 to version 9.0 my API access program is now throwing the following exception (the unmodified VisualCron/API/samples/TestClient program throws the exact same exception when I click on the "Connect remote" button). All this was working fine right before the upgrade.
Does anyone know where CommClientCore is supposed to be found? Am I missing a library or need a new version of something?

Note: a breakpoint set at btnConnectRemote_Click(object sender, EventArgs e) never get's hit so it seems to be a framework/library dependency issue...
Using Visual Studio Professional 2019 Version 16.4.2
Microsoft .NET Framework Version 4.8.03761

Exception Details:
System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'CommClientCore, Version=1.0.7268.17313, Culture=neutral, PublicKeyToken=55f7a52402de1c04' or one of its dependencies. The system cannot find the file specified.
Source=TestClient
StackTrace:
at TestClient.frmTest.btnConnectRemote_Click(Object sender, EventArgs e) in C:\Users\dblaser\source\TestClient\frmTest.cs:line 269
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at TestClient.Program.Main() in C:\Users\dblaser\source\TestClient\Program.cs:line 17





You should not have to add this but make sure it is not referenced or that exists in the bin folder - if it does you can delete it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
dblaser
2020-01-09T01:25:58Z
BIG THANKS to PhilHouc for the suggestion to add CommClient.dll, CommClientCore.dll and CommServer.dll from the VisualCron directory to the sample project. That took care of the exception for me. 😁
Scroll to Top