Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
1  
Could you check the ULS log to see what it says? –  Jasper Jun 11 '12 at 15:20
add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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