SOLVED

SharePoint Server 2019 Problem uploading and downloading documents with "form " in file name

%3CLINGO-SUB%20id%3D%22lingo-sub-964367%22%20slang%3D%22en-US%22%3ESharePoint%20Server%202019%20Problem%20uploading%20and%20downloading%20documents%20with%20%22form%20%22%20in%20file%20name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-964367%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20wondering%20if%20anyone%20has%20seen%20this%20issue%20using%20SharePoint%20Server%202019.%26nbsp%3B%20Users%20are%20getting%20an%20error%20%22Sorry%2C%20there%20was%20a%20problem%20uploading%20this%20file.%26nbsp%3B%20Please%20try%20again.%22%20when%20uploading%20documents%20with%20the%20word%20%22form%20%22%20as%20part%20of%20the%20filename%20to%20a%20document%20library.%26nbsp%3B%20It's%20actually%20failing%20on%20any%20file%20name%20ending%20in%20%22form%20%22%2C%20so%20%22transform%20%22%2C%20%22approval%20form%20-%20part%20I%22%2C%20%22Form%20111%22%2C%20etc.%26nbsp%3B%20If%20I%20rename%20to%20%22approval%20form-part%20I%22%20(no%20spaces)%2C%20then%20it%20will%20work.%26nbsp%3B%20As%20long%20as%20the%20word%20%22form%22%20is%20not%20followed%20by%20a%20space%20character%2C%20it%20works.%26nbsp%3B%20I'm%20sure%20%22form%22%20is%20not%20a%20reserved%20word%20but%20see%20nothing%20in%20the%20ULS%20logs%20to%20indicate%20what%20the%20error%20could%20be%20from.%26nbsp%3B%20This%20happens%20on%20both%20.doc%2C%20.docx%20and%20PDF%20files.%26nbsp%3B%20Does%20anyone%20know%20what%20may%20be%20causing%20this%3F%26nbsp%3B%20I%20just%20recently%20began%20work%20on%20this%20site%20and%20know%20that%20it%20was%20migrated%20from%20SharePoint%202016%20to%202019%20recently.%26nbsp%3B%20Also%2C%20if%20I%20switch%20to%20%22classic%20view%22%20on%20the%20document%20library%2C%20I%20can%20upload%20it%2C%20but%20not%20in%20modern%20view.%3C%2FP%3E%3CP%3EThanks%20for%20any%20input.%26nbsp%3B%20Thao%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-964367%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%202019%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-964447%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Server%202019%20Problem%20uploading%20and%20downloading%20documents%20with%20%22form%20%22%20in%20fil%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-964447%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F435907%22%20target%3D%22_blank%22%3E%40goldf35%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETry%20this%3C%2FP%3E%3CP%3EMicrosoft%20Office%20Upload%20Center%3CBR%20%2F%3EIntroduction%20The%20Microsoft%20Office%20Upload%20Center%20lets%20you%20keep%20track%20of%20how%20uploads%20are%20progressing.%20When%20you%20upload%20a%20file%20to%20a%20web%20server%20(e.g.%20TIMS)%2C%20Microsoft%20saves%20that%20file%20locally%20to%20the%20Office%20Document%20Cache%20before%20it%20starts%20the%20upload.%20This%20icon%3CBR%20%2F%3Eindicates%20that%20the%20file%20has%20changes%20that%20have%20failed%20to%20upload.%20Errors%20will%20sometimes%20occur%20during%20the%20upload%20in%20which%20case%20the%20Document%20Cache%20needs%20to%20be%20%E2%80%9Creset%E2%80%9D%20before%20attempting%20to%20upload%20the%20revised%20document.%3CBR%20%2F%3ESteps%20Refer%20to%20images%20starting%20on%20page%202%20as%20needed.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EStep%20Action%201%20Select%20Start%20Menu%2C%20then%20type%3A%20Upload%20Center%202%20Select%20Office%202016%20Upload%20Center%20(or%202013%20Office%20Upload%20Center%2C%20if%20the%202016%20version%20is%20not%20available)%203%20Select%20Settings%204%20Under%20Cache%20Settings%2C%20click%20Delete%20cached%20files%20button%205%20Before%20clicking%20on%20the%20OK%20button%2C%20click%20on%20the%20box%20next%20to%20Delete%20files%20from%20the%20office%20Document%20Cache%20when%20they%20are%20closed%3CBR%20%2F%3E%3CBR%20%2F%3EAdditional%20Information%3CBR%20%2F%3EFor%20more%20information%20about%20the%20Microsoft%20Office%20Upload%20Center%2C%20please%20refer%20to%20the%20content%20for%20Microsoft%20Office%20Upload%20Center%20at%20%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-966051%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Server%202019%20Problem%20uploading%20and%20downloading%20documents%20with%20%22form%20%22%20in%20fil%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-966051%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F435926%22%20target%3D%22_blank%22%3E%40gjoiner%3C%2FA%3EThank%20you%2C%20I%20tried%20this%20but%20it%20didn't%20make%20a%20difference.%26nbsp%3B%20I%20can%20upload%2Fdownload%20the%20files%20as%20long%20as%20I%20rename%20it%20to%20not%20have%20a%20space%20after%20the%20word%20%22form%22%2C%20it%20just%20always%20fail%20on%20any%20file%20with%20%22form%20%22%20in%20the%20name.%26nbsp%3B%20It%20seems%20to%20not%20properly%20process%20the%20urls%20built%20for%20the%20link%20when%20any%20of%20the%20documents%20have%20a%20pattern%20of%20%22*form%20%22%20in%20the%20file%20name.%26nbsp%3B%20For%20example%2C%20this%20download%20link%20for%20%22Form%20111.doc%22%20does%20not%20work%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsurfnetdev.cohb.net%2F_layouts%2F15%2Fdownload.aspx%3FSourceUrl%3D%252FFormsTemplates%252FForm%2520111%252Edoc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmydomainname.com%2F_layouts%2F15%2Fdownload.aspx%3FSourceUrl%3D%252FFormsTemplates%252FForm%2520111%252Edoc%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20this%20link%20for%20%22Formb%20111.doc%22%20does%20work%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsurfnetdev.cohb.net%2F_layouts%2F15%2Fdownload.aspx%3FSourceUrl%3D%252FFormsTemplates%252FFormb%2520111%252Edoc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmydomainname.com%2F_layouts%2F15%2Fdownload.aspx%3FSourceUrl%3D%252FFormsTemplates%252FFormb%2520111%252Edoc%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1053706%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Server%202019%20Problem%20uploading%20and%20downloading%20documents%20with%20%22form%20%22%20in%20fil%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1053706%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F435907%22%20target%3D%22_blank%22%3E%40goldf35%3C%2FA%3EWe%20found%20the%20cause%20so%20I'm%20updating%20in%20case%20anyone%20runs%20into%20this%20obscure%20problem.%26nbsp%3B%20We're%20using%20a%20KEMP%20load%20balancer%20and%20a%20setting%20in%20it%20was%20causing%20this%20issue.%26nbsp%3B%20When%20testing%20bypassing%20the%20load%20balancer%2C%20all%20was%20working%20fine%20which%20led%20us%20to%20realize%20that%20KEMP%20was%20the%20issue.%26nbsp%3B%20Our%20forms%20are%20now%20uploading%20successfully%20without%20the%20naming%20restriction.%26nbsp%3B%20KEMP%20developers%20are%20looking%20into%20fixing%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Just wondering if anyone has seen this issue using SharePoint Server 2019.  Users are getting an error "Sorry, there was a problem uploading this file.  Please try again." when uploading documents with the word "form " as part of the filename to a document library.  It's actually failing on any file name ending in "form ", so "transform ", "approval form - part I", "Form 111", etc.  If I rename to "approval form-part I" (no spaces), then it will work.  As long as the word "form" is not followed by a space character, it works.  I'm sure "form" is not a reserved word but see nothing in the ULS logs to indicate what the error could be from.  This happens on both .doc, .docx and PDF files.  Does anyone know what may be causing this?  I just recently began work on this site and know that it was migrated from SharePoint 2016 to 2019 recently.  Also, if I switch to "classic view" on the document library, I can upload it, but not in modern view.

