SharePoint Theme Issue At Multiple Server Configurations.

SharePoint Theme can cause havoc headache sometime. I was working on something like that at a client side where theme was not populating on Theme Gallery but the existing site was using the custom theme.

Scenario:

My client was using a custom theme which was developed by one of my senior workmate using the technique used by  Heather Solomon (http://www.heathersolomon.com/blog/archive/2008/01/30/SharePoint-2007-Design-Tip-Import-your-CSS-for-SharePoint-Themes.aspx) which is really impressive and saves hips of time. There was no issue what so ever until my client reconfigure the server. They are using application server as default and WFE as Intranet.

The Theme was working centrally for the root site and the entire subsite but when I have tried to create a new subsite according to the requirement it doesn’t pick up the theme rather it picks up SharePoint default theme. I went to the theme gallery to check but the custom theme was not there.

Findings:

  • Funny thing I have noticed if I create a page/site from the root site it picks up the custom theme.
  • If I create an existing site as a template and create new site using that template Custom theme picks up automatically.
  • At the case of publishing page If I use Manage Content and structure to move a publishing page to somewhere else and change navigation and bring it back Custom theme picks up.

Things I have done to make it work-

  • I have checked theme.CSS entirely to find if anything broken or any typo error.
  • I have checked the Import rule as well as INF file to see if there any existing problem.
  • I have checked Sptheme.Xml file properly and also validate the XML with an online tool.
  • Have done IISRESET every time I have changed something.

But still the Theme was not working.

Final Discovery and Solution:

After Spending the whole night finding what is going wrong I have found a critical issue and an easy fix to solve the issue. The Custom Theme was implemented on WFE and when my client reconfigures their server they have Made APP server as default one. That’s why it was not showing the theme on Theme Gallery at APP server I was working at. All I had to do is redeploy the theme on App server and everything fixed.

Lesson Learned:

If you are working at multiple server environment with custom theme Make Sure Custom Theme been implemented at all servers.

Advertisements
This entry was posted in SharePoint 2007, Technical Issue SP2007 and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s