Category Archives: C#

Sitecore ‘Redirect Manager’ module available on shared source.

Redirect Manager – A new shared source module made available for Sitecore 6.x Continue reading

Posted in ASP.net, C#, Sitecore, Sitecore 6 | 1 Comment

Sitecore LinkManager – Out of context link generation

Part two of Sitecore Linkmanager analysis builds upon part one with the added twist of removing the httpcontext, for example – a scheduled task. Continue reading

Posted in ASP.net, C#, Sitecore, Web development and programming | Tagged , | 1 Comment

Sitecore with Gridview – rowupdating event doesn’t fire

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 … Continue reading

Posted in ASP.net, C#, DataBinding, Sitecore, Web development and programming | Tagged , | 3 Comments

GridView problem – Item has already been added. Key in dictionary: ‘Timestamp’ Key being added: ‘Timestamp’

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 … Continue reading

Posted in ASP.net, C#, Sitecore, Web development and programming | Tagged , , , , | Leave a comment

Sitecore – Could not load file or assembly System.Data.SQLite

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 … Continue reading

Posted in ASP.net, C#, Sitecore, Web development and programming | Tagged , , | 4 Comments

Silverlight web services cross domain warning

You get a cross-domain web services warning when debugging your silverlight application. This can be caused simply by leaving the wrong project highlighted when you hit F5. Select your .web project or the project that contains the aspx file hosting … Continue reading

Posted in ASP.net, C#, Silverlight, Web development and programming | Tagged , , , , | Leave a comment

Silverlight and LINQ problems: ‘YourDataClassesDataContext’ does not contain a constructor that takes ’0′ arguments

After rebuilding my DBML file with SQL metal, my DataContext class no longer has a parameterless constructor. This is due to differences between the was that Visual studio generates the DBML (with SQL metal) and how SQLMetal command-line does by default. The parameterless … Continue reading

Posted in ASP.net, C#, Silverlight, SQL Server 2005, Web development and programming | Tagged , , | Leave a comment