SharePoint 2010: "Cannot make a cache safe URL for “1036/sytles/Themable/corev4.css”, file not found"

SharePoint 2010: "Cannot make a cache safe URL for “1036/sytles/Themable/corev4.css”, file not found"

Case:
At our organization and as many others we have 3 environments and all looking to the diagram shown as below:

  1.  Development Environment
  2.  Acceptance Environment
  3.  Production Environment

 

The business asked me to create a new Test environment and make a “copy” of the running site from Production Environment to Test Environment.


I had 2 choices:

  1. Begin From Scratch
    1. Advantage(s)
      1.  No problem with user references
      2.  Configuring the script to run on the new environment
      3.  Quick to configure
    2. Disadvantage
      1.  Loss of contents
      2.  Recreate the structure
      3.  It will take many time to recreate everything

As many of yours I am a lazzzzzzzzzzzzzzzzyyy IT PRO so I decided to use the backup/restore procedure.
Nothing unusual;

for installing SharePoint, SQL and AD check the following:
SharePoint: http://gknzcfc.net/subsite/install-and-configure-sharepoint-13-preview.html
SQL Server:http://gknzcfc.net/subsite/how-to-install-sql-server-2012-for-sharepoint-2010.html
Active Directory: http://gknzcfc.net/subsite/how-to-add-domain-controller-to-windows-2012-with-powershell-for-sharepoint2010.html


Quick TechNet Backup/Restore formulation

Definition: The Backup-SPSite cmdlet performs a backup of the site collection when the Identity parameter is used. By default, the site collection will be set to read-only for the duration of the backup to reduce the potential for user activity during the backup operation to corrupt the backup. If you have SQL Server Enterprise Edition, we recommend that UseSqlSnapshot parameter be used because this ensures a valid backup while it allows users to continue reading and writing to the site collection during the backup.

Backup-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak

Explanation: This example backs up a site collection at http://server_name/sites/site_name to the C:\Backup\site_name.bak file.

Definition: The Restore-SPSite cmdlet performs a restoration of the site collection to a location specified by the Identity parameter. A content database may only contain one copy of a site collection. If a site collection is backed up and restored to a different URL location within the same Web application, an additional content database must be available to hold the restored copy of the site collection.

Restore-SPSite http://server_name/sites/site_name -Path C:\Backup\site_name.bak

Explanation: This example restores a site collection from the backup file C:\Backup\site_name.bak to the site collection URL http://server_name/sites/site_name.

 

Technical Case example:

 

But when I wanted to surf to my test site I got an Cannot make a cache safe URL for “1036/sytles/Themable/corev4.css”, file not found. Please verify that the file exists under the layouts directory error.

The first thing I checked was the content of the path contains 1036. The folder didn’t exist and came to my mind that my client SharePoint site not in French. I used the English Binaries. The production site was in French language and when I restored the site, it was looking for resources in French language ID folder.

Resolution:
Download the French language pack http://www.microsoft.com/en-us/download/details.aspx?id=3411 , install it on your SharePoint and refresh your browser.

Hope it helps you,
G.

Leave a Comment
  • Please add 6 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Ed Price - MSFT edited Original. Comment: Title & tags

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Ed Price - MSFT edited Original. Comment: Title & tags

Page 1 of 1 (1 items)