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>
<!– extra setting to bypass analytics error –>
<setting name=“Analytics.DefaultDefinitionDatabase“ value=“web“ />
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:
- Shows cache values (including count, size and deltas)

- 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.

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

Wednesday, April 6, 2011

Setting up the Rich Text Editor for easier content entry

There are a few small changes you can make that will make a huge difference to content editor.

1) If you are entering multilingual content then you may want to populate the symbols section with the accented chracters to help the user add those characters especially if they don't have a french keyboard.

Check out Pamela Fanstill's article for details

2) The other change to make is to supply the user with the more advanced menu for the rich text editor.  This will allow them to indent, change font etc.

Check out this article on Customizing the Sitecore Rich Text Field Editor

If you have any more tips you would like to share please email Susan Fischer at susan@clinchportal.com and we will post them here.

Wednesday, January 19, 2011

Sitecore Package Designer error: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types

When trying to use Package Designer, sometimes you will get a cryptic message like the one below:

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
If this happens, don't fret, simply follow these steps:

1) backup the bin folder of your application.
2) Install the same version of sitecore on another machine, or in another directory.
3) Copy all the dlls from the bin folder (except for the instance dll eg sitecorewebsite.dll)
4) Paste them in your folder.
5) Voila this should solve your problem.

A co-worker of mine found this solution for me.  Here is the original link:

Hope this saves you some time on this issue.

If you are just starting out with Packages be sure to check out this article by Alex Shyba on
Things To Consider When Using Sitecore Packages