Sunday, July 31, 2011

DLL missing with .RDLC ReportViewer deployment on Microsoft Azure hosting

I hit problem deploying my web app using .rdlc ReportViewer when I deployed it to azure cloud hosting.
The problem was because of the three missing dependency dlls  required by ReportViewer which doesn’t exist in Azure host Global assembly cache(GAC).
  1. Microsoft.ReportViewer.WebForms.dll 
  2. Microsoft.ReportViewer.Common.dll
  3. Microsoft.ReportViewer.ProcessingObjectModel.dll

So, make sure the ReportViewer assemblies are available locally for your application. You can do this by "Add Reference" in your project and configure them to be copied locally into bin folder (Copy Local = True).

But for the 3rd dll (Microsoft.ReportViewer.ProcessingObjectModel.dll), you will not be able to find it from assemblies list in Visual Studio add reference. You will need to browse it in C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel and add reference

Here is reference I got from MSDN

1 comment:

Muhammad Shoaib said...

Yo, an astonishing blog post buddy. Thank you However I am having issue with ur RSS feed. Fail to subscribe. Is there anyone getting similar rss feed trouble? Anybody who knows please respond. Thanks!
Online Panel Services MENA
Online Market Research Middle East
Online Surveys Middle East
Online Panel Saudi Arabia
Online Panel UAE