SharePoint2010 Error:Failed to call GetTypes on assembly Microsoft.Office.InfoPath.Server解决方案

今天在使用SharePoint2010创建Site Collection时弹出错误:Failed to call Get Types on assembly Microsoft.Office.InfoPath.Server

SharePoint2010 Error:Failed to call GetTypes on assembly Microsoft.Office.InfoPath.Server解决方案_第1张图片

 

经过查询确认主要原因是在SharePoint2010环境中安装了Office2013所致,安装Office2013Info Path会覆盖SharePoint原有的DLL文件。

 

下面就要解决这一问题,经过测试发现最简单的方法如下:

  1. 在开始菜单中check,发现存在的Info Path2013,并进行卸载。此时Office2013其他组件,如wordexcel等都不用做卸载动作。

SharePoint2010 Error:Failed to call GetTypes on assembly Microsoft.Office.InfoPath.Server解决方案_第2张图片

  1. 点击开始菜单找到Comment Prompt,右键使用Run as administrator方式打开,执行IIS重启命令;

  1. 重新打开SharePoint2010 Central Admin->Application Management,创建site Collection成功,问题解决。

 

 

上面列出来是最简单有效的方法,如果仍需要Info Path可以安装2010版本使用。

 

其实在troubleshooting的时候也尝试了使用各种命令行解决,包括search到的方法:导入SharePoint2010的镜像文件执行repairconfigure命令,不过很不幸都没有成功,如果大家感兴趣的话也可以继续研究此种方法。

 

感谢阅读!

你可能感兴趣的:(解决方案,Path,failed,SharePoint,info,2010)