Results 1 to 6 of 6

Thread: Crystal Report problem

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Crystal Report problem

    Hello Everybody,

    I had an asp.net web app developed with VS 2003. The web app had extensive use of crystal reports that were developed with Crystal Report 10. I converted the web app to asp.net 2.0 and deployed it to a Win 2008 R2 server. I also installed Crystal Report for .NET Framework 2.0 (x64) but my web app throws an exception "Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."

    Any idea on how to solve this?

    Thanks.

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Crystal Report problem

    I doubt you have the .Net Framework 3.5 Installed. If you install the 3.5 only you will get the 10.5.3700.0 version. If you want to get rid of this issue, then replace the
    10.5.3700.0
    with
    10.2.3600.0
    Please mark you thread resolved using the Thread Tools as shown

  3. #3

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Re: Crystal Report problem

    You mean I should just replace 10.5.3700.0 with 10.2.3600.0 in web.config?

    Thanks.

  4. #4
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Crystal Report problem

    Yes. And make sure that you have the 10.2.3600.0 is available under Add Reference Tab
    Please mark you thread resolved using the Thread Tools as shown

  5. #5

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Re: Crystal Report problem

    The exception went away with your workaround, thanks.

    But another exception started coming on all the pages that preview crystal report, they say "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.".

    Thanks.

  6. #6
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Crystal Report problem

    Quote Originally Posted by usamaalam View Post
    The exception went away with your workaround, thanks.

    But another exception started coming on all the pages that preview crystal report, they say "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.".

    Thanks.
    Put the Try catch catch statement and see what the exact error.
    Please mark you thread resolved using the Thread Tools as shown

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width