Error when creating crystal report in asp.net mvc2

China☆狼群 提交于 2019-12-06 15:44:54

I found this tag in my web.config

<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>

and in my aspx page

<%@ Register Assembly="CrystalDecisions.Web,  Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

different version for the same assembly makes the conflict so I removed web.config tag and it runs very smooth.

thanks.

kashmir

Copy-paste this (Version=13.0.2000.0) from web config to the default ASPX source code where you found different versions of Crystal Report and the error will be fixed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!