Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6187931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:08:33+00:00 2026-05-24T02:08:33+00:00

I have a shiny WPF (4.0) app that I need to add Crystal Reports

  • 0

I have a shiny WPF (4.0) app that I need to add Crystal Reports to. I downloaded and installed CR for VS2010, then after that we purchased and installed Crystal Reports 13 (which has the WPF CrystalReportsViewer).

As a test, I created a new “Crystal Reports WPF Application” project in Visual Studio. I created a report, linked it to my DB (Sql Server), and previewed the report. All was well.

I then copied the CrystalReportsViewer window into my “real” app (same machine and framework), added the same references and tried to run the same code:

        ReportDocument _report;
        this._report = new ReportDocument();
        this._report.Load(@"CrystalReport1.rpt");
        this.reportViewer.ViewerCore.ReportSource = _report;

However in my “real” application it bombs out on the second line with the error:

    Retrieving the COM class factory for component with CLSID 
{4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 
80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
  • I’ve double and triple checked that the references are the same in both projects.
  • I’ve gone through all obscure project and solution properties.
  • I’ve added a new Crystal Report to the project so it would add the references that way instead of manually.
  • Google says “make sure the framework is Framework 4 not Framework 4 Client Profile”. Google also says “make sure the framework is Framework 4 Client Profile not Framework 4”. I’ve tried both to no avail.
  • The product is registered.

What else can I do? I don’t want to add my entire project to the test app!

I’ve been using Crystal Reports since about version 3, and not once in ANY of those versions has it cleanly installed, registered, built reports, added them to an app and deployed. You’d think that after 13 versions they’d either be able to get it right, or my various employers would choose another reporting tool!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:08:34+00:00Added an answer on May 24, 2026 at 2:08 am

    Got it. One solution needed to be changed from “Any CPU” to “x86” in Configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this IPhone app underway that was working fine, then I installed OS
It's really simple, I just want one screen. Wow, that [shiny thing] must have
I have created a shiny button in photoshop and now wish to use it
I have created a TabControl in a WPF application I'm writing. I re-templated TabItem
I'm developing an app in C++/CLI and have a csv file writing library in
So, my problem is this. I have a legacy MySQL database that I'm building
I have the following CSS3 style: .shiny-btn { cursor: pointer; text-align:center; width: 15em; padding:
I have an ASP.NET MVC app (non-transactional, social) I am workong on. I started
I've just stared using JQuery and SoundManger2, and I have noticed that SoundManager has
Consider that in some library somewhere (which we have no access to change), we

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.