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

Community site session details

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

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

(0) ShareShare
ReportReport
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?

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,369 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
    408 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,220

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,958

#3
Sumit Singh Profile Picture

Sumit Singh 2,961

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans