Page 1 of 1

Toolbox Problems

Posted: Tue 31 Jan 2012 3:09 pm
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

Re: Toolbox Problems

Posted: Sat 04 Feb 2012 5:13 pm
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

Re: Toolbox Problems

Posted: Sat 04 Feb 2012 6:47 pm
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.

Re: Toolbox Problems

Posted: Sat 04 Feb 2012 7:41 pm
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.

Re: Toolbox Problems

Posted: Sat 04 Feb 2012 8:11 pm
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.

Re: Toolbox Problems

Posted: Thu 23 Feb 2012 6:45 pm
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