I’m building a winforms application using a crystalreportviewer control (version 10.5.3700.0). Application works fine (it loads report from resources and displays it fine).
But when I put my application on server (other pc) that has runtime in versions 12.0.1100.0 and 12.0.2000.0.
My application isn’t showing at all, even errors don’t show :/
I was trying to use dll’s in version 12.0.1100.0 in my application by removing references and adding new, but this generates errors.
I can’t install runtime 10.5 on server.
Is it possible to add controls in version 12.0.xxxx to visual studio 2008?
How to do that?
I think that if I use version 12.0.xx controls in my application it will work fine.
Please help!!!
What I have done:
I have removed Crystalreportviewer control from toolbox and added new one from dll containing version 12.0, but no luck. Visual is adding control, all references, but control isn’t visible :/
Best solution is installing same runtime on the server.
Anyway, you can use this XML in your app.config or web.config:
where oldVersion is the version you use for development and newVersion is the version installed on the server