SAP Knowledge Base Article - Preview

2253974 - Delete failed when trying to delete multi-byte character from the User-defined - Afaria


Occurs error when trying to delete multi-byte character data from device substitution variable section.
In this case, the data can not be deleted.

Server Error in '/Afaria' Application.
There is no row at position -1.
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.IndexOutOfRangeException: There is no row at position -1.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[IndexOutOfRangeException: There is no row at position -1.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2409382
   Afaria.Admin.UserControls.Device.VariableManager.DeleteVariable(SubstitutionVariableType eType, String sName) +409
   Afaria.Admin.UserControls.Device.VariableManager.ajaxMgr_VariableManagerAjaxRequest(Object sender, AjaxRequestEventArgs e) +301
   Telerik.Web.UI.AjaxRequestDelegate.Invoke(Object sender, AjaxRequestEventArgs e) +0
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804



  • SAP Afaria 7.0 SP7
  • SAP Afaria 7.0 SP8
  • iOS
  • Android


SAP Afaria 7.0


User Defined, double-byte, database, collation, USR, A_DEV_SUBSTVAR_NAME, iOS, Android, non-English, SMS-22872 , KBA , MOB-AFA-ADM , Mobile Secure Afaria Administration , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.