| 
	Group: Forum MembersPosts: 190, 
    Visits: 1.3K
 
 | 
                    
			            Hi,
 I have problem as below. It seem like the sharedDataTable is just gone or its key just changed. May I know in what condition it could happen? I am using 1.6.9.9. I can't upgrade now.
 
 
 
 
 
 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 239:                    {
 
 Line 240:                        this.GetBackupPendingLeaves();
 
 Line 241:                        this.LVELeaves.Refresh();
 
 Line 242:                        this.grdvPendingLeaves.DataBind();
 
 Line 243:
 
 
 
 Source File: D:\FlexHR\Trunk\Mainline\Leave\UI\Web\Forms\FormBackupPendingLeaves.aspx.cs    Line: 241
 
 
 
 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) +7456284
 
 MicroFour.StrataFrame.Business.SharedDataTableCollection.get_Item(String SharedTableKey) +47
 
 MicroFour.StrataFrame.Business.BusinessLayer.get__CurrentDataTable(Boolean IsSharedTable) +202
 
 MicroFour.StrataFrame.Business.BusinessLayer.get__CurrentDataTable() +41
 
 MicroFour.StrataFrame.Business.BusinessLayer.RefreshBoundControls() +76
 
 MicroFour.StrataFrame.Business.BusinessLayer.Refresh() +31
 
 Vfs.Leave.UI.Web.Forms.FormBackupPendingLeaves.submitDocument(String action) in D:\FlexHR\Trunk\Mainline\Leave\UI\Web\Forms\FormBackupPendingLeaves.aspx.cs:241
 
 Vfs.Leave.UI.Web.Forms.FormBackupPendingLeaves.btnApprove_Click(Object sender, EventArgs e) in D:\FlexHR\Trunk\Mainline\Leave\UI\Web\Forms\FormBackupPendingLeaves.aspx.cs:153
 
 DevExpress.Web.ASPxEditors.ASPxButton.OnClick(EventArgs e) +101
 
 DevExpress.Web.ASPxEditors.ASPxButton.RaisePostBackEvent(String eventArgument) +406
 
 DevExpress.Web.ASPxClasses.ASPxWebControl.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
 
 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
 
 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
 
 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
 
 
 |