I am new to Sitecore and got a task to build the search using SiteCore 7 API. getting following error on search result query execution.
System.ArgumentNullException: Value cannot be null. Parameter name:
fieldNameTranslator
error raised from following line
IQueryable<SearchResultItem> results = context.GetQueryable<SearchResultItem>();
stack says
Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(IIndexValueFormatter valueFormatter, IFieldQueryTranslatorMap`1 fieldQueryTranslators, FieldNameTranslator fieldNameTranslator, IExecutionContext[] executionContexts) +284
I have logged on to content management system and in Index Manager I am trying to rebuild index of sitecore_web_index but I get following error
Job started: Index_Update_IndexName=sitecore_web_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Sitecore.Exceptions.ProviderConfigurationException: Solr operations unavailable. Please check your global.asax,
ContentSearch.Solr.ServiceBaseAddress
setting points to a right Solr resourceApplication_Start
method.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With