SSRS失败,出现App_global.asax错误

我们的SSRS服务器已经启动失败。 日志目前显示以下错误:

System.BadImageFormatException: Could not load file or assembly 'file:///C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\RSTempFiles\reportserver\c2a527bc\9cd1a7f9\App_global.asax.lmmhf4gb.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. 

似乎SSRS服务正在使用.NET 4.0编译网站,但是它应该使用我们发现的所有内容的v3.5。

find修复这里: http : //blogs.msdn.com/b/selvar/archive/2012/07/14/reporting-services-unexpectedly-loads-net-framework-4-0-by-default-and-fails -with-HTTP-500-19-同时浏览报告服务器和报告经理,url.aspx

事实certificate,registry项HKLM\SOFTWARE\Microsoft\.NETFramework\OnlyUseLatestCLR被设置为1 。 不知道它是如何到达那里。 一旦我们改变了,一切都再次奏效。