Showing results for 
Search instead for 
Did you mean: 

"Cannot create ActiveX component."

Former Member
0 Kudos

Hello guys,

I'm having some issues regarding the VS2010 development plugin and the runtime on an IIS server. I'm currently developing a software using CR. As long as I run it on my local machine, it works just fine. However, since I deployed the WCF to our local IIS, it's broken. I always get the FaultException "Cannot create ActiveX component." If I switch it back to my local development server built into the VS2010, it's fine again.

I think, I misconfigured something on the IIS. I have installed the "SAP Crystal Reports runtime engine for .NET Framework 4" from [here|], the 32 as well as the 64 bit version. I also switched the AppPools aroundu2014without any success.

I already asked on the IIS forums, and they recommended me to ask here. I hope you can help me.


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

Hello Andre

Enter the following into the search box at the top right corner of this web page: "activex create net crystal". See if any of the KBs, etc., help.

What happens if you run the app right on the server it's self?

What's the OS?

Do you get the error when printing, viewing or exporting the report?


Follow us on Twitter

Got Enhancement ideas? Try the [SAP Idea Place|]

Former Member
0 Kudos

Hello Ludek,

Thank you for the tip. I will check the KBs and tell you, if I found anything useful. I will also check if the application work on the server.

The OS we're using is Windows Server 2008 R2 Datacenter 64 bit. I get the error as soon as I try to print a label. I'm not sure in which line exactly, because it's just giving me the error message without a line number.

The source code is this:

If initialized Then
            Dim Check = CheckPrinter()
            If Check = ServiceStatusCode.PrinterOK Then
                Dim CrReport As New CrystalReport1
                Dim dieListe As New EtikettenListe

                dieListe.add(New Etikett(LzID, Weight))

                CrReport.PrintOptions.PrinterName = "\\" & Target & "\Compa II 104-8"
                CrReport.PrintToPrinter(1, True, 0, 0)
                Return ServiceStatusCode.PrintSuccessful
                Return Check
            End If

            Return ServiceStatusCode.NotInitialized
        End If


Answers (0)