473,387 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Vista reformat and reinstall causes .NET framework problems

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 ^^
Mar 16 '10 #1
11 3047
RedSon
5,000 Expert 4TB
Apparently the value of "Year" is not valid. Perhaps you should double check that you have given it a valid value.
Mar 16 '10 #2
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 ^^
Mar 16 '10 #3
Niheel
2,460 Expert Mod 2GB
Have you installed any other programs since the reformat? Can you list those programs?
Mar 16 '10 #4
RedSon
5,000 Expert 4TB
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.
Mar 16 '10 #5
RedSon
5,000 Expert 4TB
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.
Mar 16 '10 #6
tlhintoq
3,525 Expert 2GB
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
Mar 16 '10 #7
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!! ^__^
Mar 16 '10 #8
tlhintoq
3,525 Expert 2GB
  • 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.
Mar 16 '10 #9
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 ^^
Mar 16 '10 #10
tlhintoq
3,525 Expert 2GB
( i live in saudi arabia -__-)
That explains the pirated software being installed by a store.
Mar 16 '10 #11
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 ^__^
Mar 17 '10 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

37
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with...
13
by: Karl | last post by:
Hi all. I've recently rebuilt my Vista Ultimate workstation with Visual Studio Team Developer edition. Ive also put on the SQL Server 2005 tools and it's fully patched. I was building a web...
5
by: Wayne | last post by:
Several of my Access 2003 databases are exhibiting the same problem under Windows Vista. Charts in forms are not showing any data. Reports are not affected. Charts in reports display as they...
19
by: =?Utf-8?B?TWlrZTk5MDA=?= | last post by:
When there is a shortcut of our app on the desctop, the app is not run until all the security in control panel of win vista is cleared. What to do to not have this problem. We do not want to tell...
7
by: =?Utf-8?B?RGF2aWRBdmlzb2Z0?= | last post by:
I support some legacy applications and use both VB6 and VB7 (.net) development environments on a Windows XP computer. The machine is due for replacement. The question is - can I install vb6 and...
3
YarrOfDoom
by: YarrOfDoom | last post by:
I want to install Linux (Kubuntu 7.10, 64-bit edition) on my pc, and I've noticed that for some reason I can't partition my hdd (probably microsofts fault) and so taht I will have to reformat it. So...
0
by: Just_a_fan | last post by:
Upgrading is a myth! Did you reinstall VS after upgrading? Did you install the needed Frameworks? Just guessing here... Mike On Fri, 11 Apr 2008 01:05:01 -0400, in...
3
by: =?Utf-8?B?a25vYmJ5?= | last post by:
i am trying to reformat my hard drive and reinstall win xp pro but for some reason i cant. here is the problem. when i boot from cd everything seems to go right untill it says press enter to run...
2
by: Tam | last post by:
Im running into problems installing either VS 05 or 08 on a Vista Premium 64 bit machine and, ahem, it isnt going sweetly. When installing i get an "Error 1935.An error occured during the...
2
by: xxsassxx31 | last post by:
Hello....beforehand I want to thank you for your help regarding the problems I can't seem to fix. I am using Windows Vista and I have run scandisk/disk defrag/computer cleanup with various programs...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.