Thanks for any input.  Thao

3 Replies
Highlighted

@goldf35 

 

Try this

Microsoft Office Upload Center
Introduction The Microsoft Office Upload Center lets you keep track of how uploads are progressing. When you upload a file to a web server (e.g. TIMS), Microsoft saves that file locally to the Office Document Cache before it starts the upload. This icon
indicates that the file has changes that have failed to upload. Errors will sometimes occur during the upload in which case the Document Cache needs to be “reset” before attempting to upload the revised document.
Steps Refer to images starting on page 2 as needed.


Step Action 1 Select Start Menu, then type: Upload Center 2 Select Office 2016 Upload Center (or 2013 Office Upload Center, if the 2016 version is not available) 3 Select Settings 4 Under Cache Settings, click Delete cached files button 5 Before clicking on the OK button, click on the box next to Delete files from the office Document Cache when they are closed

Additional Information
For more information about the Microsoft Office Upload Center, please refer to the content for Microsoft Office Upload Center at https://support.office.com.

@gjoinerThank you, I tried this but it didn't make a difference.  I can upload/download the files as long as I rename it to not have a space after the word "form", it just always fail on any file with "form " in the name.  It seems to not properly process the urls built for the link when any of the documents have a pattern of "*form " in the file name.  For example, this download link for "Form 111.doc" does not work:

https://mydomainname.com/_layouts/15/download.aspx?SourceUrl=%2FFormsTemplates%2FForm%20111%2Edoc

But this link for "Formb 111.doc" does work:

https://mydomainname.com/_layouts/15/download.aspx?SourceUrl=%2FFormsTemplates%2FFormb%20111%2Edoc

Highlighted
Best Response confirmed by Trevor Seward (MVP)
Solution

@goldf35We found the cause so I'm updating in case anyone runs into this obscure problem.  We're using a KEMP load balancer and a setting in it was causing this issue.  When testing bypassing the load balancer, all was working fine which led us to realize that KEMP was the issue.  Our forms are now uploading successfully without the naming restriction.  KEMP developers are looking into fixing this.