locked
Can not load Reportviewer RRS feed

  • Question

  • I have a project that creates local reports using the reportviewer control.  Everything works fine locally but when I publish the site i get the follwoing error:

     Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

    Any help on what I need to do to get this to work on WAWS would be appreciated.


    • Edited by retne Sunday, August 19, 2012 8:20 PM
    Sunday, August 19, 2012 8:20 PM

Answers

All replies

  • This is not a build in assembly for Net framework. Include this in your deploy package and deploy to Azure.

    Thanks,

    Wei

    Monday, August 20, 2012 7:01 AM
  • Sorry for the "necro" post but I am having a similar problem.

    I am deploying manually with FTP.  I created a bin directory and put the Report Viewer Dlls there.  It works locally and on another (non-azure) remote server.

    But I am getting the error message listed in the first post.

    I couldn't find any configuration settings, is there something else to do?


    Steve Wellens

    [EDIT]  FYI:  My ReportViewer successfully loaded after a while without any other changes.  Maybe Azure takes a while to load and recognize dlls in sub-directories.



    Sunday, September 23, 2012 10:14 PM
  • i am also getting the same error, when i deploy on azure. so micro soft please do somethin

    cant find any option in project properties

    Saturday, September 29, 2012 4:19 PM
  •  here is the solution ,

    i have solved the problem by adding required dll files below are the steps

    1)go to right click on project name--> add reference-->assemblies-->extension

    2)select Microsoft.ReportViewer.WebForms.dll , then click ok

    3) go to right click on project name--> add reference-->browse-->C:\Windows\assembly\GAC_msil

    4)select Microsoft.ReportViewer.common.dll , then click ok


    Sunday, September 30, 2012 7:57 AM