Bug Report T303283
Visible to All Users

ASPxSpreadsheet - KeyNotFoundException occurs in a deployed application in certain conditions

created 9 years ago (modified 9 years ago)

Exception details:

Exception type: KeyNotFoundException
    Exception message: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at DevExpress.Web.ASPxSpreadsheet.Internal.GridTileControl.CreateBorder(PageBorderCollection pageBorderCollection, BorderLineBox borderLineBox, String className)
   at DevExpress.Web.ASPxSpreadsheet.Internal.GridTileControl.CreateBorders(List`1 borders, String className)
   at DevExpress.Web.ASPxSpreadsheet.Internal.GridTileControl.CreateControlHierarchy()
   at DevExpress.Web.ASPxWebControlBase.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DevExpress.Web.ASPxWebControlBase.BeforeRender()
   at DevExpress.Web.ASPxWebControlBase.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetRenderResult(Control control)
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetGridTileCallbackResult(TilePosition tilePosition)
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetNewTilesRenderInfo()
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetRenderHashtableResult(Hashtable json)
   at DevExpress.Web.ASPxSpreadsheet.Internal.Commands.WebSpreadsheetCommandBase.GetResult(SpreadsheetRenderHelper renderHelper)
   at DevExpress.Web.Documents.Internal.DocumentRequestManager.ProcessRequest()
   at DevExpress.Web.ASPxHttpHandlerModule.ProcessRequestCore(RequestEvent requestEvent)
   at DevExpress.Web.ASPxHttpHandlerModule.BeginRequestHandler(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Request information:
    Request URL: http://localhost/BDE_WZB/Anzeigen/Wochenplan/DXS.axd?s=7955e8dd-03df-40bd-973f-23bc3f17924f
    Request path: /BDE_WZB/Anzeigen/Wochenplan/DXS.axd
    User host address: ::1
    User:
    Is authenticated: False
    Authentication Type:
    Thread account name: IIS APPPOOL.NET v4.5

Thread information:
    Thread ID: 21
    Thread account name: IIS APPPOOL.NET v4.5
    Is impersonating: False
    Stack trace:    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at DevExpress.Web.ASPxSpreadsheet.Internal.GridTileControl.CreateBorder(PageBorderCollection pageBorderCollection, BorderLineBox borderLineBox, String className)
   at DevExpress.Web.ASPxSpreadsheet.Internal.GridTileControl.CreateBorders(List`1 borders, String className)
   at DevExpress.Web.ASPxSpreadsheet.Internal.GridTileControl.CreateControlHierarchy()
   at DevExpress.Web.ASPxWebControlBase.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DevExpress.Web.ASPxWebControlBase.BeforeRender()
   at DevExpress.Web.ASPxWebControlBase.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetRenderResult(Control control)
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetGridTileCallbackResult(TilePosition tilePosition)
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetNewTilesRenderInfo()
   at DevExpress.Web.ASPxSpreadsheet.Internal.SpreadsheetRenderHelper.GetRenderHashtableResult(Hashtable json)
   at DevExpress.Web.ASPxSpreadsheet.Internal.Commands.WebSpreadsheetCommandBase.GetResult(SpreadsheetRenderHelper renderHelper)
   at DevExpress.Web.Documents.Internal.DocumentRequestManager.ProcessRequest()
   at DevExpress.Web.ASPxHttpHandlerModule.ProcessRequestCore(RequestEvent requestEvent)
   at DevExpress.Web.ASPxHttpHandlerModule.BeginRequestHandler(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Answers approved by DevExpress Support

created 9 years ago

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.