Crystal Report Viewer Type Compatibility error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Saravanan Krishnamoorthy
    New Member
    • Sep 2006
    • 2

    #1

    Crystal Report Viewer Type Compatibility error

    Hi,

    I am getting the following error

    " The base class includes the field 'cv_ezinfo', but its type (CrystalDecisio ns.Web.CrystalR eportViewer) is not compatible with the type of control (CrystalDecisio ns.Web.CrystalR eportViewer)"

    whenever i am accessing the ASP page which contains Crystal Report Viewer Control.

    It worked fine upto last day.. today it is showing me this error...

    Please help me on this...
  • SrinivasShashank
    New Member
    • Aug 2007
    • 1

    #2
    Hi,

    This is Srinivas , Right now I am facing some problem with Crystal reports.

    Message : the base class includes the field reportviewer, but its type
    is not compatible with the type of control.


    This is very urgent, please provide the solution for this issue.

    Thank you
    Srinivas

    Comment

    • talhaekram
      New Member
      • Apr 2007
      • 14

      #3
      This type error occurs because of multiple same name CR dll in GAC assembly (c:\windows\ass embly).

      You just need to reference it correctly. You can use 'jump to definition' on Crystal report viewer class and through object browser you will get the path of dll. Go to that path and check the version. Since I have CR 2.0 as default so I decided to change my reference to CR 1.0 dlls

      I have extracted the dll 9.1.5000 of CrystalDecision .Web.dll from GAC and placed it in a bin folder, then I added it as a dll reference to my website and it worked for me.

      To extract dll from GAC you need to work it on DOS prompt.

      Comment

      • haseeb006
        New Member
        • Jan 2014
        • 1

        #4
        Hi

        I solved the problem. It occurs for version problem.

        See at top of the page:

        Have version-10.5.3700.0, change it Version=13.0.20 00.0. then it works

        After that it doesn't work, then close the application & restart, you get a promt message-change for new old version to new version, click yes.

        Comment

        Working...