Friday, January 20, 2012

The security settings for the current language prevent you from seeing this item. To continue, select another language from the Language drop-down list on the Versions tab.

I saw a few blog posts on this error but took me a while to figure out what the real solution was.  Here is a description of the error and how to resolve it.

Problem: A user is assigned access to edit content in the Content Editor but when they click on an item to edit they get the following error:

The security settings for the current language prevent you from seeing this item.
To continue, select another language from the Language drop-down list on the Versions tab.
Reason: In the content editor on the Master database there is a folder  at /system/languages
This folder has a new security key called language:read and language:write.  By default this is assigned to sitecore\everyone.  This is fine provided that only local users are accessing the content editor but if you are using ad domain\everyone will be default be denied.

Solution: Click on security and access viewer.  Navigate to /system/languages.  click on assign and assign the {your domain}\everyone access to language:read and language:write.   If you want to do this for a specific language you can open the folder click on the language and set these access properties there.

Tuesday, December 20, 2011

302 object moved for temp/iconcache images

Sometimes when you log into the Sitecore Admin you may see that icons are not loading.  When you look in fiddler you will see that its returning a 302 - Object moved message.

I found a few other causes to the problem stated on other blogs and in some cases this may solve your problem.
These range from missing images in the temp/IconCache folder to missing zip files in the "sitecore\shell\Themes\Standard" folder.  Once the icons exist in both places if they still will not show up then
you will need to try my solution below:

The solution is to stop IIS, delete all the files in the temp/iconcache folder then restart IIS.  Now when you log into the admin, this will force sitecore to refill the iconcache and the icons will show up again.

If you have any tips, tricks or resources you would like to share with the Guild please email them to sitecoreguild@outlook.com and we will post them here.
You can also tweet them referencing @sitecoreguild

Saturday, December 3, 2011

Tips On Setting up Sitecore Content Delivery Server

Setting up a Content Delivery Server the first time is not easy but there is help.
Firstly, download the Sitecore Scaling Guide and the SwitchMasterToWeb.Config
from this SDN Link

Once you have followed the above steps you may get the following error:


Exception: System.InvalidOperationException
Message: Could not find configuration node: databases/database[@id='master']

If you are running Sitecore 6.5 the fix is to open the SwitchMasterToWeb.Config and paste this at the bottom just inside the  </sitecore>
tag:
<settings>
<!– extra setting to bypass analytics error –>
<setting name=“Analytics.DefaultDefinitionDatabase“ value=“web“ />
</settings>
If you still get the error or are running 6.4 or lower then there may be references to master in the web.config that were added after the standard install.  One example is the news mover module.  The solution is to find all references to these (<database>master</database>) in your web.config and comment them out.

Tuesday, November 22, 2011

Sitecore Admin Urls

Two handy URLs to manage items behind the scenes in Sitecore:
/sitecore/admin/cache.aspx
- Shows cache values (including count, size and deltas)

/sitecore/admin/stats.aspx
- Shows rendering times on each layout/sub-layout/rendering

404 & 301 Handlers in Sitecore - Blank page on Static HTML pages

Spent far too long working on a redirect piece for HTML pages in Sitecore today. Details at the link below - the behaviour was blank pages served by IIS 6 when mapping HTML requests to .Net so we could implement a custom 301 handler for HTML pages.
http://support.microsoft.com/kb/909641

Solution involved putting a handler as below in the httpHandlers section of the web.config.

<add path="*.html" verb="*" type="System.Web.StaticFileHandler" />

Monday, July 18, 2011

Windows Server 2008 and Web Client Service Issues

If you are working with Windows Server 2008 and trying to install Sitecore you may get an error related to the Web Client Service.  Either its not turned on or it may not be installed.  By Default Windows Server 2008 does not install the Desktop Package.  This article explains how to turn it on and how to install it if it is missing.

WebClient Service Issues

Before your install you may wish to check these other settings as well:

* Navigate to Administrative Tools -> Services
- Ensure World Wide Web Publishing Service is started

* Navigate to Administrative Tools -> Server Manager -> Roles
- Select Add Role Services
- Select IIS 6 Compatability, Select IIS 6 Management Console
- Install if not already installed

* Navigate to Administrative Tools -> Server Manager -> Features
- Add a feature
- Select Desktop experience
- Install if not already installed
- Install the .net framework 3.5.1 if that is not installed too.

* Navigate to Administrative Tools -> IIS Manager
- Ensure Web server is started

If you have any tips, tricks or resources you want to share with the Guild please email them to sitecoreguild@outlook.com and we will add them to the blog.

Tuesday, May 31, 2011

Sitecore and Language In the Url For SEO

Out of the Box Sitecore is set so the urls only show language if needed.  This means that English and French urls appear the same and its a cookie that determine the current language.  This article describes the Sitecore Link Manager settings necessary to have Sitecore place the language in the url.

Dynamically Insert Language ISO Code in Sitecore Url

Hope you find this article helpful.  If you have any tips, tricks or resources you would like to share with the Guild please email them to sitecoreguild@outlook.com