locked
Updating maximum file size does not have any effect RRS feed

  • Question

  • Hi all,

    I need to update the maximum file size that a Note's attachment can be. I have done the usual step of going into Settings -> Administration -> System Settings -> Email tab and changing the value in the Maximum File Size box. This did not let me attach a file larger than 5MB.

    When uploading a larger file, I just get a "An error has occurred" message without any further information (the "Download log" button is greyed out). I've been onto the database server and checked the Organization.MaxUploadFileSize but this value concurs with the System Settings value.

    Does anyone know if there's a value anywhere else that I need to update?

    Wednesday, July 23, 2014 4:20 PM

Answers

  • look in the registry.  I think it's HKLM\Software\Microsoft\MSCRM for maxuploadfilesize.  update that.  Also, check IIS and see if there are any timeout settings or file settings in your IIS configs.  CRM can't override IIS settings for stuff like that.

    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

    • Marked as answer by Jon_Evans Tuesday, July 29, 2014 9:26 AM
    Wednesday, July 23, 2014 8:29 PM

All replies

  • look in the registry.  I think it's HKLM\Software\Microsoft\MSCRM for maxuploadfilesize.  update that.  Also, check IIS and see if there are any timeout settings or file settings in your IIS configs.  CRM can't override IIS settings for stuff like that.

    The postings on this site are solely my own and do not represent or constitute Hitachi Solutions' positions, views, strategies or opinions.

    • Marked as answer by Jon_Evans Tuesday, July 29, 2014 9:26 AM
    Wednesday, July 23, 2014 8:29 PM
  • Hi Wayne,

    Thanks for your reply. I tried all of these settings and they all seemed to work up to a point but then the specific error about file sizes just changes to "An error has occurred" - this would suggest that there's something on the server that's blocking these files and IIS would be the main suspect for this.

    Tuesday, July 29, 2014 9:26 AM
  • Do you have a plugin on the create event of the Note entity (or a plugin that runs on the create event of every entity like an autonumber solution)?


    My blog: www.crmanswers.net - Rockstar 365 Profile

    Tuesday, July 29, 2014 9:36 AM
  • No, there's no plug in on the Notes entity. There's an autonumber solution on Cases and Opportunities that I've added and my customer would've tried adding the Note from within one of these records but I've tried adding a Note independently of these areas and still get the same error.
    Tuesday, July 29, 2014 9:41 AM
  • probably the autonumber solution is registered on the create step of any entity, for a test try to disable the autonumber plugin and add a big attachment, check the result

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Tuesday, July 29, 2014 9:44 AM
  • I've done that but the error message does not change.
    Tuesday, July 29, 2014 9:55 AM
  • I had the similar issue (fail to attach files bigger than 5mb) with a CRM online instance before, the error trigger was when a plugin was attached to the create step.

    for your case try to contact Microsoft support.


    My blog: www.crmanswers.net - Rockstar 365 Profile

    Tuesday, July 29, 2014 10:02 AM