Page 1 of 1

"The license key is not valid" on 6.0-alpine

Posted: Sun Jun 12, 2022 5:54 pm
by anjung
Trying to start alpine docker images with Stimulsoft.Reports.Web.NetCore 2022.2.6

StiLicense.Key = "..."
fails on 6.0-alpine but works with 6.0-jammy

What kind of crypto magic are you using in there^^ this may be openssl related

== Docker File Base ==

FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS base
COPY ./fonts ~/.fonts
RUN apk --no-cache add fontconfig && fc-cache -f
RUN apk --no-cache add libgdiplus --repository https://alpine.global.ssl.fastly.net/al ... e/testing/
WORKDIR /app
EXPOSE 80
...

Re: "The license key is not valid" on 6.0-alpine

Posted: Mon Jun 13, 2022 12:06 pm
by Max Shamanov
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#7191

Re: "The license key is not valid" on 6.0-alpine

Posted: Tue Jun 14, 2022 1:36 pm
by Lech Kulikowski
Hello,

Please send us your request with a detailed description on support@stimulsoft.com.

Thank you.

Re: "The license key is not valid" on 6.0-alpine

Posted: Thu Sep 01, 2022 2:44 pm
by anjung
with the gdiplus dependency gone,
this is a fully working base image for stimulsoft netcore

Code: Select all

FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS base
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
COPY ./fonts /usr/share/fonts
RUN apk --no-cache add fontconfig tzdata icu-libs icu-data-full && fc-cache -f
WORKDIR /app
EXPOSE 80
thanks

Re: "The license key is not valid" on 6.0-alpine

Posted: Thu Sep 01, 2022 2:52 pm
by Max Shamanov
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: "The license key is not valid" on 6.0-alpine

Posted: Thu Sep 29, 2022 9:20 am
by Max Shamanov
Hello

The Alpine Linux is very lightweight and miss some impostant packages.
  • By default, DOTNET_SYSTEM_GLOBALIZATION_INVARIANT is set to True, our tool need this proerty set to false.
  • The libgdiplus package is not installed.
  • No fonts are installed.
On our tests the Dockerfile is next:

Code: Select all

FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS base
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
RUN apk update
RUN apk add --no-cache --upgrade bash
RUN apk add libc-dev --update-cache

# libgdiplus necessary for Reporting!
RUN apk add libgdiplus-dev --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing
RUN apk add libx11-dev --update-cache

# Fonts necessary for Reporting!
RUN apk add msttcorefonts-installer
RUN update-ms-fonts

WORKDIR /app
EXPOSE 80

Thank you.

Re: "The license key is not valid" on 6.0-alpine

Posted: Wed Jan 04, 2023 5:50 pm
by vjnjcjus
Hi, i'm trying to test a console application in dotnet core 3.1 and i'm using ubuntu 20.04 x64, when I start the application it show me the exception "The license key is not valid!"

I've tried to install libgdiplus but get the same result.

Is there a sample project or documentation in dotnet core?

Re: "The license key is not valid" on 6.0-alpine

Posted: Wed Jan 04, 2023 7:21 pm
by Lech Kulikowski
Hello,

Please send us a request on support@stimulsoft.com.

Thank you.

Re: "The license key is not valid" on 6.0-alpine

Posted: Mon Jan 09, 2023 5:41 pm
by vjnjcjus
Lech Kulikowski wrote: Wed Jan 04, 2023 7:21 pm Hello,

Please send us a request on support@stimulsoft.com.

Thank you.
I've sent you a project with the license we have.

Re: "The license key is not valid" on 6.0-alpine

Posted: Mon Jan 09, 2023 10:00 pm
by Lech Kulikowski
Hello,

Ok. We will check and will reply to you by email.