Today, I had to create a site template of a specific site and create a new site based on that template on the same server and the same web application. Everything went ok creating the site template and creating the new site. However when I wanted to apply a the same theme to the site as the source site, I got the following error message:
A theme with the name “Citrus 1011” and version already exists on the server.
Crap, what the f*** !
Luckily for me, one of my colleagues, Jonathan Martiat, had encountered this before and also rememered the solution.If you encounter this error then do the following:
1. Open the website in SharePoint Designer and delete the _themes folder completely.
2. execute an iisreset on your frontend server(s)
3. reapply the necessary site theme
….and that’s it !
I must admit, that I had tried to do it without executing an iisreset and although I did still get the error message, the site theme was indeed applied, but doing it after iisreset, completely wipes out the error message
So, thanks Jonathan for the good tip and hopefully you guys also benefit from this post.