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

后端 未结 3 849
后悔当初
后悔当初 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 13:08

    I use win 10 64 bit.

    App Server use 64 bit OS.

    For this issue, I can give you advices :

    1. IIS App Pool : Enabled 32 Bit App
    2. At my case, another team use CR Runtime SP 20. And my app use CR Runtime SP 21. My computer is 64 bit OS but I Install CR Runtime SP 21 32 bit version, and then this case solved (I must uninstall first CR Runtime SP 20 before Install CR Runtime SP21)

    Case solved and we should upgrade older version of CR to newer version (SP 21 at my case) or vice versa.

    Maybe Your currnt CR Runtime is SP 21 or above . Try to downgrade to CR SP 20 or below.

提交回复
热议问题