问题描述
我们将普通的自定义列表作为模板导出,其中包含来自Office365 SharePoint在线站点的一些数据,然后我们在本地的SharePoint 2013中添加了相同的数据,使用此方法我们创建了一个新的自定义列表,但是我们可以无法访问,我们正在关注 错误.
We exported a plain custom list as a template which have some data from Office365 SharePoint online site, we then added the same in SharePoint 2013 on-premises, using this we create a new custom list however we can't access and we are getting following error.
Web部件错误:无法显示或导入此页面上的Web部件或Web窗体控件.找不到该类型或未将其注册为安全类型.相关ID:xxxxxxxxxxxxxxxxxxxxxxxx
Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe. Correlation ID: xxxxxxxxxxxxxxxxxxxxxxxx
从ULS日志中,我们收到以下错误.
From ULS log we got following error.
SPDistributedSecurityTokenCache 异常:'System.IO.FileNotFoundException:无法加载文件或程序集'Microsoft.ApplicationServer.Caching.Client
SPDistributedSecurityTokenCache Exception: 'System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Client
我认为它应该可以正常工作.
I think it should work without any issue.
推荐答案
是的,我可以在我的环境中重现相同的场景.
Yes, I can reproduce the same scenario in my environment.
问题是由于SharePoint Online和内部具有不同的程序集文件而引起的,它们不兼容.因此,不支持在基于Promise环境的在线列表模板中创建列表.
如果我们以SharePoint Online模板为前提在SharePoint上创建列表,则在加载列表时,它将无法在其中找到对应的程序集文件SharePoint已获得许可,因此我们无法将列表加载到 本地SharePoint.
If we create list on SharePoint on premise with the template of SharePoint online, when we load the list, it cannot find the correspond assembly file in SharePoint on permission, so we cannot load the list in SharePoint on premise.
谢谢
王恩(Dean Wang)
这篇关于无法使用从Office365 SharePoint在线网站导出到本地SharePoint 2013的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!