“/”應用程序中的服務器錯誤。

給定關鍵字不在字典中。

說明: 執行當前 Web 請求期間,出現未處理的異常。請檢查堆棧跟蹤信息,以了解有關該錯誤以及代碼中導致錯誤的出處的詳細信息。

異常詳細信息: System.Collections.Generic.KeyNotFoundException: 給定關鍵字不在字典中。

源錯誤:

執行當前 Web 請求期間生成了未處理的異常。可以使用下麵的異常堆棧跟蹤信息確定有關異常原因和發生位置的信息。

堆棧跟蹤:


[KeyNotFoundException: 給定關鍵字不在字典中。]
   System.ThrowHelper.ThrowKeyNotFoundException() +28
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +7460396
   PyShop.Model.Shop_Shop.get_AttributeLanguage() +187
   PyShop.Model.Shop_Shop.get_SeoTitle() +37

[TargetInvocationException: 調用的目標發生了異常。]
   System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
   System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) +53
   System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) +20
   VTemplate.Engine.Utility.GetPropertyValue(Object container, String propName, Boolean& exist) +1573
   VTemplate.Engine.VariableExpression.GetValue(Object data) +742
   VTemplate.Engine.VariableExpression.GetValue(Object data) +900
   VTemplate.Engine.VariableExpression.GetValue() +71
   VTemplate.Engine.VariableTag.Render(TextWriter writer) +156
   VTemplate.Engine.Tag.RenderTagData(TextWriter writer) +206
   VTemplate.Engine.IfTag.RenderTagData(TextWriter writer) +119
   VTemplate.Engine.Tag.Render(TextWriter writer) +99
   VTemplate.Engine.OutputTag.RenderTagData(TextWriter writer) +481
   VTemplate.Engine.Tag.Render(TextWriter writer) +99
   VTemplate.Engine.Tag.RenderTagData(TextWriter writer) +206
   VTemplate.Engine.Tag.Render(TextWriter writer) +99
   VTemplate.Engine.Tag.RenderTagData(TextWriter writer) +206
   VTemplate.Engine.Template.RenderTagData(TextWriter writer) +300
   VTemplate.Engine.Tag.Render(TextWriter writer) +99
   PyShop.UIBase.ShopTemplateHandle.OnRender(EventArgs e) +157
   PyShop.UIBase.ShopTemplateHandle.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +125


版本信息: Microsoft .NET Framework 版本:2.0.50727.5485; ASP.NET 版本:2.0.50727.5491