The given key was not present in the dictionary.

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 111:            string lang = getLang(); 
Line 112:            //HttpContext.Current.Response.Write(lang); HttpContext.Current.Response.End();
Line 113:            DomainConfigElement domainConfig = dDomainConfig[lang];
Line 114:
Line 115:            //--------------------- check conditional rewrites ---

Source File: d:\inetpub\wwwroot\www.febreze.jp\wwwroot\App_Code\Service\Url\International\UniversalRewrite.cs    Line: 113

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +142
   HyperMedia.CMS.Service.Url.International.UniversalRewrite.getPage(String path) in d:\inetpub\wwwroot\www.febreze.jp\wwwroot\App_Code\Service\Url\International\UniversalRewrite.cs:113
   HyperMedia.CMS.Service.Url.Rewriter.getPageByPath(String rewritedPath) in d:\inetpub\wwwroot\www.febreze.jp\wwwroot\App_Code\Service\Url\Rewriter.cs:140
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in d:\inetpub\wwwroot\www.febreze.jp\wwwroot\Global.asax:137
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


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