Reporting Services 2012 deploy error: “Error while loading code module”

前端 未结 3 2155
面向向阳花
面向向阳花 2021-01-02 03:27

I am trying to deploy a report to the server with a custom assembly for the first time. I am able to deploy the same report without the assembly. I am using Reporting Servic

相关标签:
3条回答
  • 2021-01-02 03:37

    I had similar problems. I only had it in the public assemblies. Once I added the dll to the private assemblies location it worked. Are you running VS as administrator?

    0 讨论(0)
  • 2021-01-02 03:41

    It turned out I needed to copy the dll to this folder on the report server: %ProgramFiles%\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\bin

    That is the only place it is needed on the report server if you just want to deploy reports to it.

    0 讨论(0)
  • 2021-01-02 03:48

    Another solution is to deploy your assembly to GAC. You will need to "strong name" it to be able to deploy to GAC. When it is in GAC, you don't need to have it in Reporting Services\ReportServer\bin

    0 讨论(0)
提交回复
热议问题