Ask a questionAsk a question
 

AnswerCrystal Reports Problem

  • Wednesday, June 07, 2006 9:31 AMJakino Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have been working with VS2005 Crystal Reports for a while now with no problems. Now, suddenly i can't open any of my reports in design mode, VS comes up with an error message:

    "Crystal Reports ActiveX Designer:  Failed to open document."                         

    and                                                                                                                                   

    "Microsoft Visual Studio:  Failed to create the Crystal Query Engine."

    Need help to resolve this urgently, deliverable time is soon . . . Thanks.

     

     

Answers

  • Tuesday, June 13, 2006 5:49 PMPCr Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Ok, found out what is causing this.  Seems that if you create an install package using the merge module for Crystal Reports, and install the setup package to the machine that you do your dev work on, then uninstall that same setup package, it removes all Crystal Reports files from your system, including the ones used by Visual Studio.  This causes the error above whenever you try to add a new report or open an existing project's report.

    So here is the fix:

    1. Go to Add/Remove Programs and select Change/Remove for Microsoft Visual Studio 2005
    2. Select Next then Add or Remove Features from the Visual Studio 2005 Maintenance Mode app
    3. Uncheck Crystal Reports for Visual Studio and select Update
    4. Once the "Update" is complete, select Finish
    5. Go back to Add/Remove Programs and select Change/Remove for Microsoft Visual Studio 2005
    6. Select Next then Add or Remove Features from the Visual Studio 2005 Maintenance Mode app
    7. Check Crystal Reports for Visual Studio and select Update
    8. Insert Disk 1 of Microsoft Visual Studio 2005 Installation CD's and select OK
    9. Once the "Update" is complete, select Finish

    You should now be able to add/edit Crystal Reports in projects again.

    Unfortunately, this whole process takes 30 minutes or more to complete...

