Guest User

Untitled

a guest
Jan 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. Server Error in '/' Application.
  2.  
  3. The given key was not present in the dictionary.
  4.  
  5. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  6.  
  7. Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  8.  
  9. Source Error:
  10.  
  11. The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
  12.  
  13. 1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
  14.  
  15. <%@ Page Language="C#" Debug="true" %>
  16.  
  17. or:
  18.  
  19. 2) Add the following section to the configuration file of your application:
  20.  
  21. <configuration>
  22. <system.web>
  23. <compilation debug="true"/>
  24. </system.web>
  25. </configuration>
  26.  
  27. Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
  28.  
  29. Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
  30.  
  31. Stack Trace:
  32.  
  33.  
  34. [KeyNotFoundException: The given key was not present in the dictionary.]
  35. System.ThrowHelper.ThrowKeyNotFoundException() +28
  36. System.Collections.Generic.Dictionary`2.get_Item(TKey key) +2639328
  37. Security_Login.CleanAttempts(String loginToken) +416
  38. Security_Login.ButtonLogin_Click(Object sender, EventArgs e) +66
  39. System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
  40. System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
  41. System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
  42. System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
  43. System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
  44. System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
  45.  
  46. Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433
Add Comment
Please, Sign In to add comment