Connect with Expertise | Find Experts, Get Answers, Share Insights

Vista reformat and reinstall causes .NET framework problems

 
Join Date: Mar 2010
Posts: 5
#1: Mar 16 '10
i had my PC format recently, and installed windows Vista home premium, the moment i turned on my PC i had this
problem:

Unhandled exception has occurred in your application, If you click Continue, the application will ignore this error and attempt to continue.
if you click Quit, the application will close immediately.

Argument 'Year' is not valid value.

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

Expand|Select|Wrap|Line Numbers
  1. ************** Exception Text **************
  2. System.ArgumentException: Argument 'Year' is not a valid value.
  3.    at Microsoft.VisualBasic.DateAndTime.DateSerial(Int32 Year, Int32 Month, Int32 Day)
  4.    at EULALauncher.NET.Form1.Form1_Load(Object sender, EventArgs e)
  5.    at System.Windows.Forms.Form.OnLoad(EventArgs e)
  6.    at System.Windows.Forms.Form.OnCreateControl()
  7.    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  8.    at System.Windows.Forms.Control.CreateControl()
  9.    at System.Windows.Forms.Control.WmShowWindow(Message& m)
  10.    at System.Windows.Forms.Control.WndProc(Message& m)
  11.    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  12.    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  13.    at System.Windows.Forms.Form.WmShowWindow(Message& m)
  14.    at System.Windows.Forms.Form.WndProc(Message& m)
  15.    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  16.    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  17.    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  18.  
  19.  
  20. ************** Loaded Assemblies **************
  21. mscorlib
  22.     Assembly Version: 2.0.0.0
  23.     Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
  24.     CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
  25. ----------------------------------------
  26. EULALauncher.NET
  27.     Assembly Version: 1.0.2972.14075
  28.     Win32 Version: 1.0.2972.14075
  29.     CodeBase: file:///C:/tb_eula/EULALauncher.exe
  30. ----------------------------------------
  31. System.Windows.Forms
  32.     Assembly Version: 2.0.0.0
  33.     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
  34.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
  35. ----------------------------------------
  36. System
  37.     Assembly Version: 2.0.0.0
  38.     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
  39.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
  40. ----------------------------------------
  41. System.Drawing
  42.     Assembly Version: 2.0.0.0
  43.     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
  44.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  45. ----------------------------------------
  46. Microsoft.VisualBasic
  47.     Assembly Version: 8.0.0.0
  48.     Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
  49.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
  50. ----------------------------------------
  51.  
************** 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.



any ideas? Thanks ^^

RedSon's Avatar
E
C
 
Join Date: Jan 2007
Location: America
Posts: 3,929
#2: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


Apparently the value of "Year" is not valid. Perhaps you should double check that you have given it a valid value.
 
Join Date: Mar 2010
Posts: 5
#3: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


thanks but i don't have any idea about the value or anything..
another form told me its a bug in.NET-powered program which auto-runs with my system, but i didn't understand what does that mean either, I'm not really into programming or anything, so i really don't have any idea..
Thank you so much for your time ^^
Niheel's Avatar
E
M
A
C
 
Join Date: Jul 2005
Location: Portland, OR, United States
Posts: 1,292
#4: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


Have you installed any other programs since the reformat? Can you list those programs?
RedSon's Avatar
E
C
 
Join Date: Jan 2007
Location: America
Posts: 3,929
#5: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


It's just a general windows error you see when starting your machine?

Have you downloaded anything recently that corresponds to this error happening?

Let me lay some technical knowledge on you:
The error is produced by the .net framework which either came pre-installed on your machine or was installed when you did a windows update some time ago.

What the error is saying is that somewhere there is a Visual Basic based application that is calling the method named DateSerial() to do some work for it. Unfortunately the information the programmer of this application passed to DateSerial() was invalid and the .net framework cannot continue executing the application. Therefore it displays this error message.

If you can identify the program or application or script that is executing and causing the error you can get rid of it by either uninstalling it or deleting it from your startup folder or removing it from your startup items. Once you get rid of it you should not see the error again.
RedSon's Avatar
E
C
 