All Replies

  • Tuesday, June 13, 2006 3:09 PMPCr Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Any ideas on this problem?  I have just recently started seeing the same issue.  I was working on a project with crystal reports just a week ago.  I come in on the following monday and suddenly started getting this message also.

  • Tuesday, June 13, 2006 5:49 PMPCr Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Ok, found out what is causing this.  Seems that if you create an install package using the merge module for Crystal Reports, and install the setup package to the machine that you do your dev work on, then uninstall that same setup package, it removes all Crystal Reports files from your system, including the ones used by Visual Studio.  This causes the error above whenever you try to add a new report or open an existing project's report.

    So here is the fix:

    1. Go to Add/Remove Programs and select Change/Remove for Microsoft Visual Studio 2005
    2. Select Next then Add or Remove Features from the Visual Studio 2005 Maintenance Mode app
    3. Uncheck Crystal Reports for Visual Studio and select Update
    4. Once the "Update" is complete, select Finish
    5. Go back to Add/Remove Programs and select Change/Remove for Microsoft Visual Studio 2005
    6. Select Next then Add or Remove Features from the Visual Studio 2005 Maintenance Mode app
    7. Check Crystal Reports for Visual Studio and select Update
    8. Insert Disk 1 of Microsoft Visual Studio 2005 Installation CD's and select OK
    9. Once the "Update" is complete, select Finish

    You should now be able to add/edit Crystal Reports in projects again.

    Unfortunately, this whole process takes 30 minutes or more to complete...

  • Wednesday, June 14, 2006 6:34 AMJakino Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you so much for the help, i uninstalled and it was resolved.
  • Wednesday, June 14, 2006 2:11 PMramyik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks very much, It works well
  • Monday, June 19, 2006 8:34 PMJoyce Hearn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This process did NOT solve my problem.  I needed to reinstall my application to get back my missing features.  Is there a fix for this problem?
  • Monday, July 03, 2006 4:21 AMBilleV Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    There is an easier fix.  Just reinstall the setup package on the dev machine and all the crystal files are put back and the development machine works again.

    I hope, however, that microsoft fixes this 'bug'.

     

  • Tuesday, August 29, 2006 7:39 PMGrant Szabo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I was experiencing this exact problem with Visual Studio 2005.  The problem began shortly after I baked in the CrystalReportsRedist2005_x86.msm merge module into a setup/deployment project and did exactly what was described above (install/uninstall project on development workstation).  However, when I was uninstalling via Visual Studio (right click on install project in solution explorer window and choose Uninstall) that the uninstall hung.  After this occured, I rebooted but never fully completed the uninstall.

    Later, when trying to create new Crystal Reports, I found I was having the error "Crystal Reports ActiveX Designer...Failed To Open Document".  Afterwhich VS2005 would blow up and prompt to notify Microsoft with an error report.

    To fix the problem, I did the following:

    1. Went to Add/Remove Programs and completed the uninstall of the busted uninstall from above.  It completed fine thankfully.

    2. Ran the setup.exe from my installer project -- the last time I built it -- which includes the Crystal 2005 merge module. 

    After the software was reinstalled in this manner, I started VS2005 and upon adding a new Crystal Report to a project noted that the Wizard started up again normally.  Problem solved in 5 minutes.

    Hope this might help someone else suffering from the same malady.

    Regards,

    Grant (http://www.quagmire.com)

     

  • Thursday, October 26, 2006 9:11 PMIng. Miriam Escuadra Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    My problem is bigeer this solucion dont resolve my problem, because Can´t update Microsoft Visual Studio 2005 profesional.... I whant that went for install  the mergemodule of Crystal Reports and my program is incomplete and also i dont remove...

    For uninstall my program microsoft said this, but my machine is a 'CAOS', the SQL 2000, VS2003, and a dont know what application more dont function!!!!!!!

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=160910&SiteID=1

    I´m going to format my machine!! ...

    i hope, that you understand me ,  Anybody can i help me before format my machine?

  • Tuesday, March 13, 2007 4:21 PMSantaCruzJoe Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I was having the same problem after testing the installshield install of my app that contains a crystal report, then uninstalling it.

    I tried the solution where you remove the Crystal Reports Component from the Visual Studio 2005 install then re-add it but that didn't work.  I then re-ran the install of my application and things seem to be working now.  I hate to have this runtime copy of my app on my development machine but now I'm afraid to uninstall it again.  I am thanking my lucky stars that I am at least able to work on my application again.

    If anyone has any new suggestions on this one I would appreciate it. 

  • Wednesday, August 01, 2007 2:47 PMnikk1e Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you! uninstalling / re-installing the component worked for me!
  • Thursday, August 09, 2007 4:59 AMhik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I had to create a new setupproject for my inhouse App.  I unistalled the runtime app which was created from the original setup and then installed the app from the new setup program.  It killed Crystal reports as described in this post.  Uninstalling and reinstalling CR components in VS2007 was not enough.  I had to do the following:

    1)  unistall my runtime app

    2)  uninstall CR runtime for .net

    3) uninstall the components in VS2007 (as described in this post)

    4)  Reinstall the components in VS2007

    5)  Reinstall the CR runtime

    6) open a new project and create a crystal report.  I was prompted to accept the liscense agreement and the report opened.

    I was then able to access CR in my project and create a new runtime that worked.

     

    Haim

  • Tuesday, September 04, 2007 9:27 AMMangun Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks very much, This process solve my problem
  • Thursday, October 25, 2007 11:38 AMpravsaugat Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi All,
        i am new to using crystal reports. I am using crystalreports9 control along with crystaldesignruntime.applicatio.10
    i have to build a setup so that crystal reports can work fine. but when i install it on another pc it says failed to open document and gives me some idsipatch error 14563. somebody plz help me out. i want to use appropriate merge modules to make a setup.

    regards n thaks
  • Monday, November 05, 2007 2:29 PMElham Dahwa Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thank you very much Mr. BilleV

    I reinstalled VS2005 without solve this problem, but when installed the setup package on my machine, the problem was solved

  • Tuesday, November 27, 2007 6:22 AMSammual Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hi,
    I agree with the point that it may be removing the required files during uninstalling the project on the local m/c.

    What I tried is instead of going through the entire cycle of updating the .Net without and with CR, just create the setup of the project again and then install on the dev m/c.
    and it worked.

    will come up with more
    Samir Bhatt
  • Wednesday, February 13, 2008 2:23 PMSaamir Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks Samir, I did what you did installed one of my applications that was designed in VS2005 which implemented crystal and voila everything works great now.

     

    Saamir

  • Friday, April 25, 2008 9:14 AMMayur Vashi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    thanks.. It gives me the some new understading regarding development... i was having same problem. and it got solved.

    Thanks Once Again.

     

  • Wednesday, November 04, 2009 5:17 AMArun Sandeep Chada Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Installing the application again in the dev system solves the issue....Thanks for the suggestion.