41,630 total views, 48 views today
Issue description – scenario 1:
A couple of years back I was working in a big migration project where I was migrating more than 200 GB of data thru the third party tool. Migration was failing again and again so it needed my constant monitoring. The 90 percent of error was “The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters”
But when we looked at the file path – it was within the given limit. So the error message was not correct.
Issue description – scenario 2:
In the recent past suddenly one of the department site users reported that suddenly they were not able to upload the files in the SharePoint library. They were getting the below error:
“Upload failed: Path not found”. Specified path not found on server.
For the above two scenario’s problems, the solution is the same. For the particular content database, “auto grow” size issue – Login to SQL server or ask your DB admin to check database auto-growth size settings.
- Change the maximum file size setting to “Unlimited”
- If you are good at handling the file growth size, go with manually and choose the option “Limited to (MB)” and increase the value as per your need.
- This setting might get changed automatically over a period of time when the database size significantly grows – at least it happened with me – in my above scenario 1, even though I had set to “Unlimited” but automatically over a period of time when migration was in progress, it was changing back to “Limited to(MB)”.
- So needs a database monitoring tool to maintain the database file size stable.
As an example, the sample screenshot is given below:
Thus, in this troubleshooting technique we have learned about how to fix the “Upload failed: Path not found” or The specified path, file name, or both are too long error.
- Office 365: Getting started with SharePoint PnP PowerShell – installation
- In 2 steps convert a classic SharePoint page to modern using PnP
- Office 365: Retrieve hub sites and associated sites using PnP Powershell
- Create a modern team site using PnP PowerShell in SharePoint
- In 4 steps access SharePoint online data using postman tool
- SharePoint admin center: Learn SharePoint online administration in an hour – step by step
- SharePoint REST API: GET vs POST vs PUT vs DELETE vs PATCH
- Office 365: Understanding the hub site in SharePoint online