For those who missed the webinar. Sitecore DACH started the SBOS services in the DACH region. I am very happy about that. Session from Christopher Nash are my highlight on Sitecore events.
Check out some cool slides from this webinar.
Quick links
Donnerstag, 18. Juni 2015
Mittwoch, 10. Juni 2015
Sitecore: An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item "/".
This one was my vault. I tried to get rid for the viewstate to gain speed. So I disabled Viewstate for the whole website and sitecore backend via web.config.
The better solution is to do it in Codebehinf or in the ASCX files.
<%@ Control Language="C#" EnableViewState="false" AutoEventWireup="true" CodeBehind="WebService.ascx.cs" Inherits="ICR..WebServices.WebService" %>
Server Error in '/' Application.
Exception Details: System.InvalidOperationException: An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item "/".
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249
The better solution is to do it in Codebehinf or in the ASCX files.
In ASCX files:
<%@ Control Language="C#" EnableViewState="false" AutoEventWireup="true" CodeBehind="WebService.ascx.cs" Inherits="ICR..WebServices.WebService" %>
In code behind :
Do it like this:protected void Page_Init(object sender, EventArgs e) { this.EnableViewState = false; }
Server Error in '/' Application.
An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item "/".
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 where it originated in the code.Exception Details: System.InvalidOperationException: An instance of Sitecore.Data.Items.Item was null. Additional information: Failed to find the root item "/".
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249
Dienstag, 9. Juni 2015
Sitecore: Package generation failed Root element is missing
Recently I had this error on a new, fresh environment while dealing with packages:
"Package generation failed Root element is missing"
Give access rights to temp folder. Or lets say allow IIS user to write in there. This solved it for me.
"Package generation failed Root element is missing"
Solution:
Give access rights to temp folder. Or lets say allow IIS user to write in there. This solved it for me.
Error:
Package generation failed Root element is missingDienstag, 2. Juni 2015
Sitecore 7: Exception of type ‘Lucene.Net.Index.MergePolicy+MergeException’ was thrown.
Intro
Recently I got this error, Exception of type ‘Lucene.Net.Index.MergePolicy+MergeException’ was thrown, in our log files. This was a Sitecore 7 site, rev. 140905.
First try and error punsh was to delete the files in the indexes folder ("sitecore_master_index") and rebuilding the index. Suprisingly the issue went away. Rebuiling usefull on a dev machine...
Here the error log entry:
Here the error log entry:
Lucene Merge Thread #0 14:54:38 ERROR Unhandled exception detected. The ASP.NET worker process will be terminated.
Exception: Lucene.Net.Index.MergePolicy+MergeException
Message: Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown.
Source: Lucene.Net
at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(Exception exc)
at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Abonnieren
Posts (Atom)