Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass'

后端 未结 3 881
后悔当初
后悔当初 2021-01-11 12:42

I have 2 windows program.

Program A : create with visual studio 2015 with crystal report SP18

Program B : create with visual studio 2017 with crystal report

3条回答
  •  佛祖请我去吃肉
    2021-01-11 12:52

    Just remove old reference of crystal reports and add new assemblies. this is due to crystal report version difference old compilation working with old versions.

    Simply add new reference assembly of current version and clean solution and rebuild the project and run.

    It works.

提交回复
热议问题