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 164:                    HyperMedia.Lib.GResponse.Redirect(rewritedPath);
Line 165:                }
Line 166:                STPage page = r.getPageByPath(rewritedPath);
Line 167:
Line 168:                StructurePage stPage = new StructurePage(schema);

Source File: d:\inetpub\wwwroot\\wwwroot\Global.asax    Line: 166

Stack Trace:

[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +28
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +123
   HyperMedia.CMS.Service.Url.International.UniversalRewrite.getPage(String path) +138
   HyperMedia.CMS.Service.Url.Rewriter.getPageByPath(String rewritedPath) +17
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in d:\inetpub\wwwroot\\wwwroot\Global.asax:166
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491