Telerik Forums
Reporting Forum
0 answers
665 views

Hello everyone,

I have a problem with my Web Report Designer project. On my local machine everything works fine but  when i deploy it on the IIS serve, I receive this error:

 http://localhost/reportdesigner/resources/js/telerikReportViewer/ net::ERR_ABORTED 500 (Internal Server Error)
WebReportDesigner:40 GET http://localhost/reportdesigner/designerresources/js/webReportDesigner/ net::ERR_ABORTED 500 (Internal Server Error)
WebReportDesigner:39 GET http://localhost/reportdesigner/resources/js/telerikReportViewer/ net::ERR_ABORTED 500 (Internal Server Error)
WebReportDesigner:40 GET http://localhost/reportdesigner/designerresources/js/webReportDesigner/ net::ERR_ABORTED 500 (Internal Server Error)
WebReportDesigner:44 Uncaught TypeError: $(...).telerik_WebReportDesigner is not a function
    at HTMLDocument.<anonymous> (WebReportDesigner:44)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.K (jquery.min.js:2)
(anonymous) @ WebReportDesigner:44
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2

 

This is my Index.cshtml

<head>
    <title>Web Report Designer</title>

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap" rel="stylesheet">

</head>
<body>

    <div id="webReportDesigner">
        loading...
    </div>

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2020.3.1118/js/kendo.all.min.js"></script>

    <script src="/api/reportdesigner/resources/js/telerikReportViewer/"></script>
    <script src="/api/reportdesigner/designerresources/js/webReportDesigner/"></script>

    <script type="text/javascript">
        $(document).ready(function () {
            $("#webReportDesigner").telerik_WebReportDesigner({
                toolboxArea: {
                    layout: "list"
                },
                serviceUrl: "/api/reportdesigner",
                report: "20201130 Partner Commissions.trdp"
            }).data("telerik_WebDesigner");
        });
    </script>

</body>

 

This is my controller :

{
    [Route("api/reportdesigner")]
    public class ReportDesignerController : ReportDesignerControllerBase
    {
        public ReportDesignerController(IReportDesignerServiceConfiguration reportDesignerServiceConfiguration, IReportServiceConfiguration reportServiceConfiguration)
            : base(reportDesignerServiceConfiguration, reportServiceConfiguration)
        {
        }
    }
}

 

I would appreciate if anyone could help me. Thanks and have a nice day!

I forgot to mention, I am a beginner with Telerik reporting and everything related to it.


Puiu
Top achievements
Rank 1
 updated question on 30 Aug 2021
1 answer
422 views

I want to upgrade version of following telerik assemblies -

1. Telerik.Reporting.dll 

2. Telerik.Reporting.OpenXmlRendering.dll  

3.Telerik.Reporting.XpsRendering.dll  

4.Telerik.ReportViewer.Html5.WebForms.dll

I have removed these 4 existing dlls and replaced them with upgraded version files and  added references. Previously in my project Telerik.ReportViewer.Html5.WebForms.dll  was not exist  and  Telerik.ReportViewer.WebForms.dll was there, so I have removed Telerik.ReportViewer.WebForms.dll and   I have  added  Telerik.ReportViewer.Html5.WebForms.dll. 

Its giving errors on multiple files. 

Anyone can help me ? 

Kind regards, 

Payal

Todor
Telerik team
 answered on 30 Aug 2021
1 answer
144 views

Hi ,

I am writing because the Telerik PDF VIEWER is not showing a correct text selection when I load the issue.pdf file. This file works correctly with other pdf viewers like Microsoft Edge , Chrome , and others . The issue.jpg attached file is the issue.pdf with the extension changed. Pleased change it again to view it. 

You can try with the "Telerik UI for WPF - Demos.appref-ms" app .  There you can see an attached picture of the issue: "issue.pic.png". 

Do you know the reason for this problem?

Best,

 

Dimitar
Telerik team
 answered on 26 Aug 2021
1 answer
353 views

Hi Team,

I have created a report which will be generated with 3 pages of data in PDF format. I am getting report with 6 pages of data with alternate page blank when I use landscape and A4 page settings.

In potrait it is coming good but as data is more the page spilt into pages with half data in one page and half data in another page.

I am using version 10.2.16.914.

 

Please provide some help

Thanks,

Nagasree

 

Dimitar
Telerik team
 answered on 26 Aug 2021
1 answer
211 views

Good Morning Telerik,

 

The query I am using within Telerik to query my data from the SQL database is the following.

SELECT *

FROM WebTasks

WHERE COMPLETEDDATE BETWEEN TO_DATE(:FromDate,'MM/DD/YYYY HH24:MI:SS') AND TO_DATE(:ToDate,'MM/DD/YYYY HH24:MI:SS')

 

It creates two parameters the "To Date" and "From Date" however- selecting the date and clicking preview just returns the entire table with all the data going back before and after the selected dates. one of the tables with the dates is "COMPLETEDDATE" but it seems to be ignoring this I guess?

 

What am I doing wrong?

0 answers
533 views

my actual width is 3.14 inch but the print not in the correct size 

using code

rvInvoiceViewer.PrintReport()

Arun
Top achievements
Rank 1
Iron
 asked on 24 Aug 2021
2 answers
266 views

Hi Team,

I am creating one report where I am using table and binded the list. The List first row is headers. I want to change the style of first row in the table. I tried different things using conditional formatting.

I referred below links

https://docs.telerik.com/reporting/knowledge-base/applying-conditional-formatting-rule-to-expandable-area

https://docs.telerik.com/reporting/knowledge-base/how-to-display-alternating-style-rows

 

but complete table getting that style instead of only first row which contain header.

 

Could you please help me to achieve this?

 

Thanks,

Nagasree

Nagasree
Top achievements
Rank 1
Iron
 answered on 23 Aug 2021
1 answer
142 views

As the subject states i would like to create tables without borders in my pptx but no matter which settings i use for the borders in the Report Designer they always end up being black and 1pt thick.

Examples of different settings i tried out:

  • Border type None
  • Border thicknes to 0
  • Border color to white
  • ...

Neli
Telerik team
 answered on 23 Aug 2021
1 answer
71 views
I have a Silverlight project, and I want to make a telerik report with a graph, but I don't want send it to the printer, before I want to show it into the window.  I going to calculate the  values for the graph from Silverlight, and then I only send they to telerik.
Can you give me an example of this?
Neli
Telerik team
 answered on 20 Aug 2021
1 answer
108 views

Are there any plans to have the ribbon bar available in the web designer for quick actions like in the desktop designer?

Neli
Telerik team
 answered on 20 Aug 2021
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?