Skip to Content
avatar image
Former Member

Crystal Reports Runtime on Docker Container

Hi, has anybody ever installed the CR Runtime in an docker image? Would be pleased for some links to resources for dockerfiles, like this:

FROM microsoft/windowsservercore

#Preperation: all commands on the container shall run in the POWERSHELL SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

#Copy the Crystal 2010 Runtime from the lokal machine to the container (into the folder "c:\install" and install it manually

COPY . /install WORKDIR /install

RUN Start-Process CRRuntime_64bit_13_0_18.msi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 05, 2017 at 05:54 AM

    Hi Klaus,

    Do you have the answer yet?

    if you have, can you share it.

    Thanks,

    Handy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 05, 2017 at 12:19 PM

    Hi,

    I am trying to deploy crystal report runtime (version 13.0.10 ) on Docker Windows container and I receive the following error:

    1904.Module C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\pageobjectmodel.dll failed to register. HRESULT -2147024770. Contact your support personnel.

    Here are my actions:

    1. I pull the image Microsoft/aspnet whcih is from the official account of Microsoft in Docker hub (latest version at the current date - 04/04/2017)

    https://hub.docker.com/r/microsoft/aspnet/

    2. Installed software in container:

    Microsoft Visual C++ 2005 Redistributable (x64)

    Microsoft Visual C++ 2008 Redistributable - x64 9.0.21022

    Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022

    Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219

    Microsoft Visual C++ 2015 x64 Additional Runtime - 14.0.23026

    Microsoft Visual C++ 2015 x64 Minimum Runtime - 14.0.23026

    3. Running service – TrustedInstaller

    4.Dot Net Framework versions:

    -Client 4.6.01586 Release 394802

    -Full 4.6.01586 Release 394802

    -Client 4.0.0.0

    5. I tried to install CRRuntime_64bit_13_0_10.msi in the container with command -“msiexec /i CRRuntime_64bit_13_0_10.msi /qn /quiet /norestart /Le Error.log”

    During the installation the above error is logged and at the end everything is rolled back - the files are deleted and I can see the error in the log.

    Does anyone know if Crystal Report can be installed on Docker Windows container or am I doing something wrong?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 20 at 06:01 PM

    Yes it can be.

    Copy the oledlg.dll from an existing Windows Server. There is a x32 and x64 version of oledlg.dll so be sure to use the respective ones.

    Copy into the container:

    c:\windows\system32\oledlg.dll

    c:\windows\SysWOW64\oledlg.dll

    The installation will then work.

    Credit:

    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/20588e86-c8fa-450a-8dad-77484eb9ef39/windows-2016-container-and-crystal-reports-runtime?forum=windowscontainers

    Example:

    FROM microsoft/windowsservercore

    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command"]

    WORKDIR C:/install

    COPY ./install c:/install/

    COPY c:/install/System32/oledlg.dll c:/windows/System32

    COPY c:/install/SysWOW64/oledlg.dll c:/windows/SysWOW64

    RUN Start-Process -FilePath 'C:/install/CRRuntime_32bit_13_0_22.msi' -ArgumentList '/quiet', '/NoRestart', '/L*V C:/install/cr32.log' -Wait

    RUN Start-Process -FilePath 'C:/install/CRRuntime_64bit_13_0_22.msi' -ArgumentList '/quiet', '/NoRestart', '/L*V C:/install/cr64.log' -Wait

    Add comment
    10|10000 characters needed characters exceeded