Error: 'Microsoft.enterproiseManagment.Re porting.Code'

Hi all ,

I am facing this issue

An error occured during local report processing. Error while loading code module: 'Microsoft.enterproiseManagment.Reporting.Code',........

Could not load file or assembly .....

while previewing the report in ssrs

Kindly , help me to resolve this

T

February 3rd, 2014 6:47am

Hi Subathra,

The error message "Error while loading code module: Microsoft.EnterpriseManagement.Reporting.Code. Could not load file or assembly" means the assembly Microsoft.EnterpriseManagement.Reporting.Code or its dependency can't be found from the server which is running SQL Server Reporting Service(SSRS).

The assembly Microsoft.EnterpriseManagement.Reporting.Code is from System Center, which is not build-in SSRS assembly. 
For non-builtin assembly, to use it in SSRS system, we need to copy to the SSRS appliction folder(bin), or install it to the Global Assembly Control(GAC) in SSRS server.

So, in this case, please ensure the assembly is existing in:
<driver>:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\Bin

Or C:\windows\assembly

If it is not there, please follow the following article to copy it:
http://technet.microsoft.com/en-us/library/ff461215.aspx 

Thanks,
Jinchun Chen

Free Windows Admin Tool Kit Click here and download it now
February 4th, 2014 12:42am

Hi Chen,

I have the dll file in my bin folder with the codegroup tag added .

Earlier the reports were developed successfully and working as well.

Now i have Change request from client .

So i downloaded the rdl and added in BIDS to add the changes given by client .

While previewing , i am getting this error..

Kindly help me on this...

Thanks

February 4th, 2014 12:59am

Hi Subathra,

As you mentioned, you copied the RDL to a development environment(which has BIDS installed). Is the Microsoft.EnterpriseManagement.Reporting.Code.dll copied to the BIDS environment?

The path is different that the path in SSRS server. The path should be:
Program Files\Microsoft Visual Studio 9\Common7\IDE\PrivateAssemblies

And add CAS tag to RSPreviewPolicy.config
C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\PrivateAssemblies

Thanks,
Jinchu

Free Windows Admin Tool Kit Click here and download it now
February 4th, 2014 1:14am

Hi Chen ,

I'm doing in same server . dll was added in BIDS

I ll try this by mentioned path ...

Thanks .

February 4th, 2014 1:20am

Hi Subathra,

Does it work now?

Thanks,
Jinchun Chen

Free Windows Admin Tool Kit Click here and download it now
February 4th, 2014 2:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics