Skip to Content
avatar image
Former Member

Opening a vb6 application that contains Crystal Reports

In 1999 and 2000 I wrote an application in VB 6.0 that creates reports using Crystal Reports. In the last few weeks the user cannot produce the reports, when ever they try they get an error. I of course need to figure out why and fix the problem.

At this point I can't open the project. I get errors that say each of my DSR files cannot be loaded, refer to log file.... The log file contains the following:

Line 2: Class {BD4B4E61-F7B8-11D0-964D-00A0C9273C2A} of control CrystalReport1 was not a loaded control class.

Line 0: The file C:\SVN-Sandboxes\Microsoft-Sandboxes\RDRS 2000\RDRS\CrystalReport1.Dsr could not be loaded.

Any ideas/suggestions.

Thanks in advance,

Jim

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 16, 2010 at 04:56 PM

    Inference is that you're using the Report Designer Component (RDC) SDK.

    And that you have compiled Crystal Report reports - i.e., where you don't have rpt files, but dsr (ActiveX Designer) reports.

    That you saved in a code version control repository (SVN). That you no longer have.

    Then when you built your project, you compiled the report dsr into a dll.

    So you're stuck.

    Don't know if there's any possibility other than re-creation.

    Sincerely,

    Ted Ueda

    Add comment
    10|10000 characters needed characters exceeded

    • Well, I'd break up the issue into two parts:

      1) "In the last few weeks the user cannot produce the reports, when ever they try they get an error."

      What is the error? What does the user see?

      2) "At this point I can't open the project. I get errors that say each of my DSR files cannot be loaded, refer to log file"

      I assume you are trying to open the project in VB(?). Please quote exact error you get on open of the project. Are you actually not able to open the project? E.g.; is the whole VB 6 project not opening? What happens after you get the error?

      Finally, what version of CR are you working with? And what OS are you on?

      Ludek