Quantcast
Browsing all 275 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Get Sitecore placeholders and rendering hierarchy from a Sitecore item

This article explains how you can get the hierarchy of placeholders and render them to your screen for debugging or documentation purposes. The Sitecore rendering engine allows you to place sublayouts...

View Article


Image may be NSFW.
Clik here to view.

Sitecore.Data.ID The call is ambiguous

In Sitecore you cannot compare an ID with NULL; it will produce the following error: The call is ambiguous between the following methods or properties: ‘Sitecore.Data.ID.operator ==(Sitecore.Data.ID,...

View Article


Image may be NSFW.
Clik here to view.

Sitecore Code Generator and O/R mapper

You probably have never used a code generator for the same reason I never used a code generator: It was not developed by yourself It’s not generating the code you need You cannot extend it with the...

View Article

Image may be NSFW.
Clik here to view.

Stream Sitecore media items to HttpResponse

Here is a small tip for you who is doing API’s based on Sitecore. How to get an item from the Sitecore Media Library and stream it to the HttpResponse of a page. This is an example of an .ashx...

View Article

Image may be NSFW.
Clik here to view.

Unable to serialize the session state. In ‘StateServer’ and ‘SQLServer’ mode

When switching the sessionState mode of your web project from InProc to SQLServer you might encounter this error: Exception: System.Web.HttpException Message: Unable to serialize the session state. In...

View Article


Image may be NSFW.
Clik here to view.

Sitecore 7 create item and update index at the same time

With Sitecore 7, the Sitecore index (based on Lucene.NET) have greatly improved, thus making the index even more usable. One thing you should know though, is that when you add items to Sitecore using...

View Article

Image may be NSFW.
Clik here to view.

URL Rewrite and Sitecore

The Microsoft URL Rewrite module is an ISS extension that allows you to rewrite one URL to another using regular expressions. The extension is like the Sitecore aliases on steroids, and is especially...

View Article

Image may be NSFW.
Clik here to view.

Sitecore users custom profile properties

Sitecore is using the standard .net security framework. This makes it easy to setup custom profiles on users, and to add custom profile properties. To do so, do the following: STEP 1: ADD A PROFILE...

View Article


Image may be NSFW.
Clik here to view.

Sitecore.Web.Authentication.c__DisplayClass5.b__2(Ticket ticket) +52

When logging into the Sitecore client you can run into this exception: [NullReferenceException: Object reference not set to an instance of an object.]...

View Article


Image may be NSFW.
Clik here to view.

Disable Sitecore SPEAK dialogs

The new Sitecore SPEAK dialogs introduced with Sitecore 7.x are known to cause difficulties for some. Some of the issues are technical or configuration related, others are related to the fact that many...

View Article

Image may be NSFW.
Clik here to view.

Add text to asp:ValidationSummary (C#)

This trick is especially useful when you have custom code to be executed after your form have been submitted, and still wishes to communicate an error the same way as you communicate form validation...

View Article

Image may be NSFW.
Clik here to view.

Improve Sitecore Membership provider performance 2-20 times

The Sitecore Membership provider is built on top of the default .NET membership provider. The .NET membership provider is not known to be the fastest provider available. Sure, if you have a few...

View Article

Image may be NSFW.
Clik here to view.

Sitecore and xDB – Setting up MongoDB on your developer machine

With Sitecore 7.5, Sitecore introduces xDB – the new MongoDB based DMS database. But before you say “oh no, yet another technology I have to deal with”, you should know that working with MongoDB is...

View Article


Image may be NSFW.
Clik here to view.

Measuring Sitecore performance with HighResTimer

The HighResTimer is a Sitecore feature that has been around since Sitecore 4. It’s a simple timer that allows you to very precisely measure time in microseconds by using the underlying OS timers. It is...

View Article

Image may be NSFW.
Clik here to view.

Sitecore EventQueue deadlocks – how to solve them and how to avoid them

The Sitecore 7.0+ EventQueue mechanism can in some rare occurrences cause a deadlock to occur. You will notice that when it happens, your Sitecore Shell will come to a complete halt, the DMS becomes...

View Article


Image may be NSFW.
Clik here to view.

Sitecore Job Viewer – see what Sitecore is doing in the background

This simple .aspx page has become one of my most used tools when working with Sitecore. It’s a job viewer, displaying which jobs are running and which jobs are finished: Sitecore Job Viewer A Sitecore...

View Article

Image may be NSFW.
Clik here to view.

Sitecore 8 and Engagement Plans

With the introduction of the xDB in Sitecore 7.5, Sitecore also changed the analytics API. The VisitorManager have been replaced by the Tracker. The Tracker is one of the base API’s for Sitecore the...

View Article


Image may be NSFW.
Clik here to view.

Cannot cache phrase for invariant language – Sitecore 8

When adding dictionary items to the CORE database in Sitecore 8, this error can occur: Message: Cannot cache phrase for invariant language. Source: Sitecore.Kernel at...

View Article

Image may be NSFW.
Clik here to view.

All my Sitecore items are called __Standard Values

After I upgraded to Sitecore 7.5, all of my Sitecore items are called “__Standard Values“. This happens in the “Danish” language, not the “English”: All items are called __Standard Values Don’t worry,...

View Article

Image may be NSFW.
Clik here to view.

All my Sitecore items are called __Standard Values – The fix

In the previous post i described how a tiny error in Sitecore made you believe that all of the Sitecore items are called __Standard Values. The error occurs in the Danish language because Sitecore...

View Article
Browsing all 275 articles
Browse latest View live