3

I took backup from our staging server and restored on my local development machine. My Powershell script is not raising any error while restoration. But when I open the site in browser, it's giving me a weird error message:

The file or folder name contains characters that are not permitted.  Please use a different name. 

PowerShell command I am using for backup and restore are:

On Staging server:

Backup-SPSite -Identity http://sp-stage -Path \\backup\sharepoint\test1\backup.bak

On my local machine:

Restore-SPSite -Identity http://sp-local -Path \\backup\sharepoint\test1\backup.bak

We are using custom master page and custom page layout for our site and my guess is that above error message is raising because of these custom master pages and page layouts.

1
  • 1
    Could you check the ULS log to see what it says?
    – Jasper
    Jun 11, 2012 at 15:20

1 Answer 1

2

In SP, there are some special characters which are not allowed. You can find them here.

Please make sure that these special characters are not being used in your site.

Hope that helps.

1
  • 1
    Yeah, but assuming that a site has been created and backed up, it should not contain any not allowed characters, right?
    – komsky
    Sep 9, 2016 at 14:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.