Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I was trying to implement site search to my existing Umbraco website, following the video tutorial on Examine.
Now, everytime I open a document type under Settings, it gives me this error.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Input parameter 'controlId' cannot be an empty string. at System.Web.Util.StringUtil.CheckAndTrimString(String paramValue, String paramName, Boolean throwIfNull, Int32 lengthToCheck) at System.Web.UI.ClientScriptManager.RegisterExpandoAttribute(String controlId, String attributeName, String attributeValue, Boolean encode) at System.Web.UI.ScriptRegistrationManager.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode) at System.Web.UI.ScriptManager.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.Web.UI.WebControls.ValidatorCompatibilityHelper.RegisterExpandoAttribute(Control control, String controlId, String attributeName, String attributeValue, Boolean encode) at System.Web.UI.WebControls.BaseValidator.AddAttributesToRender(HtmlTextWriter writer) at System.Web.UI.WebControls.RequiredFieldValidator.AddAttributesToRender(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) at System.Web.UI.WebControls.BaseValidator.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at umbraco.uicontrols.PropertyPanel.Render(HtmlTextWriter writer)
I tried restoring ExamineIndex.config and ExamineSettings.config as far as I could remember, but the error persists.
Any idea how to fix this? Thanks in advance.
This was because I changed the clientIdMode in web.config
THX so much been looking for why this error was thrown
glad to found this!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
TargetInvocationException when trying Examine
I was trying to implement site search to my existing Umbraco website, following the video tutorial on Examine.
Now, everytime I open a document type under Settings, it gives me this error.
I tried restoring ExamineIndex.config and ExamineSettings.config as far as I could remember, but the error persists.
Any idea how to fix this? Thanks in advance.
This was because I changed the clientIdMode in web.config
THX so much been looking for why this error was thrown
glad to found this!
is working on a reply...