I've a custom controls that embeds the Youtube player at runtime, so it's possible visualize video only passing the video-ID in querystring.
So, the content of my page Video.aspx has: the video title, the player, and some text coming from the video description.
Now, the problem: if I search the text (taken from title or description) the index doesn't find the video page. The only result I can obtain is the empty Video.aspx page if I use the "video" word in the searchbox.
The index always takes the html page, but seems not consider the html that my control fills in the page at runtime.
Second: I tried to force the indicization of the video description text modifying the fieldsInfoProvider.xml adding this line:
where videodata is the id of the div that wraps my control.
E' stata generata un eccezione. Messaggio Eccezione generata dalla destinazione di una chiamata.. Metodo o funzione :System.Object _InvokeConstructor(System.Object[], System.SignatureStruct ByRef, IntPtr). Dettaglio Errore: in System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
in System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
in System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
in System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
in System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
in Telerik.Search.Engine.Crawler.GetIndexer(String key, Dictionary`2 indexers, String provider, Boolean appendToIndex)
in Telerik.Search.Engine.Crawler.IndexContent(String provider, LinkedList`1 data, Boolean appendToIndex, Dictionary`2 indexers)
in Telerik.Search.Engine.Crawler.Index(String provider, String[] urls, LinkedList`1 data, Boolean appendToIndex)
in Telerik.Search.Engine.IndexingManager.StartIndexing(IIndexingService service, Boolean appendToIndex)
in Telerik.Search.Engine.IndexingService.Index(Boolean appendToIndex)
in Telerik.Search.WebControls.Admin.ControlPanel.Service_Command(Object sender, CommandEventArgs e)
in System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
in System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
in System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
in System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
in System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in Telerik.Search.IndexFieldsProvider.Load(String infoPath)
in Telerik.Search.IndexFieldsProvider.Load()
in Telerik.Search.Engine.HtmlIndexer..ctor(String directory, String provider, Boolean appendToIndex)
--- Fine dell'analisi dello stack dell'eccezione interna ---
in System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
in System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
in System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
in System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
in System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
in Telerik.Search.Engine.Crawler.GetIndexer(String key, Dictionary`2 indexers, String provider, Boolean appendToIndex)
in Telerik.Search.Engine.Crawler.IndexContent(String provider, LinkedList`1 data, Boolean appendToIndex, Dictionary`2 indexers)
in Telerik.Search.Engine.Crawler.Index(String provider, String[] urls, LinkedList`1 data, Boolean appendToIndex)
in Telerik.Search.Engine.IndexingManager.StartIndexing(IIndexingService service, Boolean appendToIndex)
in Telerik.Search.Engine.IndexingService.Index(Boolean appendToIndex)
in Telerik.Search.WebControls.Admin.ControlPanel.Service_Command(Object sender, CommandEventArgs e)
in System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
in System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
in System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
in System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
in System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
in System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
What's the problem.