locked
Crystal Reports Problem RRS feed

  • Question

  • 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.

     

     

    Wednesday, June 7, 2006 9:31 AM

Answers

  • 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...

    Tuesday, June 13, 2006 5:49 PM

All replies

  • 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 3:09 PM
  • 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...

    Tuesday, June 13, 2006 5:49 PM
  • Thank you so much for the help, i uninstalled and it was resolved.
    Wednesday, June 14, 2006 6:34 AM
  • Thanks very much, It works well
    Wednesday, June 14, 2006 2:11 PM
  • 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, June 19, 2006 8:34 PM
  • 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'.

     

    Monday, July 3, 2006 4:21 AM
  • 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)

     

    Tuesday, August 29, 2006 7:39 PM
  • 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?

    Thursday, October 26, 2006 9:11 PM
  • 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. 

    Tuesday, March 13, 2007 4:21 PM
  • Thank you! uninstalling / re-installing the component worked for me!
    Wednesday, August 1, 2007 2:47 PM
  • 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

    Thursday, August 9, 2007 4:59 AM
  • Thanks very much, This process solve my problem
    Tuesday, September 4, 2007 9:27 AM
  • 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
    Thursday, October 25, 2007 11:38 AM
  • 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

    Monday, November 5, 2007 2:29 PM
  • 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
    Tuesday, November 27, 2007 6:22 AM
  • 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

    Wednesday, February 13, 2008 2:23 PM
  • thanks.. It gives me the some new understading regarding development... i was having same problem. and it got solved.

    Thanks Once Again.

     

    Friday, April 25, 2008 9:14 AM
  • Installing the application again in the dev system solves the issue....Thanks for the suggestion.
    Wednesday, November 4, 2009 5:17 AM
  • There is an alternative. If you have no installation cds with you at the same time, you can try below

    Need another development machine called it machine B which have VS 2005 with crystal report install and working fine. The one have problem, call it machine A. What can do

    1. go to machine B, go to folder C:\Program Files\Common Files\Business Objects\2.7
    2. copy the whole bin folder to a external drive or pendrive or thumb drive
    3. close the visual studio 2005 in machine A if it's open
    4. go to machine A, go to folder C:\Program Files\Common Files\Business Objects\2.7 and rename the bin folder to binA for backup purposes
    5. copy the bin for the external drive to C:\Program Files\Common Files\Business Objects\2.7 in machine A
    6. try to open visual studio 2005 and open the crystal report development file.
    7. it working


    Biz Dev
    Friday, December 18, 2009 2:30 AM
  • Hi,

    try to register crqe.dll in "c:\windows\system32" if its not working out, then
    register from "c:\programe files\common files\crystal decisions\2.0\bin"
    and copy crpe32.dll from this forlder to system32.
    Hope this will resove your issue

    Banna
    Tuesday, February 23, 2010 6:12 AM