Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Toolbox Problems

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
User avatar
geoffp
Posts: 322
Joined: Tue 28 Jun 2011 2:06 pm
Weather Station: Oregon Scientific WMR 200
Operating System: Windows 7
Location: Harwich, Essex
Contact:

Toolbox Problems

Post by geoffp »

I have tried installing and setting up Cumulus Toobox, on another P.C since doing so I keep getting up a warning message:-

Microsoft .net Framework

Unhandled exception

Argument 'Date1' cannot be converted to type 'Date'

I have got Microsoft .net4 installed so no idea what this is again
Regards,

Geoff

WOW Site No. 147808
duke

Re: Toolbox Problems

Post by duke »

Looking through the forums, there appears to be quite a few people having problems with toolbox and nearly all report a MS .net framework problem.

I installed MS .net 4 this week and then installed tool box but every time it tries to ftp dayfile, do a back up or anything else it reports a MS .net framework error and closes. Dissapointing as I know quite a few use it with success.

Duke
User avatar
mcrossley
Posts: 12686
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Toolbox Problems

Post by mcrossley »

Not all versions of the .Net frame provide backward compatibly, some apps need the specific version they were compiled against.

On the PC I run ToolBox I have .Net versions 1.1, 2.0 SP2, 3.0 SP2, and 3.5 SP1 installed.

I'd try installing 3.5 SP1 as a first step.
duke

Re: Toolbox Problems

Post by duke »

I didn't know that Mark. However I have just DL'ed from MS 3.5 SP1 and the installer will not run on my win7 64 even in compatibility mode.

Here's what toolbox gives me:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Argument 'Date1' cannot be converted to type 'Date'.
at Microsoft.VisualBasic.DateAndTime.DateDiff(String Interval, Object Date1, Object Date2, FirstDayOfWeek DayOfWeek, FirstWeekOfYear WeekOfYear)
at CumulusToolbox.Module1.CheckForBackup()
at CumulusToolbox.main.Timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
CumulusToolbox
Assembly Version: 0.0.1.107
Win32 Version: 0.0.1.107
CodeBase: file:///D:/Cumulus%20Toolbox/CumulusToolBox.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
User avatar
mcrossley
Posts: 12686
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Toolbox Problems

Post by mcrossley »

Ah, you don't 'install' 3.5.1 on Windows 7, it is already installed, but needs to be enabled (if it isn't already).

Go to "Programs & Features" and select "Turn Windows Features On or Off", you should find .Net framework 3.5.1 in there.
duke

Re: Toolbox Problems

Post by duke »

mcrossley wrote:Ah, you don't 'install' 3.5.1 on Windows 7, it is already installed, but needs to be enabled (if it isn't already).

Go to "Programs & Features" and select "Turn Windows Features On or Off", you should find .Net framework 3.5.1 in there.
Tried that Mark but with the same results. However, yesterday, I noticed in the Win7 updates list there was one for .net4 and Win7 so I let it do these and .........success. I have now run several auto and manual back ups and outo ftp'd dayfile all with success.

Now my annual summary doesn't need me to keep it up to date :D .

Duke
Post Reply