Session state lost after publishing. This post follows on from Part 1. The symptom: I guess this is pretty self-explanitory, but it depends how you are arriving at this problem. You might be using real accounts, virtual users, or whatever. The effect is that your extranet user, i.e. public website user, appears to lose their session [...]
Archive for the ‘Sitecore’ Category
Problems with the Sitecore 6 staging module part 2 – extranet user loses session
Posted in Sitecore, Sitecore 6, Web development and programming, tagged CMS, Publishing, Sitecore, Sitecore 6, Sitecore API, Staging, staging module on July 26, 2009 | Leave a Comment »
Problems with Sitecore and the staging module part 1.
Posted in ASP.net, Sitecore, Web development and programming on July 22, 2009 | 5 Comments »
This has been a bugbear for some time now. I’ve had firsthand experience of all the issues I’m going to describe and it was not an easy journey to figure out what was actually happening. The reason for this post is to have some kind of searchable record of the problem online that is indexed. This [...]
Sitecore with Gridview – rowupdating event doesn’t fire
Posted in ASP.net, C#, DataBinding, Sitecore, Web development and programming, tagged gridview, rowupdating on March 25, 2009 | 3 Comments »
Whenever using Databound server controls with Sitecore need to be aware that Sitecore meddles with some controls. This nasty issue which can have you banging your head against the wall for hours (days?) has been previously blogged by Mark Cassidy but I guess it depends on what symptom you’re having first, and wether you relate it back to this [...]
GridView problem – Item has already been added. Key in dictionary: ‘Timestamp’ Key being added: ‘Timestamp’
Posted in ASP.net, C#, Sitecore, Web development and programming, tagged ASP.net, automatic databind, databind(), gridview, Sitecore on March 25, 2009 | Leave a Comment »
In general ASP.net, this can be caused by calling DataBind() more than once on a databound control. Also be aware that this is influenced by automatic databind being on too. Relating this to Sitecore CMS, you should be aware that Sitecore ships with the following line in web.config: <!– AUTOMATIC DATA BIND Indicates if the data bind function [...]
Sitecore preview bug – looking at web database
Posted in Sitecore, Web development and programming, tagged bug, database, master, Preview mode, web on March 20, 2009 | 1 Comment »
Sitecore v6 introduced another preview tool accessible from [Presentation] > [Preview] as opposed to [Publish] > [Preview]. The new preview mode opens another tab in the content editor which shows the preview of the current item. This is all fine and well except that it is permanently looking at the web database rather than master [...]
Sitecore – Could not load file or assembly System.Data.SQLite
Posted in ASP.net, C#, Sitecore, Web development and programming, tagged ASP.net, Sitecore, SQLite on February 3, 2009 | Leave a Comment »
After installing Sitecore v6, you get the following error when viewing the website or sitecore UI: Sitecore Could not load file or assembly ‘System.Data.SQLite, Version=1.0.48.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139′ or one of its dependencies. An attempt was made to load a program with an incorrect format. This is actually detailed in page 20 of the sitecore troubleshooting [...]
Sitecore ContextItem.Database.SelectItems() and languages.
Posted in ASP.net, Sitecore, tagged Language, Sitecore, Sitecore API on February 2, 2009 | Leave a Comment »
While poking around in the shared source RSS module for Sitecore, I found that several aspects of the “static feeds” feature loose language context during publishing. This only effects static feeds whereby the rss.xml file(s) are written to disk and linked-too directly. The processes is kicked-off my hooking into the publishing-end event. While the similar method [...]