I'm having some trouble deploying a custom assembly used in some of my reports to our SSRS server in Sharepoint integrated mode. According to Microsoft the two methods to deploy an assembly to SSRS are:
- Copying the assembly to %ProgramFiles%\Microsoft SQL Server\MSRSnn.MSSQLSERVER\Reporting Services\ReportServer\bin
- Installing it to the GAC
I've tried both of those and I still get this error when deploying reports:
Deploying report 'http://localhost:7000/shared documents/xxxxxx.rdl'.
Error rsProcessingError : Error while loading code module: ‘Xxxxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxx’. Details: Could not load file or assembly 'Xxxxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxx' or one of its dependencies. The system cannot find the file specified.
The assembly is definitely in ReportServer\bin. It's also in Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies and it does work in the Preview mode in Visual Studio. I also used gacutil to install it to the GAC, but it is still not found.
Is there some special place I need to put the assembly to make it work with SSRS in Sharepoint? I can't seem to find any information about this. Is there some other reason I would get that error?