Skip to Content
author's profile photo Former Member
Former Member

Where is the reference to 9.1? I have 10.2 everywhere yet still calling 9.1

I have migrated a website from 2003 to 2005. Everytime I try to run the reports I get the following. I have tried everything from deploying the appropriate package (10.2) to the server to making sure there were add assembly references in the web.config file. I have looked everywhere and can't find where it is still referencing 9.1 when I want it to point to 10.2

System.IO.FileLoadException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

File name: 'CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2009 at 05:20 PM

    Please make sure that the web.config files do not point or use the reference of Crystal 9.1 dlls and the CrystalViewer in design also should be of 10.2 version.

    Moreover, please ensure that the application's Bin folder do not have any crystal dll of older version.

    Hope it helps!

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • I would make sure that you can view a blank report in a viewer in the new app just to make sure nothing is wrong with your VS install. Once that runs then start moving your code over.

      I would NOT just do an Add Existing Item and bring in the old pages as one (or more) of them is causing the root issue.

      Copy and paste the actual code, but any controls I would readd.

      Just my opinion.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2009 at 05:19 PM

    Hi, Erik;

    Have you opened up the web site in the .NET 2005 IDE and made sure all the References are set to the correct version? Was the site then re-compiled after that?

    Regards,

    Jonathan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.