Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Unable to upload the file of size 27 MB to MS CRM from Web Portal

Posted on by 3,155 Super User 2024 Season 1

Hi,

We are trying to upload the file of size 27 MB to CRM 2015 from web portal and we are getting the below error message. But the same file can be uploaded from CRM. Also we are able to upload the file of size 15 MB from portal.

"There was no endpoint listening at MyServer/.../Organization.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

After enabling the CRM trace, below is the error message we captured.

"[2017-01-05 18:56:15.309] Process:Microsoft.Crm.Sandbox.WorkerProcess |Organization:00000000-0000-0000-0000-000000000000 |Thread: 1 |Category: Sandbox |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 | SandboxWorkerMain.Main ilOffset = 0x23E 
>Changed MinIOThreads for worker from 1 to 101and MinWorkerThreads from 1 to 101"

 

Appreciate if you have any solution for this issue.

*This post is locked for comments

  • Suggested answer
    Charan Raju C R Profile Picture
    Charan Raju C R 3,155 Super User 2024 Season 1 on at
    RE: Unable to upload the file of size 27 MB to MS CRM from Web Portal

    This issue has been fixed by using the below solution from this link.

    "My solution was 26MB, I saw with feedler that the content sent was close to 46MB (because it is envolved in SOAP request, Base64, etc).

    I changed CRM webconfig in httpRuntime the attribute maxRequestLength to be 100000000 (100MB because my solution is still growing) and also maxAllowedContentLength in request filtering in IIS at CRM's website"

  • Charan Raju C R Profile Picture
    Charan Raju C R 3,155 Super User 2024 Season 1 on at
    RE: Unable to upload the file of size 27 MB to MS CRM from Web Portal

    Hi Aiden,

    CRM web.config is already got updated when we have changed the max file size from CRM. And the Max Request Length also set to 50 MB in portal.

  • sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Unable to upload the file of size 27 MB to MS CRM from Web Portal

    maximum size for attachments is 37 mb. you can attach in.zip file

  • Suggested answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Unable to upload the file of size 27 MB to MS CRM from Web Portal

    Hi,

    If you're only getting this from a portal, it would seem like the issue is going to be in the Max Request Length in your web.config ( https://msdn.microsoft.com/en-us/library/e1f13641(v=vs.85).aspx ). If that was the case, I would expect the error to come from your portal instead of CRM. Maybe you need to check that value in the web.config for your CRM instance and see what that's set too. I'd be extremely careful making any changes to that though.

    Thanks,

      Aiden

  • Charan Raju C R Profile Picture
    Charan Raju C R 3,155 Super User 2024 Season 1 on at
    RE: Unable to upload the file of size 27 MB to MS CRM from Web Portal

    Hi Aiden,

    Thanks for your reply. Actually we have already done this change in CRM and we are able to upload the file of size 27 MB in CRM. This problem is only when we are uploading(creating as a note) from Web Portal (eService).

  • Suggested answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Unable to upload the file of size 27 MB to MS CRM from Web Portal

    Hi,

    It looks like you're running on-prem - in the CRM Systems there's a field for "Maximum file size" (for attachments). You'll need to increase this to allow a larger file size. Here's how you'd do it:

    blogs.msdn.microsoft.com/.../caveats-of-setting-the-maximum-file-size-limits-for-attachments-in-crm-2011

    Although this setting is under the Email tab of System Settings, it limits the size of files for the following –

    File attachments of email messages

    File attachments of Notes

    Web Resources

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

     Aiden

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans