I've followed the steps provided on your official site:
- Open the VisualStudio project or PowerShell samples in C:\Program Files (x86)\VisualCron\API\samples folder
- Add a reference to VisualCronAPI.dll and VisualCron.dll
- Open the test project in Visual Studio from the API folder of the VisualCron installation
However, the compilation fails because cannot resolve WebServiceClient service reference:
There was an error downloading 'http://xxx.xxx.xxx.xxx:16444/$metadata'.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Metadata contains a reference that cannot be resolved: 'http://xxx.xxx.xxx.xxx:16444/'.
An error occurred while receiving the HTTP response to http://xxx.xxx.xxx.xxx:16444/ . This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
If the service is defined in the current solution, try building the solution and adding the service reference again.
I've tried to add the reference to my server, however there is no response from the server, which has VisualCron installed.
Of course, I've also added rules to the firewall to allow TCP 16444 port communication.
A perfect sample would show how to add a job and execute it on a remote server through .NET API. I assume it is possible? Maybe there is somewhere such a example?
Edited by moderator
2016-05-16T11:35:48Z
|
Reason: Not specified