Telerik Forums
Reporting Forum
1 answer
150 views

Hi,

i am new to telerik reporting. i tried to generate reports through API libraries in C# provided by telerik. In local , I am able to build the webapplication and generate report. But when try doing same in server .I am unable to. I am getting error that "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"

 

 

 

        <add key="connectionString" value="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=XXXXXX)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xxxx)));User Id=xxx;Password=xxx" />
        <add key ="providerName" value="Oracle.ManagedDataAccess.Client" />

 

I have put following entries "manage.config" file in both the systems

    <system.data>
      <DbProviderFactories>
      <remove invariant="Oracle.ManagedDataAccess.Client" />
      <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=xxxxxx" />
   </DbProviderFactories>
    </system.data>

 

Please find the details of local as well as server

Local-

   OS - windows10 Pro , 64 bit

Server

OS- windows server 2012 standard 64 bit

 

I take build on webapplication visual studio 2019

Target platform : .NetFramework 4.6.1, x86, ConsoleApplication

I copy the same files(which are generated in build) to server and run the exe file. 

There other java applications connecting to above database on server.

Kindly help me here.

 

 

 

 

Todor
Telerik team
 answered on 30 Oct 2020
1 answer
152 views

Hi,

I am new to telerik reporting.   I have designed sample report.

i have added a crosstab , linegraph in detail section .

My datasource has 3 rows  I get 6 pages of output.

But I am expecting only single page output.

Kindly help me here.

 

Mads
Telerik team
 answered on 30 Oct 2020
3 answers
567 views

Hello,

Can someone please point me to some sample code having a master/detail section such as is found on a purchase order or invoice that is using ASP.NET Core 3.1 or better? I can't quite seem to see how to get both of the data source hooked up properly when using an ObjectDataSource.

 

Thank you,

Scott

Todor
Telerik team
 answered on 29 Oct 2020
1 answer
157 views
Is there a way to handle events in the web report designer?  Are there any client side methods available for the designer?
Todor
Telerik team
 answered on 29 Oct 2020
1 answer
95 views

Hello,

We are using Telerik reporting in ASP.NET Webform with vb.net and we noticed cached data when we export data in excel, it display data which we filtered pervious last time, it is not exporting data which is currently showing in report viewer and it happened only in large report ,I read many thread related to Cache but it didn't help, we are using 11.2.17.913 reporting version,

any help would be appreciated 

Thanks

Todor
Telerik team
 answered on 29 Oct 2020
3 answers
582 views

Hi,

 

I have a .Net 5.0 RC2 Blazor WebAssembly application with System.Text.Json as json de/serialization support. I configured server project to serve reports, but I receive the error:

Property 'JsonResult.SerializerSettings' must be an instance of type 'System.Text.Json.JsonSerializerOptions'.

It is obvious that the error appears because the NewtonsoftJson package is missing - but I don't want to replace System.Text.Json de/serializing mechanism. The question is: is there a way to override/provide the json serializer settings and to skip this issue?

 

Thanks,

Ion

Ion
Top achievements
Rank 1
 answered on 29 Oct 2020
1 answer
192 views

Hi,

I want to add one straight line (the pink one from the image) on my bar series. How to do it?

Telerik reporting version 11.1.17.614, using visual studio 2015

Mads
Telerik team
 answered on 28 Oct 2020
1 answer
312 views

I am implementing a REST service with a custom report source resolver. There will be a single instance of the service.

For the IStorage interface implementation, which one offers better performance, FileStorage or MsSql Database storage? The load may be high, hundreds of reports in the same time.

For FileStorage, if I don't specify any location, what is the defaul location on the file system?

Todor
Telerik team
 answered on 27 Oct 2020
3 answers
494 views

                                         Valves
Posted on: 21 hours ago

Hi Team,
My issue is that when I run solution locally report generated as expected but on production server it generates blank report (all export buttons and other header information populating in server correctly only data is not shown.). Below is FYI,
We have dot net application targeting dot net framework 4.5.1 and which generates reports by taking report type as a parameter. Telerik report viewer is used for this. Also I checked by connecting to production database and data is populating when executed locally so no production Database side issue.  
When I run the site (production deployed site) and open developer tools I get - javascript runtime error 'xyz' is undefined. Can you please and assist how can I fix this?

Step1: When I select report type and click on generate get screenshot1.

Step2: When I click "yes" here get Screenshot2.

Todor
Telerik team
 answered on 27 Oct 2020
2 answers
333 views
<telerik:ReportViewer
          ID="reportViewer1"
          Width="90%"
          EnableAccessibility="true"
          PageMode="SinglePage"
          ScaleMode="FitPageWidth"       
          runat="server">
          <ReportSource Identifier="Report1.trdp" IdentifierType="UriReportSource">
              <Parameters>
                  <telerik:Parameter Name="AccountId" Value="25585" />
              </Parameters>
          </ReportSource>
      </telerik:ReportViewer>

 

I tried pass the Parameter via the html and code behind and it seems to be ignored. My Report1.trdp file reads a Stored Procedure passing in the AccountId. I am using a SQL Data source as part of the Report1.trdp file.

protected void Page_Load(object sender, EventArgs e)
      {
          if (!IsPostBack)
          {
              this.reportViewer1.ReportSource.Parameters.Add("AccountId", 25585);
          }
      }
Mark
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 26 Oct 2020
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?