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.


Support
2015-12-16T13:08:19Z
Originally Posted by: PhilHouc 

I can't get the jobs when setting syncserverobjects to false in Connect

D:\VCronJobs\VCronJobs\bin\Release>VCronJobs.exe
There are 0/0 active jobs on isoapp100
Pass 1, Result False, Elapsed time 6764 ms
There are 0/0 active jobs on isoapp100
Pass 2, Result False, Elapsed time 323 ms
There are 0/0 active jobs on isoapp100
Pass 3, Result False, Elapsed time 387 ms
There are 0/0 active jobs on isoapp100
Pass 4, Result False, Elapsed time 388 ms
There are 0/0 active jobs on isoapp100
Pass 5, Result False, Elapsed time 342 ms
There are 0/0 active jobs on isoapp100
Pass 6, Result False, Elapsed time 374 ms
There are 0/0 active jobs on isoapp100
Pass 7, Result False, Elapsed time 356 ms
^C
D:\VCronJobs\VCronJobs\bin\Release>



Yes, we know this but can you confirm it does not throw any errors? Because then we can pinpoint it more.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
PhilHouc
2015-12-17T11:43:13Z
Timeout is always comming.

D:\VCronJobs\VCronJobs\bin\Release>VCronJobs.exe
There are 0/0 active jobs on isoapp100
Pass 1, Result False, Elapsed time 6496 ms
There are 0/0 active jobs on isoapp100
Pass 2, Result False, Elapsed time 381 ms
There are 0/0 active jobs on isoapp100
Pass 3, Result False, Elapsed time 391 ms
There are 0/0 active jobs on isoapp100
Pass 4, Result False, Elapsed time 408 ms
There are 0/0 active jobs on isoapp100
Pass 5, Result False, Elapsed time 268 ms
There are 0/0 active jobs on isoapp100
Pass 6, Result False, Elapsed time 380 ms
There are 0/0 active jobs on isoapp100
Pass 7, Result False, Elapsed time 442 ms
There are 0/0 active jobs on isoapp100
Pass 8, Result False, Elapsed time 455 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 9, Result False, Elapsed time 95719 ms
There are 0/0 active jobs on isoapp100
Pass 10, Result False, Elapsed time 425 ms
There are 0/0 active jobs on isoapp100
Pass 11, Result False, Elapsed time 422 ms
There are 0/0 active jobs on isoapp100
Pass 12, Result False, Elapsed time 345 ms
There are 0/0 active jobs on isoapp100
Pass 13, Result False, Elapsed time 442 ms
There are 0/0 active jobs on isoapp100
Pass 14, Result False, Elapsed time 401 ms
There are 0/0 active jobs on isoapp100
Pass 15, Result False, Elapsed time 309 ms
There are 0/0 active jobs on isoapp100
Pass 16, Result False, Elapsed time 390 ms
There are 0/0 active jobs on isoapp100
Pass 17, Result False, Elapsed time 360 ms
There are 0/0 active jobs on isoapp100
Pass 18, Result False, Elapsed time 349 ms
There are 0/0 active jobs on isoapp100
Pass 19, Result False, Elapsed time 408 ms
There are 0/0 active jobs on isoapp100
Pass 20, Result False, Elapsed time 283 ms
There are 0/0 active jobs on isoapp100
Pass 21, Result False, Elapsed time 333 ms
There are 0/0 active jobs on isoapp100
Pass 22, Result False, Elapsed time 375 ms
There are 0/0 active jobs on isoapp100
Pass 23, Result False, Elapsed time 421 ms
There are 0/0 active jobs on isoapp100
Pass 24, Result False, Elapsed time 361 ms
There are 0/0 active jobs on isoapp100
Pass 25, Result False, Elapsed time 410 ms
There are 0/0 active jobs on isoapp100
Pass 26, Result False, Elapsed time 326 ms
There are 0/0 active jobs on isoapp100
Pass 27, Result False, Elapsed time 344 ms
There are 0/0 active jobs on isoapp100
Pass 28, Result False, Elapsed time 364 ms
There are 0/0 active jobs on isoapp100
Pass 29, Result False, Elapsed time 284 ms
There are 0/0 active jobs on isoapp100
Pass 30, Result False, Elapsed time 361 ms
There are 0/0 active jobs on isoapp100
Pass 31, Result False, Elapsed time 343 ms
There are 0/0 active jobs on isoapp100
Pass 32, Result False, Elapsed time 379 ms
There are 0/0 active jobs on isoapp100
Pass 33, Result False, Elapsed time 393 ms
There are 0/0 active jobs on isoapp100
Pass 34, Result False, Elapsed time 3898 ms
There are 0/0 active jobs on isoapp100
Pass 35, Result False, Elapsed time 389 ms
There are 0/0 active jobs on isoapp100
Pass 36, Result False, Elapsed time 424 ms
There are 0/0 active jobs on isoapp100
Pass 37, Result False, Elapsed time 311 ms
There are 0/0 active jobs on isoapp100
Pass 38, Result False, Elapsed time 422 ms
There are 0/0 active jobs on isoapp100
Pass 39, Result False, Elapsed time 380 ms
There are 0/0 active jobs on isoapp100
Pass 40, Result False, Elapsed time 870 ms
There are 0/0 active jobs on isoapp100
Pass 41, Result False, Elapsed time 304 ms
There are 0/0 active jobs on isoapp100
Pass 42, Result False, Elapsed time 254 ms
There are 0/0 active jobs on isoapp100
Pass 43, Result False, Elapsed time 332 ms
There are 0/0 active jobs on isoapp100
Pass 44, Result False, Elapsed time 295 ms
There are 0/0 active jobs on isoapp100
Pass 45, Result False, Elapsed time 249 ms
There are 0/0 active jobs on isoapp100
Pass 46, Result False, Elapsed time 311 ms
There are 0/0 active jobs on isoapp100
Pass 47, Result False, Elapsed time 269 ms
There are 0/0 active jobs on isoapp100
Pass 48, Result False, Elapsed time 265 ms
There are 0/0 active jobs on isoapp100
Pass 49, Result False, Elapsed time 298 ms
There are 0/0 active jobs on isoapp100
Pass 50, Result False, Elapsed time 330 ms
There are 0/0 active jobs on isoapp100
Pass 51, Result False, Elapsed time 333 ms
There are 0/0 active jobs on isoapp100
Pass 52, Result False, Elapsed time 329 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 53, Result False, Elapsed time 94162 ms
There are 0/0 active jobs on isoapp100
Pass 54, Result False, Elapsed time 316 ms
There are 0/0 active jobs on isoapp100
Pass 55, Result False, Elapsed time 334 ms
There are 0/0 active jobs on isoapp100
Pass 56, Result False, Elapsed time 599 ms
There are 0/0 active jobs on isoapp100
Pass 57, Result False, Elapsed time 593 ms
There are 0/0 active jobs on isoapp100
Pass 58, Result False, Elapsed time 317 ms
There are 0/0 active jobs on isoapp100
Pass 59, Result False, Elapsed time 282 ms
There are 0/0 active jobs on isoapp100
Pass 60, Result False, Elapsed time 297 ms
There are 0/0 active jobs on isoapp100
Pass 61, Result False, Elapsed time 287 ms
There are 0/0 active jobs on isoapp100
Pass 62, Result False, Elapsed time 299 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 63, Result False, Elapsed time 94099 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 64, Result False, Elapsed time 94521 ms
There are 0/0 active jobs on isoapp100
Pass 65, Result False, Elapsed time 361 ms
There are 0/0 active jobs on isoapp100
Pass 66, Result False, Elapsed time 299 ms
There are 0/0 active jobs on isoapp100
Pass 67, Result False, Elapsed time 297 ms
There are 0/0 active jobs on isoapp100
Pass 68, Result False, Elapsed time 281 ms
There are 0/0 active jobs on isoapp100
Pass 69, Result False, Elapsed time 328 ms
There are 0/0 active jobs on isoapp100
Pass 70, Result False, Elapsed time 333 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 71, Result False, Elapsed time 94042 ms
There are 0/0 active jobs on isoapp100
Pass 72, Result False, Elapsed time 358 ms
There are 0/0 active jobs on isoapp100
Pass 73, Result False, Elapsed time 400 ms
There are 0/0 active jobs on isoapp100
Pass 74, Result False, Elapsed time 423 ms
There are 0/0 active jobs on isoapp100
Pass 75, Result False, Elapsed time 366 ms
There are 0/0 active jobs on isoapp100
Pass 76, Result False, Elapsed time 722 ms
There are 0/0 active jobs on isoapp100
Pass 77, Result False, Elapsed time 645 ms
There are 0/0 active jobs on isoapp100
Pass 78, Result False, Elapsed time 554 ms
There are 0/0 active jobs on isoapp100
Pass 79, Result False, Elapsed time 389 ms
There are 0/0 active jobs on isoapp100
Pass 80, Result False, Elapsed time 358 ms
There are 0/0 active jobs on isoapp100
Pass 81, Result False, Elapsed time 507 ms
There are 0/0 active jobs on isoapp100
Pass 82, Result False, Elapsed time 391 ms
There are 0/0 active jobs on isoapp100
Pass 83, Result False, Elapsed time 392 ms
There are 0/0 active jobs on isoapp100
Pass 84, Result False, Elapsed time 383 ms
There are 0/0 active jobs on isoapp100
Pass 85, Result False, Elapsed time 649 ms
There are 0/0 active jobs on isoapp100
Pass 86, Result False, Elapsed time 701 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 87, Result False, Elapsed time 94251 ms
There are 0/0 active jobs on isoapp100
Pass 88, Result False, Elapsed time 374 ms
There are 0/0 active jobs on isoapp100
Pass 89, Result False, Elapsed time 379 ms
There are 0/0 active jobs on isoapp100
Pass 90, Result False, Elapsed time 374 ms
There are 0/0 active jobs on isoapp100
Pass 91, Result False, Elapsed time 332 ms
There are 0/0 active jobs on isoapp100
Pass 92, Result False, Elapsed time 296 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 93, Result False, Elapsed time 96502 ms
There are 0/0 active jobs on isoapp100
Pass 94, Result False, Elapsed time 403 ms
There are 0/0 active jobs on isoapp100
Pass 95, Result False, Elapsed time 416 ms
There are 0/0 active jobs on isoapp100
Pass 96, Result False, Elapsed time 451 ms
There are 0/0 active jobs on isoapp100
Pass 97, Result False, Elapsed time 446 ms
Expected reply has not been received within time period ( at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at VisualCronAPI.Server.MBKGDNBCFIIOOEBKHMOHNPKJJKLAFOMCCCPJ(String , Boolean , Int32 )
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at VCronJobs.VCron.Execute() in d:\VCronJobs\VCronJobs\VCron.cs:line 39
at VCronJobs.Program.Main(String[] args) in d:\VCronJobs\VCronJobs\Program.cs:line 36)
Pass 98, Result False, Elapsed time 96019 ms
There are 0/0 active jobs on isoapp100
Pass 99, Result False, Elapsed time 370 ms
There are 0/0 active jobs on isoapp100
Pass 100, Result False, Elapsed time 358 ms
Minimum: 249, Maximum: 96502, Average 8042, Failed: 100
Support
2015-12-17T12:21:25Z
It looks like this is a problem on Client level. Is that your view as well? I mean, when failing at Client with timeout you see no error or even connection attempts at server right?

