Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

BC File upload - how to get rid of 65s timeout

Posted on by 5

Hello

We have trouble when uploading files to Microsoft Dynamics 365 Business Central Version 20.4 (on premises).

Users do have to logoff/logon prior to uploading files, otherwise they get an error stating "The file could not be uploaded at this time. Please try again later."

pastedimage1678344649719v1.png

However, if they log off an on again the upload always works IF the file loads onto the server in a 65 seconds timeout period.

pastedimage1678345088243v2.png

We tried to find a respective setting to extend the timeout in the BC admin console and aswell in the IIS Settings and found nothing to extend the 65 seconds timeout. Our BC implementation partner does not seem to know either how to extend the timeout time. 

Is there anybody who had a similar experience or any solution available for this?

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: BC File upload - how to get rid of 65s timeout

    hi

    The issue you are facing with file uploads in Microsoft Dynamics 365 Business Central may be related to the maximum file size and/or the maximum execution time for scripts in the web server.

    Here are a few things you can try to resolve the issue:

    Increase the maximum file size allowed in the web server. By default, IIS limits the size of uploaded files to 30MB. You can increase this limit by modifying the "maxAllowedContentLength" attribute in the web.config file. This file is usually located in the "C:\inetpub\wwwroot<YourWebsite>" folder.

    Increase the maximum execution time for scripts in the web server. You can do this by modifying the "maxRequestLength" attribute in the web.config file, as well as the "executionTimeout" attribute in the IIS settings.

    Check if there are any network issues that may be causing the file uploads to fail. Make sure that the network connection is stable and that there are no firewalls or proxies blocking the file uploads.

    Check if there are any customizations or third-party extensions that may be causing the issue. Disable any customizations or extensions and see if the file uploads work correctly.

    If none of these solutions work, you may need to contact Microsoft Support for further assistance. They should be able to help you diagnose the issue and find a solution.

    DAniele

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 45 on at
    RE: BC File upload - how to get rid of 65s timeout

    Hi,

    Please check SQL connection idle timeout and SQL connection timeout for the service running BC using BC administration.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans