Sharepoint 从sp 2010迁移后,站点设置在sp 2013中不起作用

Sharepoint 从sp 2010迁移后,站点设置在sp 2013中不起作用,sharepoint,migration,sharepoint-2013,Sharepoint,Migration,Sharepoint 2013,我已将sharepoint 2010网站迁移到sharepoint 2013服务器。 该站点包含自定义web部件 现在所有页面(自定义和开箱即用)都可以正常工作,没有任何问题 但当我转到“站点设置”时,我会看到: 编译请求的文件或其依赖项时出错。无法将类型“string”转换为“int” 检查日志时,我发现以下异常: > Application error when access /_layouts/settings.aspx, Error=c:\Windows\Microsoft.NET

我已将sharepoint 2010网站迁移到sharepoint 2013服务器。 该站点包含自定义web部件

现在所有页面(自定义和开箱即用)都可以正常工作,没有任何问题

但当我转到“站点设置”时,我会看到: 编译请求的文件或其依赖项时出错。无法将类型“string”转换为“int”

检查日志时,我发现以下异常:

> Application error when access /_layouts/settings.aspx,
Error=c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e75b3e8d\191e7f\App_Web_settings.aspx.2a428413.q0ornjvx.0.cs(491):
error CS0030: Cannot convert type 'string' to 'int'
   at System.Web.Compilation.AssemblyBuilder.Compile()
   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 
   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)  
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)  
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)  
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)  
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)  
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)  
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
> 
> System.Web.HttpCompileException: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\e75b3e8d\191e7f\App_Web_settings.aspx.2a428413.q0ornjvx.0.cs(491):
 error CS0030: Cannot convert type 'string' to 'int'    at System.Web.Compilation.AssemblyBuilder.Compile()
     at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 
     at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
     at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
     at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
     at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
     at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
     at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
     at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
> 
> An error occurred during the compilation of the requested file, or one of its dependencies. Cannot convert type 'string' to 'int
"

任何帮助都将不胜感激

提前感谢,,
Ferdin

那么/\u layouts/settings.aspx文件的第491行是什么?