If that is true it would be interesting to implement a timer in your test, and if connection, let say, takes longer than 10 seconds you spawn a new thread with a new connection. If that succeeds it would point to a client problem.

Or do you have other experience/view on this?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2015-12-28T08:48:07Z
Please test again with this build: http://www.visualcron.co....aspx?g=posts&t=5304 

Also, this version should be backwards compatible (if you installed beta on servers you need to reinstall this latest beta).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
PhilHouc
2016-01-06T08:03:09Z
Last version 8.0.1 (28-dec-2015) installed.

With my test program, connection seem's OK, but I can't get any job information.

With an aspx page, I get the following error when issuing the connect

System.InvalidOperationException was caught
_HResult=-2146233079
_message=Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.
HResult=-2146233079
IsTransient=false
Message=Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.
Source=System.Web
StackTrace:
at System.Web.LegacyAspNetSynchronizationContext.OperationStarted()
at System.ComponentModel.AsyncOperationManager.CreateOperation(Object userSuppliedState)
at System.ServiceModel.ClientBase`1.InvokeAsync(BeginOperationDelegate beginOperationDelegate, Object[] inValues, EndOperationDelegate endOperationDelegate, SendOrPostCallback operationCompletedCallback, Object userState)
at CommClientShared.WcfTcpServiceContracts.WCFTcpServiceContractClient.SendAsync(Message message, Object userState)
at CommClientShared.WcfTcpServiceContracts.WCFTcpServiceContractClient.SendAsync(Message message)
at CommClientShared.Classes.WCFClientConnection.Send(Message message)
at VisualCronAPI.Server.Send(MessageClass obj, Boolean ForceNoCompression)
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at _Default.PopulateAllJobs(String serverName) in d:\VCronTest2\Default.aspx.cs:line 58
InnerException:

Code used in this case:

try
{
serveur = client.Connect(connexion, true);

}
catch (Exception e)
{

lblError.Text = serverName + " connexion error \n" + e.Message;
lblError.Visible = true;
allJobs = null;
//throw;
}
Support
2016-01-06T08:34:08Z
Originally Posted by: PhilHouc 

Last version 8.0.1 (28-dec-2015) installed.

With my test program, connection seem's OK, but I can't get any job information.

With an aspx page, I get the following error when issuing the connect

System.InvalidOperationException was caught
_HResult=-2146233079
_message=Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.
HResult=-2146233079
IsTransient=false
Message=Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.
Source=System.Web
StackTrace:
at System.Web.LegacyAspNetSynchronizationContext.OperationStarted()
at System.ComponentModel.AsyncOperationManager.CreateOperation(Object userSuppliedState)
at System.ServiceModel.ClientBase`1.InvokeAsync(BeginOperationDelegate beginOperationDelegate, Object[] inValues, EndOperationDelegate endOperationDelegate, SendOrPostCallback operationCompletedCallback, Object userState)
at CommClientShared.WcfTcpServiceContracts.WCFTcpServiceContractClient.SendAsync(Message message, Object userState)
at CommClientShared.WcfTcpServiceContracts.WCFTcpServiceContractClient.SendAsync(Message message)
at CommClientShared.Classes.WCFClientConnection.Send(Message message)
at VisualCronAPI.Server.Send(MessageClass obj, Boolean ForceNoCompression)
at VisualCronAPI.Server.CJJBJNJEMBPFLFKNOJJHJADNHFBGIPBDIJHE()
at VisualCronAPI.Client.PECGOCJNDMHNEIAOAIHCIHCEDGBHICCFONMB(Connection , Server , Boolean )
at VisualCronAPI.Client.Connect(Connection conn, Boolean SynchronizeServerObjects)
at _Default.PopulateAllJobs(String serverName) in d:\VCronTest2\Default.aspx.cs:line 58
InnerException:

