#FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build ARG APP_ENV=omtest1 #app run environment ENV APP_ENV $APP_ENV WORKDIR /src COPY test/*.csproj test/ COPY telerik/*.csproj telerik/ #COPY WorkerService3/*.csproj WorkerService3/ RUN dotnet restore test/test.csproj # copy and build app and libraries COPY test/ test/ COPY telerik/ telerik/ #COPY WorkerService3/ WorkerService3/ WORKDIR /src/test RUN dotnet build -c release #app ports to be exposed EXPOSE 5000 EXPOSE 2000 FROM build AS publish RUN dotnet publish -r linux-x64 -o /app/publish # final stage/image #FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine FROM centos:7.5.1804 #FROM mcr.microsoft.com/dotnet/sdk:5.0 RUN yum install wget -y && \ yum install -y epel-release && \ rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm && \ yum install glibc-devel -y && \ yum install -y libgdiplus-2.10-10.el7.x86_64 && \ yum install libX11-devel -y && \ yum install dotnet-sdk-5.0 -y && \ rm -rf /var/cache/yum WORKDIR /app/telerik EXPOSE 2000 COPY --from=publish /app/publish . ENV ASPNETCORE_URLS http://*:2000 RUN cd /app/telerik && \ cp te36013t_0.ttf TeleNeo-Regular.otf TeleNeo-Bold.otf TeleGroteskNor_0.ttf te36016t_0.ttf ConnectCode39_0.ttf /usr/share/fonts/ CMD dotnet test.dll --environment development
Hi Friends,
I am unable to render the Telerik Report in the .net core App.
ReportSource report = new InvoiceTest(); //calling from the dll report.Parameters.Add("id", 1); report.Parameters.Add("UserId", invoice.userId); RenderingResult result = reportProcessor.RenderReport("PDF", report,null); if (!result.HasErrors) { string fileName = result.DocumentName + "." + result.Extension; string path = System.IO.Path.GetTempPath(); string filePath = System.IO.Path.Combine(path, fileName); using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create)) { fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); } }
My error message like :
InnerException = {"Format of the initialization string does not conform to specification starting at index 0."}
your help on this would be greatly appreciated
Hi,
I am using Standalone Telerik Report Designer and trying to input a data into text box highlighted with red square (refer the attachment). I was inserting the textbox directly (look blue arrow) without inserting a table first as pageHeaderSection cannot be inserted with table. However, I found that No data source shown in the data explorer. Can someone guide me on how to input data into the textbox directly without inserting table first?
Thank you.
Hello,
I want to assign the values of these parameters from session variables when I load the page with report.
I used session and couldn't load the report.
Thanks for your help!
I have a Table of Contents control in my telerik report, which works fine in preview mode and when exported to PDF, but when i export as a word document, each TOC link directs me to the top of the page.
Is there a solution for this?
Hello;
First I wrote my SQL query. As you can see in picture 1 my SQL query is working. I'm designing with Crosswizard. You can see it in Picture 2. Then I press the Preview button, the fault in picture 3 occurs. However, you can see in picture 1 that my SQL query is running. So what is the solution for this error?
I have the requirement for setting a vector based picture (svg) as page background on every page in a report.
I tried setting the graphic as page watermark, but rendering the report as PDF the graphic is rasterized.
Is there another way of setting a vector graphic as page background and when rendering the report as PDF it stays vectorized ?
Hello,
I am new to Telerik, and am having trouble opening the x86 Report Designer. I get this message:
Fatal error in workbench. Now closing... An error has occurred while loading the ReportDesigner's Workbench.
Is there a log file somewhere that can get me more details on this? What could be causing this issue?
My Blazor application uses an API for all its data and reporting etc
In my _Host.cshtml I have the following line
@* For Reports service hosted in another application / Report Server use absolute URI: *@
<script src="https://localpc/localapi/api/reports/resources/js/telerikReportViewer"></script>
and the report views OK.
When this goes into production, the localpc/localapi will change, the API will be hosted on the customers server
So, without change my code and re-compiling can I make this variable / configurable?
Thanks