Sitecore Backend Labels missing - sitecore

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

Related

sitecore 8 - getting "Failed" JS dialog when clicking on treeview links

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).

WFFM throw folder error 8.0

WFFM throw folder error. Please find the screen shot.I have not written any code. I just created form and bind that into content tree only.It's working on Sitecore preview mode.
Formdata table not available in mongodb analytics database.
Exception: System.InvalidOperationException
Message: folder
Source: Sitecore.Forms.Core
at Sitecore.Form.Core.Configuration.ThemesManager.GetThemeName(Item form, ID >fieldId)
at Sitecore.Form.Core.Configuration.ThemesManager.GetThemeUrl(Item form, >Boolean deviceDependant)
at Sitecore.Form.Core.Configuration.ThemesManager.ScriptsTags(Item form, >Item contextItem)
at Sitecore.Form.Core.Configuration.ThemesManager.RegisterCssScript(Page >page, Item form, Item contextItem)
at Sitecore.Form.Web.UI.Controls.SitecoreSimpleFormAscx.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at Sitecore.Form.Core.Renderings.FormRender.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean >includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Sitecore's "Links" button doesn't work because of a null-reference exception

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

Redeploy segments throws error is Sitecore 8

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.

Sitecore WFFM Save To Database failed

I get the following error in the Sitecore log file. On the Save To Database action in a WFFM form. Web Forms for Marketers 2.4 rev. 141008.
I have a custom WFMDataProvider that just return a connectionString. I get the error on production CD and not on CMS. (i'm not using the remoteWfmService) What am I missing?
3292 09:42:32 ERROR Save To Database failed.
Exception: System.Reflection.ReflectionTypeLoadException
Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source: mscorlib
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.Data.Metadata.Edm.ObjectItemAttributeAssemblyLoader.LoadTypesFromAssembly()
at System.Data.Metadata.Edm.ObjectItemAssemblyLoader.Load()
at System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, ObjectItemLoadingSessionData loadingData)
at System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage, Object& loaderCookie, Dictionary`2& typesInLoading, List`1& errors)
at System.Data.Metadata.Edm.ObjectItemCollection.LoadTypesExpensiveWay(Assembly assembly)
at System.Data.Objects.DataClasses.RelationshipManager.TryGetRelationshipType(IEntityWrapper wrappedOwner, Type entityClrType, String relationshipName, AssociationType& associationType)
at System.Data.Objects.DataClasses.RelationshipManager.GetRelatedEndInternal(String relationshipName, String targetRoleName)
at System.Data.Objects.DataClasses.RelationshipManager.GetRelatedReference[TTargetEntity](String relationshipName, String targetRoleName)
at Sitecore.Forms.Data.Field..ctor(IField field, Form form)
at Sitecore.Forms.Data.DataProviders.WFMDataProvider.<>c__DisplayClass7.<InsertForm>b__6(IField f)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Sitecore.Forms.Data.DataProviders.WFMDataProvider.InsertForm(IForm form)
at Sitecore.Forms.Data.DataManager.InsertForm(ID formId, AdaptedResultList fields, ID sessionID, String data)
at Sitecore.Form.Submit.SaveToDatabase.Execute(ID formid, AdaptedResultList fields, Object[] data)
3292 09:42:32 WARN Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Exception: System.Reflection.ReflectionTypeLoadException
Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source: mscorlib
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.Data.Metadata.Edm.ObjectItemAttributeAssemblyLoader.LoadTypesFromAssembly()
at System.Data.Metadata.Edm.ObjectItemAssemblyLoader.Load()
at System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, ObjectItemLoadingSessionData loadingData)
at System.Data.Metadata.Edm.AssemblyCache.LoadAssembly(Assembly assembly, Boolean loadReferencedAssemblies, KnownAssembliesSet knownAssemblies, EdmItemCollection edmItemCollection, Action`1 logLoadMessage, Object& loaderCookie, Dictionary`2& typesInLoading, List`1& errors)
at System.Data.Metadata.Edm.ObjectItemCollection.LoadTypesExpensiveWay(Assembly assembly)
at System.Data.Objects.DataClasses.RelationshipManager.TryGetRelationshipType(IEntityWrapper wrappedOwner, Type entityClrType, String relationshipName, AssociationType& associationType)
at System.Data.Objects.DataClasses.RelationshipManager.GetRelatedEndInternal(String relationshipName, String targetRoleName)
at System.Data.Objects.DataClasses.RelationshipManager.GetRelatedReference[TTargetEntity](String relationshipName, String targetRoleName)
at Sitecore.Forms.Data.Field..ctor(IField field, Form form)
at Sitecore.Forms.Data.DataProviders.WFMDataProvider.<>c__DisplayClass7.<InsertForm>b__6(IField f)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Sitecore.Forms.Data.DataProviders.WFMDataProvider.InsertForm(IForm form)
at Sitecore.Forms.Data.DataManager.InsertForm(ID formId, AdaptedResultList fields, ID sessionID, String data)
at Sitecore.Form.Submit.SaveToDatabase.Execute(ID formid, AdaptedResultList fields, Object[] data)
at Sitecore.Form.Core.Submit.SubmitActionManager.ExecuteSaving(ID formID, ControlResult[] list, ActionDefinition[] actions, Boolean simpleAdapt, ID sessionID)
3292 09:42:32 WARN Web Forms for Marketers: an exception: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. has occured while trying to execute an action.
I have found that the MSCaptcha.dll is not deployed. Normally you get a Exception when this file is missing. But in this case the App_Config\include\Captcha.config was also missing.
If you remove this 2 files it looks like everything works fine with a form (without captcha) but the save to database action does not work and needs this MSCaptcha.dll. And so gives the error mentioned in the question.
I am almost certain that this is the issue. I only need a deploy to confirm.