Hello there,
we are using AX2012 with enterprise portal.
When trying to select multiple record on list page, the page immediately shows issue below.
After selecting the second record, the EP page shows error below.
This happens on every EP list page. And below is the details found in event log.
We have tried to refresh AOD, element and data dictionary. Generate full CIL after deleting XPPL files, redeploy EP web site and restart AOS but the problem is still there.
What else could we try? Many thanks.
An unexpected error has occurred.
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ArgumentOutOfRangeException
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Microsoft.Dynamics.AX.Framework.Portal.Data.DataAccessObject.AxDataAccessObjectView.<SetSelectedRowIndices>b__1c(Int32 rowIndex)
at Microsoft.Dynamics.AX.Framework.Services.Client.EnumerableExtensions.ForEach[TItem](IEnumerable`1 enumerable, Action`1 action)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxGridView.HandleMarking(IReadOnlySet`1 markingIndexes)
*This post is locked for comments
Hi Tom,
Check Form Authentication option in Enterprise Portal web site in IIS, Authentication section. Also check advanced settings.
There may be some security conflict, depending on your settings, in which case, you can disable /off (compare your environment with this image [all groups] ) test in a non-production environment, with backup.
However, if you use anonymous access to the EP, these changes can influence authentication.
I Hope this Helps!
Regards,
Rodolfo Recalde.
Hi Alex, we have tried all those mentioned steps but still not working.
The EP was working fine before we create a claim-based EP.
It gives error message below:
Please follow the below steps:
1. Stop the AOS.
2. Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\InstanceName\bin\XppIL directory.
3. Start the AOS.
4. Run command prompt by Run As Administrator
5. go to C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\
6. Use command to run compilation. axbuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin"
7. Perform a Full CIL.
8. Perform a Incremental CIL.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
Zain Mehmood
6
Moderator