Microsoft.NET Framework error - help

#1
I keep receiving this error on my machine, running Win7 64 bit, what should I do? Thanks for your help in advance.

Unhandled exception has occurred in your application.
String was not recognized as a valid Date Time.

And the following appears in details for this error:


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

************** Exception Text **************
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at System.Convert.ToDateTime(String value)
at VCsystray.AccFunctions.nextSilentRun()
at VCsystray.Form1.CheckOneClickLastRun()
at VCsystray.Form1.tmrOneclick_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.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
VCsystray
Assembly Version: 5.0.1.10170
Win32 Version: 5.0.1.10170
CodeBase: file:///C:/Program%20Files/Sony/VAIO%20Care/VCsystray.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Metrics
Assembly Version: 5.0.0.9210
Win32 Version: 5.0.0.09210
CodeBase: file:///C:/Program%20Files/Sony/VAIO%20Care/Metrics.DLL
----------------------------------------
KeyUtilities
Assembly Version: 5.0.0.9210
Win32 Version: 5.0.0.09210
CodeBase: file:///C:/Program%20Files/Sony/VAIO%20Care/KeyUtilities.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
analyzer
Assembly Version: 1.0.909.1
Win32 Version: 1.0.909.1
CodeBase: file:///C:/Program%20Files/Sony/VAIO%20Care/analyzer.DLL
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
ManagedVAIORecovery
Assembly Version: 1.0.3559.27502
Win32 Version: 1.1.1.9290
CodeBase: file:///C:/Program%20Files/Sony/VAIO%20Care/ManagedVAIORecovery.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.4926
Win32 Version: 9.00.30729.4926
CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_08e1a05ba83fe554/msvcm90.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.
 


#2
Welcome to the forums, Nekros.


The exception occurs most likely because it accepts only month / day / year format, not the day / month / year.

If you are writing a program code, you should convert it to mm/dd/yy.


 


#3
Oh! Thank you. In fact, now I remember playing with the settings and changing the date/time format. I will change it back and hopefully it will fix this.
 


Last edited:
This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.