VS 2013 Custom assemblies load Rdlc report - reporting-services

My external assemblies are not loading while i run report...
it does compile with no error but report could not run the error shows :
Error while loading code module: ‘ResultAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'ResultAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
In VS 2013
I have added my assembly in C:\Program Files (x86)\MSBuild\12.0\Bin.... it works fine when i compile my solution
But report not running :(

Related

The type 'local:VideoView' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built

I have added the assembly "Plugin.MediaManager.Forms" But it is showing the following error-"Failed to resolve assembly: 'Plugin.MediaManager.Forms, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ,
The type 'local:VideoView' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
Have added my code in the comment.

How to display report execution time in client's local time zone in SSRS 2012

I have reports in SSRS2008R2 which uses this code to return the report execution time in the local time zone of the client running the report:
=System.TimeZoneInfo.ConvertTimeBySystemTimeZoneId(DateTime.UtcNow,TimeZoneInfo.Utc.Id,First(Fields!TenantTimeZoneName.Value, "Company"))
In order for this to run in SSRS2008R2, I added the reference assembly below:
System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
These reports have run fine for years until now. I am building up a new SSRS2012 server and when I attempt to deploy a report to the new server, I get the following error during deployment:
The definition of the report '/MyReport' is invalid.
Assuming that this just meant that I would have to switch the reference assembly to point to a higher release System.Core, I changed the assembly to point to System.Core 4.0 instead of System.Core 3.5. When I do that, I get this error:
Error while loading code module: ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. Details: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
I checked the file location and the System.Core assembly shows up just where the path indicates it is supposed to be. I also checked the GAC and the assembly is there.
I really need to get this working ASAP but I am at an impasse. Any ideas?
This is old, but for anyone looking. It is best to remove the reference to System.Core and call the same function via system.
The example below converts a datetime from "UTC" to "EST".
=System.TimeZoneInfo.ConvertTimeBySystemTimeZoneId(Fields!YOURDATETIMEHERE.Value, "Dateline Standard Time", "Eastern Standard Time")

SSRS Report Builder Loading Assembly Error

I am simply trying to add an assembly reference to Report Builder. However, I copied the assembly's dll and added to (C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin). After that i added the reference to it from the report builder.
However, upon trying to preview the report i get:
An error occurred during local report processing. The definition of the report '' is invalid. Error while loading code module: 'PebbleReports.SsrsUtils, Version:1.0.0.0, Culture=neutral, PublicKeyToken=null, Details: Could not load file or assembly 'PebbleReports.SsrsUtils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Any help is much appreciated, as I found nothing so far on google.
try copying the DLLs to the following location:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies

Could not load file or assembly 'Mysql.Data, Version=6.6.5.0'

I am getting this error while running my web application in visual studio 2012, with MySQL version 5.2.47 CE:
Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral,
PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find
the file specified.
Can anybody help me?

rsErrorLoadingCodeModule: what are the steps to deploy an assembly for use with Report Builder 2.0?

I've built an assembly with a public static class and a public static method with a return type of int. Eventually I'll add more methods but for now the assembly contains just one method. I'm trying to use this assembly in my SSRS reports but it results in an error:
[rsErrorLoadingCodeModule]
Error while loading code module: ‘XXX.Calcs, Version=2013.1.21.0, Culture=neutral, PublicKeyToken=null’.
Details: Could not load file or assembly 'XXX.Calcs, Version=2013.1.21.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I referenced the assembly through Report Properties -> References. When I create an expression that uses the method in the assembly and then build, I get the above error.
I deployed the assembly to:
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies
Thoughts? Am I missing any steps?
I found this and followed the steps exactly.