| victoria_8973 a întrebat:

Va roooog ajutati-ma! E urgent si e o poblema majora!
Mai ieri lucram cu o programa, dar azi nu mai merge, deoarece imi da o eroare:
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.
Index and length must refer to a location within the string.
Parameter name: Length
Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at System.String.Substring(Int32 startIndex, Int32 length)
at iBank23.frmIBank23.LoadForm()
at iBank23.frmIBank23.frmIBank23_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessa ge(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/ms corlib.dll
----------------------------------------
iBank23
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Ра бочий%20стол/iBank. v23/iBank23. exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Form s/2.0.0.0__b77a5c561934e089/System.Windows.Forms. dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77 a5c561934e089/System. dll
----------------------------------------
System. Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System. Drawing/2.0.0.0__b03f5f7f11d50a3a/System. Drawing. dll
----------------------------------------
System. Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System. Data/2.0.0.0__b77a5c561934e089/System. Data. dll
----------------------------------------
System. Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System. Xml/2.0.0.0__b77a5c561934e089/System. Xml. dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuratio n/2.0.0.0__b03f5f7f11d50a3a/System.Configuration. dll
----------------------------------------
Interop. VB32
Assembly Version: 86.0.0.0
Win32 Version: 86.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Ра бочий%20стол/iBank. v23/Interop. VB32. 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:





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.
Uitati ce am facut:
Am pus din nou Microsoft. Net Framework 2.0, si Microsoft. Net SDK 2.0
Am cautat pe diferite site-uri, si am gasit cum sa activez JIT debugging, dar e in engleza, si la mine windows-ul e in rusa… Am incercat sa schimb limba, dar imi cere un CD pe care nu-l am… Apoi am mai gasit ceva… si trebuia sa ma duc la >Run-Regedit. Dar acolo nu stiu din ce cauza multe fisiere lipsesc.
Acum, ceea ce vreau sa va intreb:
Cum sa schimb limba fara sa-mi ceara CD-ul?
De ce imi lipsesc atitea fisiere?
Cum sa le restabilesc?
Si ce trebuie sa mai fac ca sa scap de acea eroare?
Va rooooooog mult, ajutati-ma, cei care au avut ceva de genul asta, ce ati facut? URGENT! Multumesc anticipat 

2 răspunsuri:
anonim_4396
| anonim_4396 a răspuns:

Cred ca este din cauza faptului ca ati sters locatia "file:///C:/WINDOWS/assembly/GAC_MSIL" si programul nu mai poate accesa acele functii. Incercati sa vedeti daca mai aveti folderul acolo, daca nu instalati din nou suita. NET(un link folositor: http://www.vistax64.com/......ctory.html

Mai multe referinte despre ce inseamna msil si jit:
http://en.wikipedia.org/wiki/Common_Intermediate_Language
http://en.wikipedia.org/wiki/Just-in-time_compilation

Sper ca informatia sa fie folositoare

| iulik99 a răspuns:

Da si eu cred la fel ca anonim ati sters locatia aceea verificati daca mai este acolo folderul cu placere