How to fix “Upload failed: Path not found” or The specified path, file name, or both are too long error

No comments

 12,547 total views,  6 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.

Solution:

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.

Note:

  1. Change the maximum file size setting to “Unlimited
  2. 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.
  3. 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)”.
  4. So needs a database monitoring tool to maintain the database file size stable.

As an example, the sample screenshot is given below:

1.1

Summary:

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.

See Also:

Free download SharePoint Online & Office 365 Administration eBook(238 Pages)

Get the PDF eBook from here:


 
FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.