I'm trying to redeploy segments for sitecore analytics. We are using sitecore 8 update 5.
But when I click Redeploy Segments button at /admin/redeploymarketingdata.aspx I get the following error
Could not create object of type
"Sitecore.ExperienceAnalytics.Client.Workflow.DeploySegmentAction,Sitecore.ExperienceAnalytics.Client"
(method: Sitecore.Pipelines.Processor.Invoke(PipelineArgs args)).
Stack Trace:
[Exception: Could not create object of type "Sitecore.ExperienceAnalytics.Client.Workflow.DeploySegmentAction,Sitecore.ExperienceAnalytics.Client" (method: Sitecore.Pipelines.Processor.Invoke(PipelineArgs args)).]
Sitecore.Diagnostics.Error.Raise(String error, String method) +129
Sitecore.Pipelines.Processor.GetObject() +131
Sitecore.Pipelines.Processor.Invoke(PipelineArgs args) +66
Sitecore.Nexus.Pipelines.NexusPipelineApi.Resume(PipelineArgs args, Pipeline pipeline) +398
Sitecore.Pipelines.Pipeline.Start(PipelineArgs args, Boolean atomic) +366
Sitecore.Workflows.Simple.Workflow.ExecuteCommandActionsAndTransition(Item commandItem, Item dataItem, StringDictionary commentFields, Object[] parameters, Processor callback) +550
Sitecore.Workflows.Simple.Workflow.Execute(String commandID, Item item, String comments, Boolean allowUI, Object[] parameters) +225
ASP.sitecore_admin_redeploymarketingdata_aspx.DeploySegments() +1841
ASP.sitecore_admin_redeploymarketingdata_aspx.Redeploy() +341
ASP.sitecore_admin_redeploymarketingdata_aspx.__RenderpnlResults(HtmlTextWriter __w, Control parameterContainer) +50
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +394
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +49
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +111
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Page.Render(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +150
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5363
I don't find any other analytics error other than this.
Type Sitecore.ExperienceAnalytics.Client.Workflow.DeploySegmentAction, Sitecore.ExperienceAnalytics.Client is not a part of Sitecore 8.0 U-5, but it was presented in previous updates. Looks like your Sitecore instance was upgraded up to U-5 from previous one.
The reason of the exception is item (_id: {22762234-2C2B-4008-89FD-FE0623B97622}) in master database. The item should be removed automatically during installation of Sitecore Update Installation Wizard 1.0.0 rev. 150804.zip package as a step of upgrade.
Check that you followed all steps from Upgrade Guild during upgrade.
Related
When I tried to click on the treeview links from "Insert Options" (and in other windows as well).
Please check this below link for the error screen shot.
Error on tree-view link click
The error log has the following details:
*
Exception: System.Web.HttpUnhandledException
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source: System.Web
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.sitecore_shell_controls_treeviewex_treeviewex_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\252d77a1\7452ed5e\App_Web_0so42fby.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Nested Exception
Exception: System.ArgumentNullException
Message: Null ids are not allowed.
Parameter name: name
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.ArgumentNotNullOrEmpty(String argument, String argumentName)
at Sitecore.Web.UI.HtmlControls.Data.DataViewFactory.GetDataView(String name, String parameters)
at Sitecore.Web.UI.WebControls.TreeviewEx.RenderChildren(HtmlTextWriter output, Item parent)
at Sitecore.Web.UI.WebControls.TreeviewEx.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
*
Kindly help me if anyone knows the reason for this issue? I tried with one solution found in one of the site (by "disable" the authentication in the IIS) but it did not work for me.
Thanks in advance for your help.
I stumbled upon your question since we have the same problem, and this article describes exactly what we did and what problem we ran into.
I don't know if you added a URL rewrite rule for SEO to always use lowercase URLs, but it seems that Sitecore isn't a fan. So you should exclude this rule for your CM environment (what we did) or specifically exclude Sitecore urls (what they describe in the article).
Upgrading from sitecore 6.6.0 (rev. 130529) to 7 and all worked fine until I tried to access 'Content Editor'. I get this strange error and have no idea what need to be done.
Exception: System.Web.HttpUnhandledException
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source: System.Web
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.sitecore_shell_applications_content_manager_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\953a4a3d\d5c79dc4\App_Web_l41k3wf4.2.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Nested Exception
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] parameters)
at Sitecore.Shell.Applications.ContentManager.ContentEditorPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Nested Exception
Exception: System.TypeLoadException
Message: Access is denied: 'Sitecore.Shell.Applications.ContentEditor.RenderingDatasource'.
Source: mscorlib
at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Sitecore.Web.UI.XmlControls.ControlSource.ResolveType(String controlName, Assembly assembly)
at Sitecore.Web.UI.XmlControls.AssemblyControlSource.ResolveType(String controlName, Boolean includeDynamicTypes)
at Sitecore.Web.UI.XmlControls.ControlSource.GetControlType(String namespacePrefix, String controlName, String mode, Boolean includeDynamicTypes)
at Sitecore.Web.UI.XmlControls.ControlFactory.GetControlType(String controlName, String mode, Boolean includeDynamicTypes)
at Sitecore.Web.UI.XmlControls.ControlFactory.GetControl(Control parent, String controlName, String mode, Object[] properties, AllowGenericControl allowGeneric)
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.GetEditor(Item fieldType)
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Item fieldType, Boolean readOnly, String value)
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Item fieldType, Boolean readOnly)
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderField(Control parent, Field field, Boolean readOnly)
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderSection(Section section, Control parent, Boolean readOnly)
at Sitecore.Shell.Applications.ContentEditor.EditorFormatter.RenderSections(Control parent, Sections sections, Boolean readOnly)
at Sitecore.Shell.Applications.ContentEditor.Pipelines.RenderContentEditor.RenderStandardContentEditor.Process(RenderContentEditorArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)
at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain)
at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args)
at Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArgs args, Control parent)
at Sitecore.Shell.Applications.ContentManager.Editor.Render(Item item, Item root, Hashtable fieldInfo, Control parent, Boolean showEditor)
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item item, Item root, Control parent, Boolean showEditor)
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(Item folder, Item root, Boolean showEditor)
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()
at Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(EventArgs e)
Tried few times but I cannot see this going away. Anyone else had this before?
Updated with full stack now. I'm not sure if first 2 exceptions has anything to do with this but it might be part of the problem.
The error is from Sitecore trying to load an assembly via reflection and getting a system level access denied on the DLL. You should check that the identity your AppPool runs as has access to the webroot, in particular, the /bin folder and all it's contents.
Go the IIS and select the the site App pool. Then click on the Advance Setting and navigate to the Process Model Section. Change the Identity to NetworkService.
On your website folder, right click and go to properties. Select the Security Tab and add the following user:
Everyone - check all checkboxes to provide full access
Also, make sure that NETWORK SERVICE is present in the list of usernames which all required access:
I am trying to see a certain item's linked items. I am doing this on a client's content management server. When I click on Navigate -> Links, nothing happens. I get this error in the JavaScript console:
http://sitename.local/sitecore/shell/default.aspx?xmlcontrol=Gallery.Links&…de-DE&vs=1&db=master&sc_content=master&ShowEditor=1&Ribbon.RenderTabs=true
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Here's what I see in Sitecore logs:
38424 19:09:30 ERROR Application error.
Exception: System.Web.HttpUnhandledException
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Source: System.Web
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Nested Exception
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)
at Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Nested Exception
Exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: ownerItem
Source: Sitecore.Kernel
at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName)
at Sitecore.Data.Fields.Field..ctor(ID fieldID, Item ownerItem)
at Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm.GetLinkTooltip(Item reference, ItemLink link)
at Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm.RenderReferences(StringBuilder result, List`1 references)
at Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm.OnLoad(EventArgs e)
It looks like the ownerItem argument is null when creating an item field.
This happens for several different items—e.g. templates and sublayouts.
What is causing this issue and how do I fix it?
This issue was registered as a bug in Sitecore and it was fixed in the Sitecore 8.1 update 2 as a part of the fixes merged from 7.2 update 6:
"Includes all relevant fixes from Sitecore 7.2 update-6"
https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/Sitecore%2081/Sitecore%20Experience%20Platform%2081%20Update2/Release%20Notes
"452241: Links dialog fails if cross-database links are present"
https://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%207/ReleaseNotes/ChangeLog.aspx
To fix the issue in Sitecore 8.1 update 1, please install the following patch:
Put the attached Sitecore.Support.452241.dll file into the bin folder of your solution.
Replace the following string in the Website\sitecore\shell\Applications\Content Manager\Galleries\Links\Gallery Links.xml dialog:
<CodeBeside Type="Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm,Sitecore.Client"/>
with the new one:
<CodeBeside Type="Sitecore.Support.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm,Sitecore.Support.452241"/>
Link of the file you can find it here: https://www.dropbox.com/s/l36zqhwjtahl4q2/Sitecore.Support.452241.dll?dl=0
I am getting a really strange error currently for one sitecore user, randomly a server error appears - However, the user can refresh the page and the page loads without an error (according to the user). I'm not sure what this error would be relating to, would anyone have any input?
Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not
set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an
object.] Sitecore.Data.Database.ApplySecurity(Item[] items) +112
Sitecore.Data.Database.SelectItems(String query) +252
Sitecore.Shell.Applications.WebEdit.Commands.OpenMyItems.GetHeader(CommandContext
context, String header) +188
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderSmallButton(HtmlTextWriter
output, Item button, CommandContext commandContext) +307
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderButton(HtmlTextWriter
output, Item button, CommandContext commandContext) +732
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter
output, Item chunk, CommandContext commandContext) +330
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter
output, Item chunk, CommandContext commandContext, Boolean
isContextual, String id) +204
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunk(HtmlTextWriter
output, Item chunk, CommandContext commandContext, Boolean
isContextual) +242
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderChunks(HtmlTextWriter
output, Item strip, CommandContext commandContext, Boolean
isContextual) +442
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter
output, Item ribbon, Boolean isContextual, ListString
visibleStripList) +800
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.RenderStrips(HtmlTextWriter
output, Item defaultRibbon, Item contextualRibbon, ListString
visibleStripList) +215
Sitecore.Web.UI.WebControls.Ribbons.Ribbon.Render(HtmlTextWriter
output) +610
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +149
Sitecore.Web.HtmlUtil.RenderControl(Control ctl) +74
Sitecore.Shell.Applications.WebEdit.WebEditRibbonForm.RenderRibbon(Item
item) +603
Sitecore.Shell.Applications.WebEdit.WebEditRibbonForm.OnLoad(EventArgs
e) +1238
[TargetInvocationException: Exception has been thrown by the target of
an invocation.] System.RuntimeMethodHandle.InvokeMethod(Object
target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,
Object[] parameters, Object[] arguments) +76
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+193 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35 Sitecore.Web.UI.Sheer.ClientPage.OnLoad(EventArgs
e) +337 System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+3178
If you have recently upgraded your Sitecore instance, you can get this error at times, and the LinkDatabase can become corrupted.
Read this article for more information.
http://reasoncodeexample.com/2015/03/26/sitecore-linkdatabase-unrecognized-guid-format/
However, it is odd that is only one user. Please let us know what solves it.
Thanks!
I have a Sitecore 7.5 instance, where the backend is broken after installing some packages with content, layouts and templates from an old Sitecore 6.3 SIP 3.2 instance and the new built DLLs from the solution. I also merged the config files of both instances.
This is how the backend of the 7.5 instance looks now:
Any idea what causes this and how I can fix this?
Thanks in advance!
EDIT: Labels and Save issue fixed. Getting an error message on the website.
Frontend error message:
[InvalidOperationException: intranetContext]
Sitecore.Diagnostics.Assert.IsNotNull(Object value, String message) +55
Sitecore.Intranet.Utils.IntranetUtil.get_CurrentIntranetSite() +403
Sitecore.Intranet.Settings.IntranetSettings.get_SiteDatabase() +89
Sitecore.Intranet.Utils.IntranetLanguageResolver.get_LanguageList() +61
Sitecore.Intranet.Utils.IntranetLanguageResolver.get_FullLanguageList() +188
Sitecore.Intranet.Utils.IntranetLanguageResolver.GetLanguageList(Boolean isContentArea, Boolean isExclusiveQS) +149
Sitecore.Intranet.Utils.IntranetLanguageResolver.GetLanguage(Item item, Boolean isContentArea, Boolean isExclusiveQS) +74
Sitecore.Intranet.Utils.IntranetLanguageResolver.IsContentLanguageAccessible(Item item, Language& language) +135
Sitecore.Intranet.HtmlControls.LocalizedPlaceholder.EnterContentArea() +81
Sitecore.Intranet.HtmlControls.LocalizedPlaceholder.OnInit(EventArgs e) +46
System.Web.UI.Control.InitRecursive(Control namingContainer) +186
System.Web.UI.Control.InitRecursive(Control namingContainer) +291
System.Web.UI.Control.InitRecursive(Control namingContainer) +291
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098