Category Archives: Sitecore 8

Sitecore: Insert Link tree does not expand

In my development Sitecore, I had this strange situation that when I tried to insert a link, the tree would not fold out for certain items: I can see that I get the following error back from the /-/item/v1/sitecore/shell?sc_itemid= call: … Continue reading

Posted in Sitecore 10, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , | Leave a comment

Sitecore: Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.Sitecore – The remote name could not be resolved: ‘sitecore.myget.org’

Here is what you do if you receive messages like this: Errors in packages.config projectsUnable to find version ‘9.0.171219’ of package ‘Sitecore.Kernel.NoReferences’.https://sitecore.myget.org/F/sc-packages/api/v3/index.json: Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.An error occurred while sending the request.The remote name could … Continue reading

Posted in Sitecore 10, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , | Leave a comment

Sitecore Scheduled Tasks Run only when you want them to

Sitecore Scheduled Tasks is one of the fundamental features of Sitecore that allows you to run background tasks based on a schedule. The most common scheduled task runner is the one that looks for schedules in the /system/tasks/schedules folder. But … Continue reading

Posted in .net, .NET Core, c#, General .NET, Sitecore 10, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9, Sitecore and .net | Tagged , , , , , , , , | Leave a comment

Sitecore TargetInvocationException: Exception has been thrown by the target of an invocation

You are probably upgrading some packages in your Sitecore instance, but instead of success and glory, you are greeted with the following error message: The real reason for the error is hidden because Counters are enabled. To see the actual … Continue reading

Posted in Sitecore 10, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9, Sitecore and .net | Tagged , , , | 1 Comment

Could not load file or assembly ‘System.Diagnostics.DiagnosticSource, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified

The following error may occur when upgrading Microsoft ApplicationInsights: [FileNotFoundException: Could not load file or assembly ‘System.Diagnostics.DiagnosticSource, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified.]Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.Application_BeginRequest(Object sender, EventArgs e) +0System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142System.Web.<>c__DisplayClass285_0.b__0() +38System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +11857717System.Web.HttpApplication.ExecuteStep(IExecutionStep … Continue reading

Posted in c#, General .NET, Sitecore 10, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , | Leave a comment

Sitecore SOLR Search in multiselect lists fails unless you add the field to the defaultSolrIndexConfiguration config

So I have this multiselect field in Sitecore: The field is a treelist field, but this article works for all multiselect fields, treelist, checklist, multilist, etc. So how do you return the field as a list of Sitecore ID’s from … Continue reading

Posted in .net, c#, Sitecore 10, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , | Leave a comment

Sitecore Create Fully Qualified Url

A classic issue in Sitecore: Some code running in one Site Context is creating a link to a page in another context, and the link turns out to be complete garbage. For example, this code is running in the modules_shell … Continue reading

Posted in .net, c#, General .NET, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9, Sitecore and .net | Tagged , , , , , | Leave a comment

Sitecore create custom Content Editor Warnings using Conditions and Rules

The Content Editor Warnings are these yellow boxes that hover over your content in the Content Editor in Sitecore: In the old days we would make them by hooking into the getContentEditorWarnings pipeline. Nowadays we use the Sitecore Rules engine. … Continue reading

Posted in c#, General .NET, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , , , , | Leave a comment

Sitecore poor Index Update performance linked to missing Index in the Links database

Suddenly my index updates took forever to finish. I mean, one index update would take 2 minutes. And I have a lot of index updates. A lot. UPDATE: 2022-01-19: Sitecore have suggested the same changes to the links database in … Continue reading

Posted in General .NET, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9, Sitecore and .net | Tagged , , , | 2 Comments