Join Date: Jan 2007
Location: America
Posts: 3,929
#6: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


Heh, kub beat me to my question.

Another thought I had was that this may be caused by some malicious .net program or ActiveX control but I don't know if that is possible. .Net has some safeguards against being used in this way.
tlhintoq's Avatar
E
C
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 3,476
#7: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


My misunderstanding about your issue. I'm sorry. I thought you were getting this error when a program you wrote launched.

It is coming when *some* program is launching. So you need to identify which one it is.

A good start it a program called StartupCpl. It can be run as a stand alone .exe or as a control panel. It lets you see every program that runs at startup whether it be by registry entry or by being in the Programs | Startup folder, and lets you turn off their auto-launch.
http://www.mlin.net/StartupCPL.shtml

As mentioned, it is possibly a virus, so make sure to run some good scanning software such as AVG and SpyBot
 
Join Date: Mar 2010
Posts: 5
#8: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


well i didn't really format it by myself i took it to PC store and they did it for me.
i had a bad infection with win32/sality.NAO virus but its gone now and the store add some programs for me, here is a list:
winrar
winzip
Eset nod32
fairstars audio converter
adope(reader-flashplayer-photoshop)
itunes
mpegaable
nero
realplayer
google desktop
VLC media player
ACDsee 10 photomanager


and i download those 2:
Mozilla firefox
Opera

and there were those 2 programs (Real_SC and Advantage player) but i was paranoid after the bad infection i had and i scanned with eset the time i got my pc back and i found win32/sdbot trojan in REAL_SC player and Win32/Adware.whenU.savenowapplication. in Advantage player and i removed them both.

do you think that i should uninstall .NET Framework and install the latest version again?

ohh here is a picture of the window that keep poping up :

http://img40.imageshack.us/img40/5358/framework.jpg

and i had a huge updates when i got my PC back, but the problem started the moment i turned it on and before i install any updates or programs.
and I'm really sure (hopefully) that i don't have any infection because I'm scanning twice a day ^^'..
RedSon,kub365,tlhintoq.. Thank you so much you have been really helpful, and tlhintoq, I'm trying the program and i will give you the details later, THANK YOU!! ^__^
tlhintoq's Avatar
E
C
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 3,476
#9: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


  • winrar
  • winzip
  • Eset nod32
  • fairstars audio converter
  • adope(reader-flashplayer-photoshop)
  • itunes
  • mpegaable
  • nero
  • realplayer
  • google desktop
  • VLC media player
  • ACDsee 10 photomanager

and i download those 2:
Mozilla firefox
Opera
Several of those programs are commercial ($$) programs. Unless they installed trial versions (that are going to time-out), this store is loading up pirated software on customer computers. Which means they really can't be trusted. It is entirely possible that the pirated versions are virused.

You do have the factory install disc for Windows and a genuine serial number, right? Personally I would nuke the PC myself. Just boot from the disc and follow the prompts. Then again, there is no way I would put on Vista!!!!! Just pretend Vista was a bad dream and go to Win7.
 
Join Date: Mar 2010
Posts: 5
#10: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


eheehee well i had to use Vista because i have the genuine ver, we still don't have the windows 7 in the market yet ( i live in saudi arabia -__-)..
i did scan with Eset nod32, no viruses(THANK GOD), but i'm going to download spybot and scan, hope it's not something serious -__-
Thank you so much for you time replying this ^^
tlhintoq's Avatar
E
C
 
Join Date: Mar 2008
Location: Arizona, USA
Posts: 3,476
#11: Mar 16 '10

re: Vista reformat and reinstall causes .NET framework problems


( i live in saudi arabia -__-)
That explains the pirated software being installed by a store.
 
Join Date: Mar 2010
Posts: 5
#12: Mar 17 '10

re: Vista reformat and reinstall causes .NET framework problems


Solved!!
it was the EULALauncher.exe i just disable it from the start up and everything is running smoothly ^__^
Thank you so much all of you for your time ^__^
Reply

Tags
bug, framework, tb_eula