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."
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.
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?
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
Hi,
Please check SQL connection idle timeout and SQL connection timeout for the service running BC using BC administration.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156