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 (250 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 (215k 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

hi- I recently got this message when trying to view adv parameters for a user what does it mean? "index and count must refer to a location within the buffer.parameter name: bytes"

asked Dec 26, 2013 by MeliOnTheJob (10.6k points)
0 votes
1 answer

We are attempting to use the member property in a powershell script for all groups. We get this error message on certain groups that are used as "primary". If we set another ... just shows the single member in the group in which the group is not the primary.

asked Feb 19 by mark.it.admin (3.9k points)
0 votes
1 answer

On rare occasions, I get the following message when viewing the exchange properties; 'The operation cannot be executed by any available API.' This only happens to a ... these properties are displayed for users. Has anyone else experienced this issue at all?

asked Sep 1, 2016 by Martyn (480 points)
0 votes
0 answers

Hello, When I click on a user from the web interface I get this error message at the top of the page : The search filter cannot be recognized. (Server: domainname) Before ... one for service desk). What can I do to troubleshoot and find out the cause? thanks.

asked Apr 29, 2016 by tentaal (5.6k points)
0 votes
1 answer

Dear Can I use more than ten adm-CustomAttributeTextMultiValue in Adaxes? Sincerly

asked Jun 29 by hilmiemrebayat (710 points)
2,246 questions
2,007 answers
5,494 comments
19,945 users