Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Answered

Attachments file (Max. File size exceeded)

(0) ShareShare
ReportReport
Posted on by 3,805

I want attachment my file with file size 5MB, but Error.

Do you can help me?

How max file size for attachment?

And can i change max file size in my AX ? If can, how?

Thanks all..

*This post is locked for comments

  • Suggested answer
    Muhammad Anas Ayub Profile Picture
    105 on at
    RE: Attachments file (Max. File size exceeded)

    Hima , You can find it in registry HKLM\Software\Microsoft\Rpc\MaxRpcSize. If it not exists then you need to add it manually .

  • Muhammad Anas Ayub Profile Picture
    105 on at
    RE: Attachments file (Max. File size exceeded)

    I am also facing same issue when i am trying to upload a larger file greater then 4 MB  its giving me Max. File size exceeded error . I have tried directly from rich client but same error . Then i have increases the file size in Organization >  Document Management > Document Management Parameters to 20 MB . I have  also added DWORD  Value "MaxRpcSize"  in registry file HKLM\Software\Microsoft\Rpc  but after that error message changes to "Your Microsoft Dynamics AX session is no longer valid Log off your Computer and Log On again" .

  • Community Member Profile Picture
    on at
    RE: Attachments file (Max. File size exceeded)

    Hi all,

    I want to know how to find if the maximum size of file that can be attached will be 4mb? Please let me know how to check MaxRpcSize for AX 2009 with Windows Server 2008 os.

    Thanks,

    Hima.

  • Community Member Profile Picture
    on at
    RE: Attachments file (Max. File size exceeded)

    hi,

    can we increase it to 10 or 20 MB?

    what would be the parameter value? 0x02000000?

    thanks

  • Verified answer
    André Arnaud de Calavon Profile Picture
    295,944 Super User 2025 Season 1 on at
    RE: Attachments file (Max. File size exceeded)

    The latest link is a description for AX4, but for sure has also the key to your solution. You need to add a new registry value on the AOS server.

    The standard is 4 MB. If you change the value in AX, you get an warning that you have to expand the MaxRpcSize, but it does not tell you how.

    1 Start the Registry Editor on your AOS machine.

    2.Open the following registry key: HKLM\Software\Microsoft\Rpc

    3.Add a new DWORD value named MaxRpcSize to the key.

    4.Give the MaxRPCSize parameter a value of 0x00500000 (5 MB).

    5.Close Registry Editor.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Attachments file (Max. File size exceeded)

    Hi Pii,

    Check this out http://blogs.msdn.com/b/emeadaxsupport/archive/2009/04/23/document-hanlding-rpc-limit.aspx

    Thanks,

    Priyanka

  • fajar Profile Picture
    3,805 on at
    RE: Attachments file (Max. File size exceeded)

    Thanks Priyanka Agarwal...

    I submit 10 Max file size in database.

    And i attach new file with file size 5MB show Error.

    "Your Microsoft Dynamics AX session is no longer valid. Log off your computer and log on again"

    Why? Thanks...

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Attachments file (Max. File size exceeded)

    Hi Pii,

    Check the setup at Organization administration > Setup > Document management > Document management parameters.

    Visit technet.microsoft.com/.../dn636897.aspx for more information on configuring document management.

    Thanks,

    Priyanka Agarwal

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Kempeth Profile Picture

Kempeth 4

#1
Andy Adamak Profile Picture

Andy Adamak 4

#1
Community Member Profile Picture

Community Member 4

Featured topics

Product updates

Dynamics 365 release plans