Rab Khan (Customer) asked a question.

After updating Sitefinity from V 14. 15.1, I am getting this error "Length cannot be less than zero." on bunch of admin pages. see the detail error below

ActivityId: 5871f9df-29e9-xxxx-b9cf-xxxxxxxxx

 

Timestamp: 11/4/2024 7:11:33 PM

 

Message: HandlingInstanceID: 2xxxxxxxxxx956b-ab7d17b92aff

An exception of type 'System.ArgumentOutOfRangeException' occurred and was caught.

----------------------------------------------------------------------------------

11/04/2024 14:11:33

Type : System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Message : Length cannot be less than zero.

Parameter name: length

Source : mscorlib

Help link : 

ActualValue : 

ParamName : length

Data : System.Collections.ListDictionaryInternal

TargetSite : System.String Substring(Int32, Int32)

HResult : -2146233086

Stack Trace :  at System.String.Substring(Int32 startIndex, Int32 length)

  at Telerik.Sitefinity.AdminBridge.Web.UI.HostPageWrapperBase.RemoveScript(String scriptRef)

  at Telerik.Sitefinity.AdminBridge.Web.UI.HostPageWrapperBase.ConfigureScriptManager(ScriptManager scriptManager)

  at System.EventHandler.Invoke(Object sender, EventArgs e)

  at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)

  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Additional Info:

 

MachineName : xxxxxx

TimeStamp : 11/4/2024 7:11:33 PM

FullName : Telerik.Sitefinity.Utilities, Version=15.1.8300.0, Culture=neutral, PublicKeyToken=b28c218413bdf563

AppDomainName : /LM/W3SVC/4/ROOT-1-13xxxxxxxxxxxx42

ThreadIdentity : xxxxx@xxxxx.xxx

WindowsIdentity : IIS APPPOOL\xxxxxx

Requested URL : https://xxxxx.xxx/Sitefinity/Administration/Settings/Basic/WebSecurityBasicSettings

 

 

Category: ErrorLog

 

Priority: 0

 

EventId: 90000

 

Severity: Error

 

Title:Enterprise Library Exception Handling

 

Machine: xxxxxxxx

 

App Domain: /LM/W3SVC/4/ROOT-1-xxxxxxxxxxxxx

 

ProcessId: 8972

 

Process Name: c:\windows\system32\inetsrv\w3wp.exe

 

Thread Name: 

 

Win32 ThreadId:10516

 


  • Evgeni Viyachev (Progress Software)

    Hello Rab,

     

    The issue seems to be related to the incorrect installation of the AdminBridge module after the upgrade. Could you try restoring the AdminApp folder by following the steps outlined here?

    https://www.progress.com/documentation/sitefinity-cms/restore-adminapp-folder

     

    Also, I observed you have submitted another issue after the upgrade that involves the NuGet update of a third-party dependency. As this action is not supported (each Sitefinity installation must be used with the original 3rd-party dependency versions that come out of the box), it could be influencing the currently discussed problematic behavior. Check if resolving the other issue would impact this one positively.

     

    In case the issue persists, please make sure to open a support ticket with us. I appreciate your understanding.

     

    Regards,

    Evgeni

  • Rab Khan (Customer)

    Thank you for your response. I checked and I have absolutely the right Nuget version for Sitefinity.AdminApp. see the screenshot below

    imagePlease let me know if any other information from my side would be useful, so that I can share