Microsoft .NET Framework – Error

Oct 17, 2010 at 3:02 PM
Edited Oct 17, 2010 at 3:05 PM


You have done a very good job on this AutoLoL programme and I thank you very much for making it.

But recently I have been encountering a problem: whenever I start AutoLoL, I get an error message (, and when I click continue, the message just pops up again.

I have reinstalled the programme many times, and have also tried repairing my Microsoft .NET 4 and restarted my computer, but my problem persists.

Furthermore, when I click on the 'Details' button, I get the following message:



"See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************System.Security.Cryptography.CryptographicException: Key not valid for use in specified state.
   at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope)   at AutoLoL.UI.Helpers.Encryption.Unprotect(String protectedPassword)   at AutoLoL.UI.MainWindow.get_LolPassword()   at AutoLoL.UI.MainWindow.CheckLoginTimer_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:    Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------AutoLoL    Assembly Version:    Win32 Version:    CodeBase: file:///C:/Users/Henry/Desktop/AutoLoL.exe----------------------------------------PresentationFramework    Assembly Version:    Win32 Version: 3.0.6920.5001 built by: Win7RTMGDR    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/    Assembly Version:    Win32 Version: 3.0.6920.5001 built by: Win7RTMGDR    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/    Assembly Version:    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/    Assembly Version:    Win32 Version: 3.0.6920.5001 built by: Win7RTMGDR    CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/    Assembly Version:    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/    Assembly Version:    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/    Assembly Version:    Win32 Version: 3.0.6920.4902 built by: NetFXw7    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Aero/    Assembly Version:    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/    Assembly Version:    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/    Assembly Version:    Win32 Version: 2.0.50727.4951 (win7RTMGDR.050727-4900)    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/    Assembly Version:    Win32 Version: 3.5.30729.4926 built by: NetFXw7    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/    Assembly Version:    Win32 Version: 3.5.30729.4926 built by: NetFXw7    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/
************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the section.The application must also be compiled with debuggingenabled.
For example:
<configuration>    < jitDebugging="true" /></configuration>
When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box."



The problem is, I don't understand a thing of what's written.

Could you please help me solve my issue?


Thank you very much.

Oct 17, 2010 at 7:08 PM
Edited Oct 20, 2010 at 11:51 PM

There appears to be an error with encryption or settings. I recommend that you use the next release of AutoLoL, since it has a different way of storing settings. It could fix the problem.

Edit: This version has been released now.

Oct 23, 2010 at 9:15 PM

It worked. Thank you very much for you reply! :)