none
Application error when access /_layouts/ReportServer/RSViewerPage.aspx, Error=Could not load file or assembly 'Microsoft.SharePoint, Version=16.0.0.0

    General discussion

  • Hello all

    My farm (Windows 2012, SP 2013 foundation, Sql server 2016) has a bug with reporting service. Please help me how to resolve this problem.

    Thank you for any suggestion!

    Application error when access /_layouts/ReportServer/RSViewerPage.aspx, Error=Could not load file or assembly 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.  
     at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)    
     at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)    
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)    
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)    
     at System.Reflection.Assembly.Load(String assemblyString)    
     at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)    
     at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)    
     at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)    
     at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)    
     at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.   
     at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)    
     at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)    
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)    
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)    
     at System.Reflection.Assembly.Load(String assemblyString)    
     at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)    
     at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)    
     at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)    
     at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)    
     at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding
    Getting Error Message for Exception System.Web.HttpParseException (0x80004005): Could not load file or assembly 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. ---> System.Web.HttpParseException (0x80004005): Could not load file or assembly 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.  File name: 'Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'    
     at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)    
     at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)    
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)    
     at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)    
     at System.Reflection.Assembly.Load(String assemblyString)    
     at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)    
     at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)    
     at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)    
     at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)    
     at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)    WRN: Assembly binding logging is turned OFF.  To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.  Note: There is some performance penalty associated with assembly bind failure logging.  To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].      
     at System.Web.UI.TemplateParser.ProcessException(Exception ex)    
     at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)    
     at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)    
     at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)    
     at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)    
     at System.Web.UI.TemplateParser.ParseInternal()    
     at System.Web.UI.TemplateParser.Parse()    
     at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()    
     at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)    
     at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()    
     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)



    Monday, April 03, 2017 5:24 PM

All replies

  • FYI SQL Server 2016 database engine is not supported by SharePoint 2013. SSRS 2016 *is* though but it does require the SSRS 2016 addin. Here's the matrix: https://docs.microsoft.com/en-us/sql/reporting-services/install-windows/supported-combinations-of-sharepoint-and-reporting-services-server

    Trevor Seward

    Office Servers and Services MVP



    Author, Deploying SharePoint 2016

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Monday, April 03, 2017 5:32 PM
    Moderator
  • Thank you Trevor Seward

    That means SSRS 2016 is not support on Sharepoint 2013? What's I was missing?

    Report server SQL Server 2016 => SQL Server 2016 add-in => SharePoint 2016

    Report server SQL Server 2016 => SQL Server 2016  add-in => SharePoint 2013

    Report server SQL Server 2014 => SQL Server 2014 add-in => SharePoint 2013

    • Edited by diepkv Monday, April 03, 2017 5:48 PM
    Monday, April 03, 2017 5:46 PM
  • I have same problem.

    I have SharePoint Foundation 2013 on SQL 2012 Database Services and SQL 2016 for Reporting.

    Does anyone knows solution?

    Tuesday, February 27, 2018 9:29 AM
  • You have to upgrade Site Collection to 2013 version.

    Or

    add bindingRedirect from version 16.0.0.0. to 15.0.0.0 to web.config.

    See redirect exemple for Microsoft.Office.SecureStoreService in same web.config

    Wednesday, March 14, 2018 9:43 AM