Sha*_*thu 7 sitecore sitecore-mvc sitecore8
我已经从Sitecore 7.5升级到Sitecore 8,并且在尝试访问内容编辑器时出现错误.
'/'应用程序中的服务器错误.
值不能为空.
参数名称:fieldNameTranslator
描述:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息.异常详细信息:System.ArgumentNullException:Value不能为null.参数名称:fieldNameTranslator
源错误: 在执行当前Web请求期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息.
[ArgumentNullException:Value不能为null.参数名称:fieldNameTranslator] Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(IIndexValueFormatter> valueFormatter,IFieldQueryTranslatorMap`1 fieldQueryTranslators,> FieldNameTranslator fieldNameTranslator,IExecutionContext [] executionContexts,> IFieldMapReaders fieldMap,Boolean convertQueryDatesToUtc)+310
Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1..ctor(SolrSearchContext> context,IExecutionContext [] executionContexts)+192 Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable(IExecutionCo> ntext [] executionContexts)+83 Sitecore.ContentTesting.ContentSearch.TestingSearch .GetRunningTests()+ 637 Sitecore.ContentTesting.Data.SitecoreContentTestStore.GetActiveTests(DataUri> hostItemDataUri,String searchText)+252 Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWar> nings.Process(GetContentEditorWarningsArgs args)+247(Object,Object [] )+141 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)+365 Sitecore.Shell.Applications.ContentManager.Editor.GetWarnings(Boolean> hasSections)+271 Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArg> s args,Control parent)+178 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item> item,Item root,Control parent,Boolean showEditor)+231 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor (Item> folder,Item root,Boolean showEditor)+374 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()+411 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(Even> tArgs e)+212Boolean showEditor)+374 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()+411 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(Even> tArgs e)+212Boolean showEditor)+374 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update()+411 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(Even> tArgs e)+212
我们需要对此做一些事情。您是否从 Lucene 更改为 Solr?尽管我认为这个错误已经修复,但我们需要在 Solr.config 中更改一些值。看一眼
http://blog.horizontalintegration.com/2015/01/21/sitecore-8-solr-configuration-and-setup/
https://born4joy.wordpress.com/2015/09/03/installation-and-configuration-of-solr-for-sitecore-8/
| 归档时间: |
|
| 查看次数: |
3945 次 |
| 最近记录: |