Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012 enterprise portal multiple select issue

(0) ShareShare
ReportReport
Posted on by 80

Hello there,

we are using AX2012 with enterprise portal.

When trying to select multiple record on list page, the page immediately shows issue below.

EPERROR1.png

After selecting the second record, the EP page shows error below.

4336.EPERROR.png

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

  • Rodolfo Recalde Profile Picture
    on at
    RE: AX2012 enterprise portal multiple select issue

    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.

    IIS_5F00_form_5F00_authentication_5F00_EP_5F00_DAX_5F00_RECALDE.png

    However, if you use anonymous access to the EP, these changes can influence authentication.

    I Hope this Helps!

    Regards,

    Rodolfo Recalde.

  • TomC. Profile Picture
    80 on at
    RE: AX2012 enterprise portal multiple select issue

    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:

    2538.E2.png2538.E2.png2337.E3.png

  • Alex Tenório Profile Picture
    70 on at
    RE: AX2012 enterprise portal multiple select issue

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans