Unable to connect using the TestClient, missing assembly Newtonsoft.Json. - VisualCron - Forum

Community forum

VCMSL
  •  VCMSL
  • No customer Topic Starter
2015-01-21T14:56:02Z
EDIT:
It seems that the update 7.5.2 was pulled because it was a broken update. Upon rolling back everything seems to work just fine.
Hoping that 7.5.2 comes with the missing VisualCronServer DLL.

I am trying to get the test client to work so I can learn how to use the API in my own project but I am having some issues.

My server version is 7.5.2;

When I first start the TestClient project it complains about the app.Config missing. I deleted that and then it complains about three API DLLs missing.
I am only able to find 2 of the DLLs "VisualCron.dll" and "VisualCronAPI.dll" but I can not locate "VisualCron - Server". So I commented out all code that references the server DLL. I can then start the project, upon entering my servers IP address, my username, password and then clicking connect I get:

Inner Exception
{"Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"}

Stack Trace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.OnOpened()
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Open()
at CommClientShared.Classes.WCFClientConnection.Initialize(Uri address, ServiceType type)
at CommClientCore.Classes.CommClient.Connect(Type type, Uri address, ServiceType serviceType)
at CommClientCore.Classes.CommClient.Connect[T](Uri address, ServiceType serviceType)
Support
2015-01-21T22:42:29Z
Thanks for the report. The Newtonsoft.Json.dll reference has been removed for next build. We wil notify you when it is live again.

Other references you mentioned needs to be re-referenced from the main intall folder.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2015-01-22T10:45:06Z
The dll is removed in this beta:

http://www.visualcron.co....aspx?g=posts&t=4676 

However, you need to upgrade any Client and Server.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top