Note that there are some explanatory texts on larger screens.

plurals
  1. POThe given key was not present in the dictionary error when running application in windows server 2008 r2
    primarykey
    data
    text
    <p>I have one web application made using MVC3 Razor.</p> <p>Application starts properly in browser but after put some values in text box &amp; click on search button I get error as </p> <p>"<strong>The given key was not present in the dictionary</strong>".</p> <p>This happens only in Windows server 2008 R2. In other Os like windows 7, Windows server 2008 sp1 it works fine.</p> <p>Below is the Stack Trace </p> <pre><code>[KeyNotFoundException: The given key was not present in the dictionary.] System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12686831 CVR_Prototype.Controllers.HomeController.CvrDetailsCompleted() +171 lambda_method(Closure , ControllerBase , Object[] ) +79 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass7.&lt;BeginExecute&gt;b__5(IAsyncResult asyncResult) +288 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass41.&lt;BeginInvokeAsynchronousActionMethod&gt;b__40(IAsyncResult asyncResult) +22 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass3b.&lt;BeginInvokeActionMethodWithFilters&gt;b__35() +129 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass51.&lt;InvokeActionMethodFilterAsynchronously&gt;b__4b() +810887 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass51.&lt;InvokeActionMethodFilterAsynchronously&gt;b__4b() +810887 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass39.&lt;BeginInvokeActionMethodWithFilters&gt;b__38(IAsyncResult asyncResult) +15 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass2c.&lt;BeginInvokeAction&gt;b__22() +33 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass27.&lt;BeginInvokeAction&gt;b__24(IAsyncResult asyncResult) +811468 System.Web.Mvc.&lt;&gt;c__DisplayClass19.&lt;BeginExecuteCore&gt;b__14(IAsyncResult asyncResult) +28 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass4.&lt;MakeVoidDelegate&gt;b__3(IAsyncResult ar) +20 System.Web.Mvc.AsyncController.EndExecuteCore(IAsyncResult asyncResult) +67 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass4.&lt;MakeVoidDelegate&gt;b__3(IAsyncResult ar) +20 System.Web.Mvc.AsyncController.EndExecute(IAsyncResult asyncResult) +53 System.Web.Mvc.&lt;&gt;c__DisplayClassb.&lt;BeginProcessRequest&gt;b__4(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.&lt;&gt;c__DisplayClass4.&lt;MakeVoidDelegate&gt;b__3(IAsyncResult ar) +20 System.Web.Mvc.&lt;&gt;c__DisplayClasse.&lt;EndProcessRequest&gt;b__d() +54 System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +136 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload