“/”应用程序中的服务器错误。

给定关键字不在字典中。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Collections.Generic.KeyNotFoundException: 给定关键字不在字典中。

源错误:


行 95:         <div>
行 96:             <p>
行 97:                 出发城市:<%=BaseInfo["StartCity"]%></p>
行 98:             <p>
行 99:                 往返交通:<%=BaseInfo["LineJT1"]%>/<%=BaseInfo["LineJT2"]%></p>

源文件: e:\WebSite\H_合肥旅游集散中心\travel\Print.aspx    行: 97

堆栈跟踪:


[KeyNotFoundException: 给定关键字不在字典中。]
   System.ThrowHelper.ThrowKeyNotFoundException() +36
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +52
   ASP.travel_print_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\WebSite\H_合肥旅游集散中心\travel\Print.aspx:97
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +117
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8753


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3429.0