Hej!
Jag har stött på problem med .net sedan jag installerade windows xp.
Problemen dyker upp i vissa applikationer samt i en del spel,
ett urdrag ur felmeddelandet ifrån ett spel är;
"An unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediateley.
Specified argument was out of range of valid values. Parameter name: Value to add was out of range."
Detta står som 'överskrift' till en ruta som Microsoft .NET Framework framkallar.
Versionen av .net jag använder är 1.1, samma problem dyker upp med 1.0, 2.0 med eller utan servicepack och säkerhetsfixar.
Nedan följer ett utdrag från Details vid samma felmeddelande;
"************** Exception Text **************
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: Value to add was out of range.
at System.DateTime.Add(Double value, Int32 scale)
at System.DateTime.AddSeconds(Double value)
at Assistant.MainForm.timerTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)"
Längst ned på samma 'sida' finns texten
"************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog."
Min fråga är då ifall jag kan slippa felmeddelandena, eller allra helst, hur man åtgärdar problemet?
Om ni behöver mera är det bara att skriva.
M.v.h Johan Fällman