I have seen this issue in other posts, but I've never seen a way to fix it.
When I try to access the Report Manager, I get the following:
Server Error in '/Reports' Application.
Could not load file or assembly 'ReportingServicesWebServer' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'ReportingServicesWebServer' or one of its dependencies. The system cannot find the file specified.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ReportingServicesWebServer' could not be loaded.
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].
Stack Trace:
[FileNotFoundException: Could not load file or assembly 'ReportingServicesWebServer' or one of its dependencies. The system cannot find the file specified.] System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
[ConfigurationErrorsException: Could not load file or assembly 'ReportingServicesWebServer' or one of its dependencies. The system cannot find the file specified.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +3446629
System.Web.Compilation.BuildManager.CompileGlobalAsax() +51
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +462
[HttpException (0x80004005): Could not load file or assembly 'ReportingServicesWebServer' or one of its dependencies. The system cannot find the file specified.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456
[HttpException (0x80004005): Could not load file or assembly 'ReportingServicesWebServer' or one of its dependencies. The system cannot find the file specified.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426855
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
I am using SSE2005 SP2
What can I do to fix this? This is a production server that is very precisely configured, so I can't just format and reinstall everything (this would take DAYS)
Please please help!!! : )
Turn (temporarily) assembly binding logging on with the HKLM\Software\Microsoft\Fusion!EnableLogHKLM\Software\Microsoft\Fusion!EnableLog key as mentioned above, or download this tool which does the same thing:
http://msdn2.microsoft.com/en-us/library/e74a18c4(VS.80).aspx
Cause the error to occur while you are generating the log and you should get a good idea of what's going on...The log will tell you WHAT file it is trying to load and WHERE it is looking for the file...
|||I can not get assembly bind failure logging to work... am I missing something? No matter what settings I set, the error message still says that logging is off.. : (|||So, the tool won't work for you either?|||Correct. The bind logging works, but the error page still states that it is off, and no errors are logged.. : (
Could this be a problem with my .net 2.0 installation?
|||Ahhhh... didn't know I had to restart IIS to enable logging ;)
Here is the log :
*** Assembly Binder Log Entry (2/22/2007 @. 2:40:37 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = ReportingServicesWebServer
(Partial)
LOG: Appbase = file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportManager/
LOG: Initial PrivatePath = C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportManager\bin
LOG: Dynamic Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\reports\eabd629d
LOG: Cache Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\reports\eabd629d
LOG: AppName = 9e438247
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportManager\web.config
LOG: Using host configuration file: \\?\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/reports/eabd629d/9e438247/ReportingServicesWebServer.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/reports/eabd629d/9e438247/ReportingServicesWebServer/ReportingServicesWebServer.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportManager/bin/ReportingServicesWebServer.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportManager/bin/ReportingServicesWebServer/ReportingServicesWebServer.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/reports/eabd629d/9e438247/ReportingServicesWebServer.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/reports/eabd629d/9e438247/ReportingServicesWebServer/ReportingServicesWebServer.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportManager/bin/ReportingServicesWebServer.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportManager/bin/ReportingServicesWebServer/ReportingServicesWebServer.EXE.
LOG: All probing URLs attempted and failed.
Let me know if any other information will help.. thanks!!!!!!|||
OK, I see my version of this file in:
C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin
Do you see "your" copy here (the log says it's trying to find it there -- ):
URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportManager/bin/ReportingServicesWebServer.DLL
Also, what users have permissions to get into this folder?
|||Oh yeah, you also might want to try downloading / installing filemon from sysinternals to see if the attempt to grab this file by SSRS is failing due to permissions issues on the folder....|||I'm using procmon... the problem is really that the file isn't there... but if I put it there, I get this :
Server Error in '/Reports' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'Microsoft.ReportingServices.UI.GlobalApp'.
Source Error:
Line 1: <%@. Application Codebehind="Global.asax.cs" Inherits="Microsoft.ReportingServices.UI.GlobalApp" %>
Source File: /Reports/global.asax Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
I've uninstalled and re-installed several times, but this never changes anything... : (
I did find some other errors in the bind logs though :
*** Assembly Binder Log Entry (2/23/2007 @. 9:05:49 AM) ***The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = CppCodeProvider, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/testbed/zip/
LOG: Initial PrivatePath = C:\testbed\zip\bin
LOG: Dynamic Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\zip\44b9f2d0
LOG: Cache Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\zip\44b9f2d0
LOG: AppName = ccff1369
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\testbed\zip\web.config
LOG: Using host configuration file: \\?\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: CppCodeProvider, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/CppCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/CppCodeProvider/CppCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/CppCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/CppCodeProvider/CppCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/CppCodeProvider.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/CppCodeProvider/CppCodeProvider.EXE.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/CppCodeProvider.EXE.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/CppCodeProvider/CppCodeProvider.EXE.
LOG: All probing URLs attempted and failed.
and
*** Assembly Binder Log Entry (2/23/2007 @. 9:05:49 AM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/testbed/zip/
LOG: Initial PrivatePath = C:\testbed\zip\bin
LOG: Dynamic Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\zip\44b9f2d0
LOG: Cache Base = C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\zip\44b9f2d0
LOG: AppName = ccff1369
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\testbed\zip\web.config
LOG: Using host configuration file: \\?\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/VJSharpCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/VJSharpCodeProvider/VJSharpCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/VJSharpCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/VJSharpCodeProvider/VJSharpCodeProvider.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/VJSharpCodeProvider.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/zip/44b9f2d0/ccff1369/VJSharpCodeProvider/VJSharpCodeProvider.EXE.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/VJSharpCodeProvider.EXE.
LOG: Attempting download of new URL file:///C:/testbed/zip/bin/VJSharpCodeProvider/VJSharpCodeProvider.EXE.
LOG: All probing URLs attempted and failed.
and
*** Assembly Binder Log Entry (2/23/2007 @. 3:38:53 AM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\ReportingServicesService.exe
A detailed error log follows.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = msvcm80, Version=8.0.50608.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = ReportingServicesService.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\ReportingServicesService.exe.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: msvcm80, Version=8.0.50608.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/msvcm80.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/msvcm80/msvcm80.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/msvcm80.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/msvcm80/msvcm80.EXE.
LOG: All probing URLs attempted and failed.
|||Hmm...I realize I pasted the wrong string in...you should have your dll in ReportServer/Bin (not ReportManger)
C:/Program Files/Microsoft SQL Server/MSSQL.2/Reporting Services/ReportServer/bin/
I don't know if that will make a difference with the other errors you're seeing, but the dll should be in ReportServer/Bin...
Did you have any problems installing the 2.0 Framework on this machine and/or VS 2005 Sp1?
|||The DLL is there, for some reason it doesn't seem to be looking in the reportserver folder...
I tried to uninstall .NET 2.0 but it says it won't do it because it will disable applications (duh)
I might HAVE to thrash the server because I have to have this running in the next two weeks!
I'll keep noodling with it... if you think of anything else, let me know..
No comments:
Post a Comment