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.


IT-Lizenzmanagement
2013-07-10T12:20:48Z
We have some VisualCron API code running successfully in Visual Studio. Now we want to run this code as a .NET code execute task directly in the VisualCron scheduler. When running the task we get the following error message:

Exception in Task: Could not load file or assembly 'file:///D:\Temp\ao0sm03b.dll' or one of its dependencies. The system cannot find the file specified.

We are also not able to add the VisualCron dll's to the references, everytime we open the reference window again, the dll's are disappeared.

Is there something we missed ?

Thank you
Andreas
Sponsor
Forum information
Support
2013-07-10T12:28:56Z
Hi,

VisualCron.dll is not referencing any external dlls. Are you sure your project is .NET 4.0?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
IT-Lizenzmanagement
2013-07-10T12:36:38Z
Yes, the Visual Studio project is .NET 4 and is working fine. But the same code as .NET code execute task is not working - I assume that the .NET code execute task is using .NET 4 ?
Support
2013-07-10T14:14:04Z
Could you attach the zipped project here?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
MKenyon
2017-11-22T16:31:20Z
If this is resolved, could you post the resolution here so others can benefit?
Support
2017-11-23T14:19:05Z
Originally Posted by: MKenyon 

If this is resolved, could you post the resolution here so others can benefit?



What exactly do you want to do in the API?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2017-11-28T08:57:49Z
Originally Posted by: MKenyon 

If this is resolved, could you post the resolution here so others can benefit?


It is possible to run .NET code as an excecutable which is referencing the visualcron dll. I did this for a long time now. You also an run an assembly task if you made your own dll.
You can not create a .NET task and reference the Visualcron dll. This is not supported.

Due to upgrading Visualcron to newer versions, you have to upgrade your .NET app also. It needs to have the latest Visualcron dll's.
I solved this by make use of Powershell and reference the dll's in the installation folder. This way I always have the latest dll's and I do not have to recompile my task anymore.

Regards
Erik
Uses Visualcron since 2006.
Scroll to Top