0 votes

When trying to modify a user via web inerface, logged in as administrator, after selectin user, clicking on it i receive the following error:

Fatal Error
Length cannot be less than zero. Parameter name: length.

Can you help me?
Thanks,
Claudio

by (20 points)
0

Hello Claudio,

Please have a look at the Adaxes Event Log. See this help article on how to view the log: Service Event Log

Are there any errors or warnings related to the issue?

0

Hi,
this is the error reported:
Softerra.Adaxes.Web.Common.FatalErrorException: An unhandled exception occured (for details, see messages below). ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at Softerra.Adaxes.Web.UI.ManageDirectory.Controls.LogonHoursEditor.CreateColumnHeaderCell(Int32 columnIndex, String timeSeparator)
at Softerra.Adaxes.Web.UI.ManageDirectory.Controls.LogonHoursEditor.CreateLogonHoursTable(TableCell cell)
at Softerra.Adaxes.Web.UI.ManageDirectory.Controls.LogonHoursEditor.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---

1 Answer

0 votes
by (216k points)

Hello Claudio,

What locale settings are you using in the web browser that you are trying to open the Adaxes Web Interface from?

As a workaround, you can change the locale to English (United States) (en-us). Another option is to remove the logon hours property from the form if you don't need it. See step 6 of this tutorial on how to accomplish this: Customize Forms for User Creation and Editing.

However, if this issue is critical for you and you cannot use any of the workarounds, we can make a custom build.

Related questions

0 votes
1 answer

Error occurs when trying to use SSPR from self-service web interface and from the Windows login screen. Has anyone seen this before? I haven't been able to ... configured exactly how it is laid out here: https://adaxes.com/help/ConfigurePasswordSelfService/

asked Apr 19, 2023 by dhodgin (40 points)
0 votes
1 answer

I am looking for a way to ensure that a custom command can only be run is an user account is more than 30 minute old. Ideally I would like the command to be hidden ... is less than 30 minutes old. We need this check because of sync timings. Thanks, Allistair

asked Dec 18, 2023 by a.blonk (170 points)
0 votes
0 answers

Upgraded to the latest adaxes release yesterday and now this morning we are not able to access our self-service portal. We have rebooted our server and verified our adaxes service is successfully connected our domains. Any help would be appreciated, thank you!

asked Mar 14 by dhodgin (40 points)
0 votes
0 answers

Hello, I get this error after logging into the web interface (As Adaxes Admin):   Fatal Error - Cannot process the request because the request signature is invalid or ... Adaxes Services/Server about 3 or 4 times now and restarting the computer as well.

asked Feb 6, 2023 by Edogstraus00 (470 points)
0 votes
0 answers

Hello, after upgrading to Adaxes 2023 we lost connection to Web Interface Configurator. Adaxes and Adaxes Web Interface are ok and users are able to login. URL http: ... went ok except I had to start manually Softerrra Adaxes service after restoring settings.

asked Nov 28, 2022 by juhota (210 points)
3,342 questions
3,043 answers
7,766 comments
544,933 users