'/' 應用程式中發生伺服器錯誤。

指定的索引鍵不在字典中。

描述: 在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外狀況詳細資訊: System.Collections.Generic.KeyNotFoundException: 指定的索引鍵不在字典中。

原始程式錯誤:


行 132:        {
行 133:            DataView_GeeShop.RowFilter = "sn = " + Dsn + "";
行 134:            return DataView_GeeShop.ToTable();
行 135:        }
行 136:    }

原始程式檔: d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs    行: 134

堆疊追蹤:


[KeyNotFoundException: 指定的索引鍵不在字典中。]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +13029779
   System.Data.DataView.CopyTo(DataRowView[] array, Int32 index) +123
   System.Data.DataView.GetEnumerator() +40
   System.Data.DataView.ToTable(String tableName, Boolean distinct, String[] columnNames) +503
   System.Data.DataView.ToTable() +33
   Lib_UserControl_UCLtrDirUl2.GetDirDB(Int32 DBFlag, Int32 Dsn) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:134
   Lib_UserControl_UCLtrDirUl2.Drop_Dir(Int32 DBFlag, Int32 Flag, Int32 Dsn, String PageName) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:81
   Lib_UserControl_UCLtrDirUl2.Drop_Dir(Int32 DBFlag, Int32 Flag, Int32 Dsn, String PageName) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:105
   Lib_UserControl_UCLtrDirUl2.Drop_Dir(Int32 DBFlag, Int32 Flag, Int32 Dsn, String PageName) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:105
   Lib_UserControl_UCLtrDirUl2.Drop_Dir(Int32 DBFlag, Int32 Flag, Int32 Dsn, String PageName) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:105
   Lib_UserControl_UCLtrDirUl2.Drop_Dir(Int32 DBFlag, Int32 Flag, Int32 Dsn, String PageName) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:105
   Lib_UserControl_UCLtrDirUl2.Drop_Dir(Int32 DBFlag, Int32 Flag, Int32 Dsn, String PageName) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:96
   Lib_UserControl_UCLtrDirUl2.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhost.web\topboss.com.tw\www\Lib\UserControl\UCLtrDirUl2.ascx.cs:47
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4676.0