Copying files between SharePoint subsites fails

Deleted
Not applicable

I am an admin of two SharePoint subsites and I have the following problem:

 

Whenever I try to copy a file (for example a single .pptx file) from one subsite to another subsite via Web UI, the transfer simply fails. It doesn't give me any explanation, it just tells me that the transfer failed. 

 

Here is an example of the hierarchy:

 

From

https://company.sharepoint.com/sites/site1/subsite1/subsite1/documentlibrary1

 

To 

https://company.sharepoint.com/sites/site1/subsite1/subsite2/documentlibrary2

 

I am admin of the bolded section.

 

I created a test sitecollection with identical hierarchy and everything seems to work just fine. I can move files between the two subsites and their document libraries (as long as I use unique names, of course). So moving files between the two subsites should be possible, but in this particular case it keeps failing every time.

 

Does this have something to do with the fact that I don't have any user rights to https://company.sharepoint.com/sites/site1?

 

Or have I missed something else in the settings? Is there anything I could do to fix this problem?

 

 

7 Replies

I would try to copy through the good old "Site Content and Structure" page (under Site settings or yoursitename/_layouts/15/sitemanager.aspx) to see whether it's related to the modern UI or not. Some time ago I've experienced a somewhat similar issue but that was identified by the product team as a bug and a fix was released, after which I haven't experienced that issue anymore.

Thank you for the tip! That comes handy!

 

I tried to copy a file using _layouts/15/sitemanager.aspx and it gives me an error message, that I don't have enough rights to do the action. So maybe those partial rights are the problem when it comes to copying between subsites of subsites.

 

I thought about replicating this problem with my test site, but it turned out that I can't copy files anyway. It just gives me a different kind of error message (cannot copy files to the same branch?).  Now I am even more confused because I was able to do that in the web UI.

 

Of course, I am able to copy the files if I sync them to my PC. However most the other users of that SharePoint site are not able to do this, so I am trying to solve this problem for them. Web UI is the only option or them :(

when you say you don't have any user rights: are you referring to the source from which you are trying copy files?

No, I have admin rights to both of the subsites, and even the subsites above them. I've marked them in my example, I have admin rights to the bolded part of the hierarchy:

 

https://company.sharepoint.com/sites/site1/subsite1/subsite1/documentlibrary1

 

And

 

https://company.sharepoint.com/sites/site1/subsite1/subsite2/documentlibrary2

 

I am trying to copy a file (or files/folders etc) between those two subsites.

 

But I don't have any access to https://company.sharepoint.com/sites/site1/

 

But since I am also an universal SharePoint admin, I am going to grant myself some more rights and check out whether it makes a difference. If I still can't copy files between the subsites, then there is probably something wrong with... something.

Now when I am the admin of the main site, I no longer get the error message about not having the rights. But I still can't copy or move a file between the subsites.

 

I tried to change the language to English in order to get a screenshot of the error message, but it just wants to stay in Finnish, stubbornly like a true Finn. So here is my rough translation; 

 

"You can't copy or move file xxx.pptx to itself or to its branch".

 

The error message itself is a poor translation so it's hard for me to understand even in Finnish :(

 

I don't understand what it tries to say because I am clearly trying to copy the file to a completely different place.

 

I love SharePoint but this really makes me crazy. It should work but it still doesn't!

 

Now, my test site is a bit different: the real site is a pure SharePoint site that has nothing to do with groups. And my test site (in which everything works like a charm) is an Office365 group.

Few other ideas:

- Are there any managed metadata columns associated with the file you are trying to copy?

- If you create brand new document libraries on the two sites, are you able to copy a document between them?

- Also, are you able to try to copy with a different user, which is provided 'edit' right directly both to the source and the destination document libraries?

I think I finally figured this out!

 

First I gave editing rights to a test account to the whole hierarchy, starting from https://company.sharepoint.com/sites/site1/.

 

Copying between subsites worked like a charm. Awesome!

 

Then I took the same test account and changed the editing rights to visiting rights. Now the test account can't edit this at all:

 

https://company.sharepoint.com/sites/site1/subsite1/subsite1/documentlibrary1

 

However, the test account can still copy to https://company.sharepoint.com/sites/site1/subsite1/subsite2/documentlibrary2, because  it still has editing rigts to that location.

 

So here's my conclusion:

 

In order to copy files between subsites, the account has to some have rights to https://company.sharepoint.com/sites/site1/, and probably everything below that. It doesn't matter which kind of rights, even visitor rights are sufficient.

 

Thanks, Zoltan, for giving me the tip that eventually helped me to solve this!