Could not load file or assembly Microsoft.ReportViewer.WebForms.XmlSerializers

混江龙づ霸主 提交于 2019-12-01 04:37:05

Have you tried to reinstall ReportViewer redistributable files? You can find the links here

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6576

http://www.microsoft.com/download/en/details.aspx?id=4016

The first one is the one related to VS2008 report viewer, ( the other one is for 2005 version) and is the one that should resolve your problem.

Root cause for this issue is version problem of Microsft.ReportViewer.Webforms dll. Solution is down load and run the exe ReportViewer.exe from the location http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6576. Our actual problem is our report related dll is pointing to some old version ie not to version 11.0.0.0. Once this exe got run properly it will be properly pointing to version 11.0.0.0. To work it properly make same entry in both web config

<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, 
Culture=neutral, PublicKeyToken=89845dcd8080cc91"/>" 

and registering area also

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, 
Culture=neutral, PublicKeyToken=89845dcd8080cc91"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!