Code used in this case:

try
{
serveur = client.Connect(connexion, true);

}
catch (Exception e)
{

lblError.Text = serverName + " connexion error \n" + e.Message;
lblError.Visible = true;
allJobs = null;
//throw;
}



Cannot get any Job information? Can you please go the online chat so we can resolve this quickly?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
PhilHouc
2016-01-06T09:53:35Z
  VCronTest2.zip (1,333kb) downloaded 66 time(s).

Web page project
PhilHouc
2016-01-08T09:56:18Z


Project is related to the timeout problem, not on the webpage problem.

I noticed thatt adding a sleep of 300 milliseconds after the connect, I received most of the time the job list.
In this conditions, when I don't receive jobs, I have a timeout.
Support
2016-03-18T08:37:55Z
Hi Phil,

have you tested this with the latest 8.0.2?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
quyvan1192
2016-03-21T08:43:24Z
https://drive.google.com...NTFJRVk/view?usp=sharing 
Dear all.
help me. i want connnect sever proficy historian 4.0 but it is error. can you help me 😢
Support
2016-03-21T10:40:36Z
Originally Posted by: quyvan1192 

https://drive.google.com/file/d/0B2OKWt00MdoYX1p6M0QyNTFJRVk/view?usp=sharing
Dear all.
help me. i want connnect sever proficy historian 4.0 but it is error. can you help me 😢



How is this related to the VisualCron product?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top