Class not registered - CrystalPrintControl error.

This problem was happening in SP1 and the solution is to manually copy the files in C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers folder and register PrintControl.dll. I just updated to SP2 and am getting the same error. Are the merge modules going to be updated to correct this at some point?

Hi Robert,
I assume you are using/building your application in 64 bit platform. We tracked this issue and the cause is there is no 64 bit printcontrol.dll ( activeX ) due to limitations in both Microsoft 64 IE and the Framework.
It won't be fixed.
If you are compiling in x86 mode then we need more info...
There are no Merge Modules for 64 bit so are you asking for them or is your app 32 bit?
If you are building in x86 mode and it is a WEB app then set your app pool to run in 32 mode.
Don

Similar Messages

  • Class not registered - CrystalPrintControl - havent seen an answer

    Hello,
    I'm still working on my issue from this thread Printing Issue - Visual Studio 2008 with Crystal Reports Basic
    I want to thank Ludek for starting me on the right track.
    I've since updated the project to a .NET 4.0 project using Visual Studio 2010.  I've installed the SP1 for VS2010 and installed Crystal Reports 2010 for VS 2010 as well as the Service Pack for that.  I'm not running Crystal Version 13.0.1.220
    I've rewritten the print code to use RAS, that is the PrintOutputController.PrintReport method.
    The change prints on my development machine - although I have not yet gotten to test whether it actually prints to the default tray of the printer setup, which was my original problem.
    The issue now - moving to the client's server, is that I receive the Class not registered error mentioned in the following threads.
    Re: Class not registered - CrystalPrintControl
    Class not registered - CrystalPrintControl
    ReportApplicationServer does not register properly using 32-bit runtime?
    Problem with Crystal Reports for Visual Studio 2010 Production Redist 32 b.
    CrystalPrintControl not registered
    There does not seem to be a resolution other than this solution provided by a user crystaladvice:
    http://www.crystaladvice.com/crystalreports/fix-class-not-registered-crystalprintcontrol
    Unfortunatly I am receiving an error with regards to the attempt to regsvr32 the printcontrol.dll.
    It seems this is a problem happening to more than one person - so I imagine it's an issue related to installing the Crystal runtimes for a 64 bit machine on Windows 2008 Server.  I know Ludek mentioned he would test it in this thread
    CrystalPrintControl not registered
    Ludek mentioned he was going to check the MSI on a clean install.  From what I can see it looks like whatever you install for Crystal Reports for your development machine works fine, but the MSI runtime install has an issue with a 64 bit 2008 server.
    In the thread mentioned above Ludek had not yet posted the results, just wondering if this is an outstanding issue.
    The current project we are working on is in a standstill - in the meantime I'll explore issues with not being able to regsvr32 the printcontroll.dll.
    Thanks for any help.

    Hi K,
    Most of those posts are for 32 bit deployments so they don't count... Including regsvr32.exe, there are 2 versions, one in
    C:\Windows\SysWOW64 for 32 bit COM dll's and and another one in C:\Windows\System32 for 64 bit dll's, I think.... Confusing why MS did not rename their various 64 bit versions to *64.exe...
    Also, please clarify, you said: "I'm not running Crystal Version 13.0.1.220" why not? You are using the SP 1 patch to build your app but using the 99 build ( SP 0 ) to deploy? make sure both are the same version.
    We have found a few missing dependencies in the both the 32 and 64 bit MSI's and SP 2 should have the ones that have been reported.
    A few issues here, Run Process Monitor on your DEV PC. But first, set your project to x64 Release Mode. And rebuild it...
    Then from Explorer go to the \bin\Release folder and double click your EXE. It is now running in pure 64 bit mode, as you know the .NET IDE is 32 bit ONLY, running in 64 bit debug mode in .NET is confusing, you'll see both 32 and 64 bit runtime loading.
    Do you get the same error? If yes then the Printer Driver you are using, does it support or does it have a 64 Driver available? And have you installed it and done a test app, no CR components, to verify it does actually support 64 bit applications?
    Process Monitor will verify all parts being used....
    So if the above works then it likely is either the dependencies for printing in 64 bit are not installed on the deployment PC or CR 64 MSI is missing something which Process Monitor can verify....
    Don

  • Class not registered - CrystalPrintControl

    I cannot resolve this error when running my ASP.NET application under IIS. It works fine on my development machine with the full CR for VS2010 install.
    The code lines concerned are:
    ISCDReportClientDocument foo = _rptDoc.ReportClientDocument;
    PrintOutputController bar = foo.PrintOutputController;
    PrintReportOptions fooReportOptions = new PrintReportOptions();
    fooReportOptions.PrinterName = Properties.Settings.Default.DefaultPrinter;
    fooReportOptions.JobTitle = "RptJobTitle";
    bar.PrintReport(fooReportOptions);
    ( printtoprinter still works, but I need the job title ability )
    Server particulars:
    2003 Server R2 Standard Edition SP2
    IIS v6.0
    .NET 4 installed
    Crystal Reports Version:  CR 32-bit Redistributable 13.0.1
    The PrintControl.cab is located in my aspnet_client/system_web/4_0_30319/crystalreportviewers13/ActiveXControls virtual directory.
    I've tried adding the following to my web.config (as suggested by crnet_dg_2010_en.chm developer's guide):
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
            <section name="printControl" type="System.Configuration.NameValueSectionHandler" />
          </sectionGroup>
        </sectionGroup>
      <businessObjects>
        <crystalReports>
          <crystalReportViewer>
            <add key="resourceURI" value="~/crystalreportviewers13" />
          </crystalReportViewer>
          <printControl>
            <add key="url" value="http://localhost/PrintControl.cab" />
          </printControl>
        </crystalReports>
      </businessObjects>
    Please help.  Has anyone been able to deploy to IIS 6 and use the PrintController?

    I've tried redistributables:
    CRforVS_redist_install_32bit_13_0.zip
    CRforVS_redist_install_32bit_13_0_1.zip
    I located C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\ActiveXControls on my development PC and it seems to match the IIS server's aspnet_client...../ActiveXControls files.
    I confirmed that IIS knew where to find the CR files by installing a "spike" project which uses the Crystal Reports Viewer.  This worked fine, and the page source showed the correct path to the crystalreportviewer13 directory.
    What seems to be broken is the PrintControl portion under crystalreportviewers13\ActiveXControls.  If the redist installer didn't register this part with the OS, how could I know?  Does it also have to register it with IIS?
    Does anyone have experience getting something like the following working on an ASP.NET 4 page in IIS 6 (or even 7)?
    protected void Button1_Click(object sender, EventArgs e)
                ReportDocument _rptDoc = new ReportDocument();
                _rptDoc.Load(Server.MapPath("./CrystalReport1.rpt"));
                _rptDoc.PrintOptions.PrinterName = "<PrinterNameHere>";
                ISCDReportClientDocument foo = _rptDoc.ReportClientDocument;
                PrintOutputController bar = foo.PrintOutputController;
                PrintReportOptions fooReportOptions = new PrintReportOptions();
                fooReportOptions.PrinterName = _rptDoc.PrintOptions.PrinterName;
                fooReportOptions.JobTitle = "ReportFoo";
                bar.PrintReport(fooReportOptions);

  • Excel Viewer: Class not registered (error -214722116​4)

    Hello,
    I am using the Excel examples shipped with Labview 8.21 to read from an Excel file and this works well. Now I need to do the same but on a PC that does not have Microsoft Office or Excel installed but only the free XLVIEWER (Microsoft Office Excel Viewer). When I try to change the ActiveX class of my reference to feed the 'Automation Open' vi I get the Class not registered (error -2147221164) although I can browse down to the XLVIEWER.exe and select it. Then I thought that maybe XLVIEWER had no ActiveX to communicate with other application; I thus installed a package called excelocx.exe, rebooted the PC but that did not change anything. I am still stuck with the same error.
    What am I doing wrong?
    Thanks a lot,
    Christophe

    Please find attached the VI I am using together with the XLS file that I try to read with Labview on a Pc that does not have MS Excel installed, only the XLVIEWER.
    OpenOffice is not supported in our company so cannot be considered as a valid solution.
    Thanks,
    Christophe
    Attachments:
    Read Excel File with Labview 820.zip ‏31 KB

  • Error occured at Class not registered... Because Excel is not installed?

    I received the following error while trying to run an application built with LV 7.1:
    Error -2147221164 occured at Class not registered in Open_Excel.vi > Report_generation_excel_Tbeta WITH new layout.vi > Mirror_Cycling_Main tbeta-2.vi
    Could this be because Excel is not yet installed on the computer?  Will there be a problem if Excel is installed after the 7.1 Runtime Engine and LabVIEW drivers?
    Also, should I stay away from installing higher versions of Excel than what was originally used?
    Would it be possible to create a VI like this with the base version of 8.2?  I'm not certain what some of the controls on the front panel are and 7.1 does not give me additional information in the help dialog- if someone could give me the names of the various components circled in red in the attached JPG I would appreciate it. 
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    excel_vi.JPG ‏79 KB

    I'm using excel 2003 with labview 2009 v9.0f2. I have attached the VI here. Basically, Im just using the"excel get all data.vi" to read an excel file to create an array and that's where the error occurs.
    Max
    Message Edited by MaxXx on 12-07-2009 10:33 AM
    Attachments:
    Excel Get All Data.vi ‏26 KB
    Excel Get Data Specified Field.llb ‏209 KB

  • Class Not Registered error upon using MS Office Report

    Hello,
    Using LabVIEW 2010, I've just installed the Microsoft RGT trial from NI, along with the Office 2010 trial from Microsoft. Upon trying to drag the MS Office Report VI to my block diagram, the configuration dialog appears but immediately an error dialog shows up over top, with a Class Not Registered error. Attached is the screenshot. If I close the error and try to configure the VI for a basic Excel report, I get a file-not-found error in reference to the Excel template, which I have verified is indeed at the target path and opens with my version of Excel just fine. Any ideas how to get past this error?
    Attachments:
    error.JPG ‏42 KB

    Hello,
    It sounds like you have to reinstall the RGT. Have a look at this documentation.
    http://digital.ni.com/public.nsf/allkb/B7F980D169474D568625760E0055D55E
    Eric
    Eric Liauw
    AE Specialist - Automated Test | CLD | CTD
    National Instruments

  • I Get an error every time I try to update Windows 8.1 or update Defender (EXE On top "Class not Registered")

    I think my lap top has a lot more problems, then the sun has Hot spots! :)
    (not that I am down playing any one's situation, nor want to sound cynical or Condescending).
    Though many of my issues have been resolved through a LOT of time, tech support and a couple friends and personal researching.
    But I get the "Class not Registered" Every time I try to update Windows,
    (I have Mozilla Firefox 30 and Windows 8.1)
    On Top of small Error box, I get EXE..on top. But Inside the error box "Class not Registered"
    Some of the other issues or problems were self inflicted by not researching properly, so to say the least I am being extremely cautious.
    I have the same issue with Class not Registered, and looking for some ideas or hopefully the solution.
    After I try running a windows update and any updates for my virus scan "Defender" which is what I believe windows 8 and 8.1 uses, I am not sure about Vista or Windows 7 have, I never used them.
    I went right to 8 through a new lap top. Then I got Windows 8.1 (that was about a month ago)
    But if anyone does find or even know an answer please reply as soon as you are able, anyone else who may just be reading, if someone gets anything that did work for them, Please Let me know.
    Due to time I couldn't read through more Forum suggestions or links that may work for
    My Error EXE. "Class Not Registered" :)
    BUT will return later in day. Maybe anything I found an answer for I can pass on. i Have had plenty issues since I had a type of crash (Or whatever it was when I was online with a Tech from Microsoft and and he had it so both of us could control the Arrow cursor, I double checked phone number for MS and it checked out legit,
    That was the beginning of many days of constant repairing That was back around July 6th 2014 Thanks to everyone who even just reads this, BuddyD

    This is might because of your prior change in softwares. so first you have to do run '''sfc''' in run command. and then you see the specific problem which causes this . Since System File Checker (sfc) scan will make Windows replace corrupt or missing system files on your computer.
    * Click Start>All Programs>Accessories>right-click Command Prompt, and select Run as Administrator.
    * Click Continue or supply Administrator credentials if prompted.
    * In the Command Prompt window type the following, and press Enter:
    sfc /scannow
    Refer this KB article for more information:
    http://support.microsoft.com/kb/929833
    See this is not a problem of firefox till now. You can check more with microsoft answers site.

  • Getting a "Class not registered" error in VC++

    I'm after a bit of advice concerning a system that I'm
    supporting. The system is an Oracle 7.3.4 DB with Oracle
    Objects for Ole v2.2, and the Microsoft ODBC driver for Oracle,
    with the application consisting of a VB(ODBC) frontend and a
    VC++ DLL(OO4O) backend.
    The client has reported that one of the sites the software is
    installed at is generating the error "Specified Class not
    registered in Registry". I've narrowed this down to an OO4O
    call in the VC++ DLL, which does a simple select statement, it
    seems to be able to make the database connection and then
    crashes, however I've been unable to duplicate it in the
    development environment.
    No other sites have reported this problem, so I'm assuming that
    the OO40 installation has become corrupted. Has anyone else
    experienced similar problems and can offer advice or solutions
    to getting it working, and how I can reproduce the problem in
    the development environment.
    Thanks
    Andrew

    Andrew,
    May be the name 'Oracle Objects' does not clearly reflect it
    being the forum for Oracle's Object-Relational Technology. There
    is a separate forum for OO4O (Oracle Objects for OLE).
    Regards,
    Geoff
    Just to let everyone know, I've managed to duplicate the problem
    on a development PC and come up with a fix, which I modified
    from a similar fix I found for Oracle 8i. The fix is to
    reregister OIP22.dll which is the inprocess server for Oracle
    Objects, and to run Oo4oParm.reg and Oraipsrv.reg which restore
    any missing entries in the registry. I've sent the client the
    steps to follow, and hopefully this should cure the PC.
    Andrew

  • Class Not Registered error when opening COM+ Applications folder

    Hi,
    This question was originally posted in the Microsoft Community / Win 7 forum, but I was asked to post it here.
    As you can see below, I'm getting Error Code 80040154 - Class Not Registered when clicking on COM+ in Component services.
    ...picture 1 coming / Account verification
    I took a look at the event logs but couldn't glean much information from them.
    I also have issues associated with MSInstallVSSProvider when Uninstalling / Installing Norton Ghost 15. Not sure if they are related or not.
    Below are the errors I get when Installing Norton Ghost 15. This app had been loaded on the PC earlier with no problems whatsoever. A few months later when launching the app, I got several error messages. Couldn't resolve them so I thought I would uninstall
    / reinstall. That's when I started seeing the MSInstall errors, which lead me to the Component Services area.
    ...picture 2 coming
    ...picture 3 coming
    ...picture 3 coming
    I suspect a registry cleaner (GlarySoft) is the culprit here. My mistake was not backing up the registry before running the scan. This won't happen again.
    Thanks,
    Tracy

    Hi,
    In the event error, can you read what {GUID} encounters the error message? Please also let us know the full error message.
    Based on my search, this issue can be caused by the incorrect registry permission settings.
    Please launch Registry Editor and navigate to HKEY_CLASSES_ROOT\CLSID\{GUID} to verify the permission settings.
    If it does not work, you may run Process Monitor to check what process encounters this error.
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Here is the related blog for your reference:
    How to troubleshoot the “Red Arrow” issue in Component Services ( I )
    http://blogs.msdn.com/b/asiatech/archive/2010/02/22/how-to-troubleshoot-the-red-arrow-issue-in-component-services.aspx
    Kate Li
    TechNet Community Support

  • AxInterop.AcroPDFLib.dll throws "Class not registered" error on 64 bit OS

    I have an vb.net application which uses AxInterop.AcroPDFLib.dll to open PDF files. The application works fine on a 32 bit operating system. But when the same application is accessed from a 64 bit Operatiog system, it throws error "Class not Registered".
    Am i supposed to use different version of AcroPDFLib.dll for 64 bit OS.
    I have Acrobat reader 9.1 installed on 64 bit OS machine. Is there any newer version of SDK/dll which will fix ths problem.
    Please let me know solution for this problem.
    Thanks in advance.

    I am pretty sure if you compile your client application as x86 itwill work fine....you are probably compiling it with the configuration set to AnyCPU. The application loads up as 64bit or 32bit depending on the OS when set to AnyCPU. You want to force it to load as 32bit by compiling as x86. That way the app runs under WOW and loads the AcroPDFLib correctly.
    Hope this helps

  • PDF properties (meta tags) can't be changed (error 0x80040154 - class not registered)

    Hello,
    Changing PDF properties (meta tags: author, title, comment, theme etc) in  Adobe Reader as well as in Windows Explorer are disabled rsp does not funtion.
    1. In Adobe Reader "File properties", the overwriting rsp insertion of text is disabled in grey.
    2. In Windows  Explorer, following message window appears: "Properties change: Due to an unexpected error, properties can't be changed - Error  0x80040154: class not registered"
    (Sorry for the bad translation, but I am running the German version)
    Is there a technical explanation and  solution for this problem? In other PDF programms, the change of meta data does work fine.
    =====================
    Windows 7 64-bit, Acrobat Reader X 10.1.1. (Standard PDF Viewer)
    =====================
    Many thanks & best regards
    adiflis

    @MadEyes: I found out you had to set a site address in wordpress the hard way, i set it for a dns host and I couldn't get into the wp-admin page or load any sort of image or css.
    At the moment i have a server root directory with a wordpress folder on it. Eg:
        (/srv/http)/wp/
    and a  test index file in the root. Eg:
        (/srv/http)/index.html
    The index file doesn't show up publicly, but it will on the local network.
    I set the apache port back to 61669 and tested with canyouseeme.org. I got (i will email you the ip addy):
        Success: I can see your service on X.X.X.X on port (61669)       >EDIT: If I close apache, then it fails. Start it back up, it succeeds.
        Your ISP is not blocking port 61669
    I also nmap'd myself and got this:
        Host is up (0.025s latency).
        Not shown: 996 closed ports
        PORT     STATE    SERVICE
        23/tcp   open     telnet
        5989/tcp open     wbem-https
        6881/tcp filtered bittorrent-tracker
        8080/tcp open     http-proxy
    A port forward is definitely set up, so i dont know how much I can trust this (I did make 6881, but them program isn't open).
    Any of this any help?
    >EDIT: Excerpt from Webmin: "System hostname    localhost.localdomain" this doesn't seem right.
    Localhost:
    #<ip-address>   <hostname.domain.org>   <hostname>
    127.0.0.1       localhost.localdomain   localhost  ablanck
    #::1            ablanck.localdomain     localhost
    Last edited by lucytheboydog (2011-02-07 04:34:24)

  • Getting Class not registered error when I run wmi queries

    Getting Class not registered error when I run win32 wmi queries. Eg:

    Specs: 
    Lenovo 3000 N100
    Windows Vista Home Premium
    Genuine Intel (R) CPU T2080 @ 1.73 GHz (2 CPUs)
    1014 MB RAM
    DirectX 10
    Intel(R) GMA 950 

  • Class not registered error

    Hello ,
    I am getting an error for Class not registered. I registered this dll on the machine again. However now i get an error msg. saying unknown system error with some weired numbers like -2146828235. I looked at some of the previous threads. I did clean up the duplicate copies. but i dont know why it keeps giving me this error.
    Also to be noted a thing is that I did not get this  error previously, whenever I did get one, i tried to select the class again from the LV and it worked.
    Any suggestions on this one will be much appreciated.

    It sounds to me after you registered, it wasn't saved.  The error could comes from the DLL.
    ------- LabVIEW 2009, So Easy, Even a Therapist Can Do It -------

  • Class Not Registered : Error -2147221164

    Let's see if anyone can solve this one :
    I have a *.tlb file, and I'm using the "Automation Open" vi to open the file so that I can invoke methods on it.
    This vi is giving me the following error "Class Not Registered : Error -2147221164". This is only happening on one of my computers.
    Can anyone shed any light on this one?
    Thanks, Gene

    I am assuming from your response then that you have tried to use regtlib anyways. All I can find on the error says to register it again. Maybe try to un-register it and then re-register it. Here is a Knowledgebase that talks about the methods to register it.
    How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?
    One thing is to make sure you are logged in as an administrator. Also what version of LabVIEW and are you running this as a VI or an exe?

  • Class not registered error, when open HTML files.

    Hi guys, recently I've been facing this problem, everytime that I try to open a HTML file it shows the error message "class not registered", I've tried reinstalling and yet no luck, this only happens with firefox because I also have IE 10 and it works with that one but you know, I love firefox so I want to open them with it.
    Additional Info:
    I'm using firefox 20.0.1 on Windows 8

    Try to redo the default browser setting and temporarily set another browser like IE as the default browser.
    *https://support.mozilla.org/kb/How+to+make+Firefox+the+default+browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work

Maybe you are looking for