Reportviewer does not work on Zure

Asked

Viewed 57 times

1

I have a free account on Zure and the report does not work after uploading the project to the Azure server (on my machine works), the error says the dll is missing:

Could not load file or Assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, Publickeytoken=89845dcd8080cc91' or one of its dependencies. The Located Assembly’s manifest Definition does not match the Assembly Reference. (Exception from HRESULT: 0x80131040)

A dll exists in the folder bin and in Copy Local is = true the

I’m using Microsoft Visual Studio Community 2015 Version 14.0.25431.01 Update 3 Microsoft . NET Framework Version 4.6.01586

  • 2

    Which version of Reportviewer do you have as reference in the project? Because he complained that he did not find the package in version 11. Maybe you are referencing a more current version that he expects, or even older.

  • 1

    Yes, it was the version that was outdated.

  • the solution was to send the dll via Publish Copylocal in the correct version? The application was looking for version 11 but you were sending another one?

  • Good afternoon, Try to include the Viewer report dlls in the project bin folder (Ex.: Microsoft.ReportViewer.Common). Note: The same can be done via FTP

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.