Server Error in '/' Application.

The given key was not present in the dictionary.

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.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:


Line 104:                else
Line 105:                {
Line 106:                    m_EntityHelpers.Add("Library", AppLogic.LibraryEntityHelper);
Line 107:                    m_EntityHelpers.Add("Genre", AppLogic.GenreEntityHelper);
Line 108:                    m_EntityHelpers.Add("Vector", AppLogic.VectorEntityHelper);

Source File: c:\HostingSpaces\hypv8505\myautoproductsstore.com\wwwroot\App_Code\SkinBase.cs    Line: 106

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12601411
   AspDotNetStorefrontCore.AppLogic.get_LibraryEntityHelper() in g:\Project2014\MedcoPremier\ASPDNSFCore\AppLogic.cs:112
   AspDotNetStorefront.SkinBase..ctor() in c:\HostingSpaces\hypv8505\myautoproductsstore.com\wwwroot\App_Code\SkinBase.cs:106
   AspDotNetStorefront.showmanufacturer..ctor() +29
   ASP.showmanufacturer_aspx..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\49d89429\77e4ef63\App_Web_e5eoglyr.0.cs:0
   __ASP.FastObjectFactory_app_web_e5eoglyr.Create_ASP_showmanufacturer_aspx() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\49d89429\77e4ef63\App_Web_e5eoglyr.37.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +31
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +104
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(String virtualPath, Type requiredBaseType) +31
   AspDotNetStorefront.WebFormRouteHandler.GetHttpHandler(RequestContext requestContext) in c:\HostingSpaces\hypv8505\myautoproductsstore.com\wwwroot\App_Code\WebFormRouteHandler.cs:90
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +9943261
   System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +85
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0