简体   繁体   English

Sharepoint Foundation:“无法加载文件或程序集'Microsoft.SharePoint.Publishing'”

[英]Sharepoint Foundation: “Could not load file or assembly 'Microsoft.SharePoint.Publishing'”

I deployed some solutions to Sharepoint Central Administration. 我向Sharepoint管理中心部署了一些解决方案。 After this, the Central Administration can't open. 此后,管理中心将无法打开。 this error appear when I try access the site: 当我尝试访问该网站时出现此错误:

Error 错误
Could not load file or assembly 'Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. 无法加载文件或程序集“ Microsoft.SharePoint.Publishing,版本= 14.0.0.0,文化=中性,PublicKeyToken = 71e9bce111e9429c”或其依赖项之一。 The system cannot find the file specified. 该系统找不到指定的文件。

I saw at some blog this error occur because the solution isn't compatible with sharepoint foundation. 我在某些博客中看到发生此错误,因为该解决方案与Sharepoint Foundation不兼容。 So I uninstalled all solutions from site using PowerShell's Command. 因此,我使用PowerShell的命令从站点上卸载了所有解决方案。 But the error persist. 但是错误仍然存​​在。

What I need to do to fix it? 我需要做些什么来解决它?

I assume you only have SharePoint Foundation installed since you get this error, (and not SharePoint Server). 我假设自从收到此错误以来,您仅安装了SharePoint Foundation(而不是SharePoint Server)。 I would check the web.config of the central admin website for references to 'Microsoft.SharePoint.Publishing'. 我将检查中央管理网站的web.config中是否有对“ Microsoft.SharePoint.Publishing”的引用。 Probably the custom solutions you installed left some traces there and that's causing your problem. 您安装的自定义解决方案可能在此处留下了一些痕迹,这导致了您的问题。 It's not pretty but you'll probably need to remove these references manually. 它不是很漂亮,但是您可能需要手动删除这些引用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集 Microsoft.Office.SharePoint.Tools - Could not load file or assembly Microsoft.Office.SharePoint.Tools C#无法加载文件或程序集“Microsoft.SharePoint.Library” - C# Could not load file or assembly 'Microsoft.SharePoint.Library' Microsoft.VisualStudio.SharePoint.targets(416):无法加载文件或程序集'Microsoft.VisualStudio.SharePoint.Designers.Model - Microsoft.VisualStudio.SharePoint.targets (416): Could not load file or assembly 'Microsoft.VisualStudio.SharePoint.Designers.Model SharePoint 无法加载文件或程序集'Microsoft.SharePoint.ApplicationPages“访问被拒绝” - SharePoint Could not load file or assembly 'Microsoft.SharePoint.ApplicationPages “Access is Denied” 共享点问题:无法加载文件或程序集-BadImageFormatException - Sharepoint woes: Could not load file or assembly - BadImageFormatException 无法加载文件或程序集Sharepoint 2007 WebPart - Could Not Load File or Assembly Sharepoint 2007 WebPart 该应用程序因错误而终止。无法加载文件或程序集'Microsoft.SharePoint.Client,版本= 14.0.0.0, - The application terminated with an error.Could not load file or assembly 'Microsoft.SharePoint.Client, Version=14.0.0.0, 无法加载文件或程序集'Microsoft.Office.Server.UserProfiles-sharepoint 2010中的Yammer集成 - Could not load file or assembly 'Microsoft.Office.Server.UserProfiles— Yammer integration in sharepoint 2010 无法加载我从未添加过的文件或程序集“Microsoft.SharePoint.Library” - Could not load file or assembly 'Microsoft.SharePoint.Library' which I've never added Sharepoint“无法加载文件或程序集”“系统找不到指定的文件” - Sharepoint “Could not load file or assembly” “The system cannot find the file specified”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM