Email Aaron Blake now at webmaster@aaronblake.co.uk
or contact me

Category Archives: ASP.net

Sitecore – CryptographicException file not found

After installing a new instance of Sitecore manually, I kept receiving the following error: CryptographicException file not found Server Error in ‘/’ Application. The system cannot find the file specified. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and [...]

Validate Sitecore Item Programmatically

I was developing an event handler that needed to check if the fields in a Sitecore item were valid before continuing with the event. I thought Sitecore items might have a property such as: item.Validation.IsValid But this isn’t the case. To check if an item is valid, I created a custom function called ValidateItemFields that [...]

Duplicate Namespace Problem

Today I cam across an annoying Namespace issue, which I spent ages trying to solve. If you have a namespace which has the same name as another namespace but at a different level, .net won’t know which namespace to use, and will through an error. This is also true for classes as well. Example: namespace [...]

Email me through this magic form.