web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    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

  • fajar Profile Picture
    3,805 on at

    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

    Hi Pii,

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

    Thanks,

    Priyanka

  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,691 Super User 2026 Season 1 on at

    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.

  • Community Member Profile Picture
    on at

    hi,

    can we increase it to 10 or 20 MB?

    what would be the parameter value? 0x02000000?

    thanks

  • Community Member Profile Picture
    on at

    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.

  • CU12010241-0 Profile Picture
    105 on at

    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" .

  • Suggested answer
    CU12010241-0 Profile Picture
    105 on at

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans