Problem with Assembly execute - VisualCron - Forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


janvdb
15 years ago
Hi,

I am testing VisualCron. One of the things that i am interested in, is the ability to execute a dotnet assembly DLL.

There are 2 problems that i have encountered:

1. When i try to create a Task and load my dll it crashes

Error details:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at UCTaskAssemblyExecute.FPLOKNMNOFAJJNGOHNFDDOIACACFFGCMIIMP(String )
   at UCTaskAssemblyExecute.GLDKEGOJLKAHFOIBHPKBIEMAANDFJGJBDMBA(Object , EventArgs )
   at Infragistics.Win.UltraWinGrid.UltraCombo.OnValueChanged(EventArgs e)
   at Infragistics.Win.UltraWinGrid.UltraCombo.FireEvent(ComboEventIds id, EventArgs e)
   at Infragistics.Win.UltraWinGrid.UltraCombo.FireValueChangedEventHelper(Boolean hasChanged, Object newValue)
   at Infragistics.Win.UltraWinGrid.UltraCombo.SelectedItemChangeHelper(ComboSelectedItemChangeContext context, Object newData)
   at Infragistics.Win.UltraWinGrid.UltraCombo.set_Value(Object value)
   at UCTaskAssemblyExecute.GPICGPLOANDHBHBGFNMJJJBGCOJOBFAFHHON(MRType[] )
   at UCTaskAssemblyExecute.MODDPEGLGOPDBOOGEAINDOBDGOLABHEPDDBL(Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at Infragistics.Win.UltraControlBase.OnClick(EventArgs e)
   at Infragistics.Win.Misc.UltraButtonBase.OnClick(EventArgs e)
   at Infragistics.Win.Misc.UltraButton.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


After some investigating it is possible to make VisualCron crash if:

1)With an empty class file, only a namespace. No class, enum, ect.
2)With a class file that has an internal class.
3)With a Class without a method.

2. The other problem is that the DLL remains in memory after creating the Task (or when it crashes). The DLL can't be updated without restarting the VisualCron Service! Also when the Task is inactive i think it must be possible to upload the DLL.
Sponsor
Forum information
Support
15 years ago
Could you zip and send your dll with instructions to support@visualcron.com?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
janvdb
15 years ago
I have send the files the support.
Support
11 years ago
Was this resolved?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top