
Hi Expert,
Facing error in custom workflow activity when using this reference for generate PDF file of CRM report.
Unhandled Exception: Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): ExportModule.PdfExport: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
Although,I have installed report server on same machine and executing reports vi report manager .
Thanks.
*This post is locked for comments
I have the same question (0)Hi,
is there a single CRM server? That activity is running on the sandbox server in case you have different CRM roles on different servers.
Other than that, maybe that assembly is simply not installed in the GAC. Did you check it?