Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline IT-Lizenzmanagement  
#1 Posted : Wednesday, July 10, 2013 2:20:48 PM(UTC)
IT-Lizenzmanagement

Rank: Paid support

Joined: 7/5/2012(UTC)
Posts: 33
Location: Berlin

Was thanked: 1 time(s) in 1 post(s)
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
Offline Support  
#2 Posted : Wednesday, July 10, 2013 2:28:56 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 11,222

Thanks: 874 times
Was thanked: 446 time(s) in 424 post(s)
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!
Offline IT-Lizenzmanagement  
#3 Posted : Wednesday, July 10, 2013 2:36:38 PM(UTC)
IT-Lizenzmanagement

Rank: Paid support

Joined: 7/5/2012(UTC)
Posts: 33
Location: Berlin

Was thanked: 1 time(s) in 1 post(s)
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 ?
Offline Support  
#4 Posted : Wednesday, July 10, 2013 4:14:04 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 11,222

Thanks: 874 times
Was thanked: 446 time(s) in 424 post(s)
Could you attach the zipped project here?
Henrik
Support
http://www.visualcron.com
Please like VisualCron on facebook!
Offline MKenyon  
#5 Posted : Wednesday, November 22, 2017 5:31:20 PM(UTC)
MKenyon

Rank: No customer

Joined: 11/21/2017(UTC)
Posts: 2
United States
Location: Pennsylvania, Lancaster

If this is resolved, could you post the resolution here so others can benefit?
Offline Support  
#6 Posted : Thursday, November 23, 2017 3:19:05 PM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 11,222

Thanks: 874 times
Was thanked: 446 time(s) in 424 post(s)
Originally Posted by: MKenyon Go to Quoted Post
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!
Offline ErikC  
#7 Posted : Tuesday, November 28, 2017 9:57:49 AM(UTC)
ErikC

Rank: Paid support

Joined: 2/26/2008(UTC)
Posts: 1,518
Netherlands
Location: Amsterdam

Thanks: 114 times
Was thanked: 219 time(s) in 187 post(s)
Originally Posted by: MKenyon Go to Quoted Post
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.
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Scroll to Top