Telerik Forums
Reporting Forum
3 answers
581 views
I have created a report using VS 2005 and have it running on my local computer using the Report Viewer.  I deployed the project to our development server with the 4 required DLL's in the bin folder and everything worked perfectly.  That deployment was then moved to our Testing web server but the report viewer is not working.  It doesn't display a report and all the icons are missing in the toolbar.  I checked and all the files including the 4 Telerik reporting DLL's were there.

How can I fix this problem.

I was going to submit a picture of what I see, but there isn't any way of doing that here.  This is a time sensitive issue, isn't there any way we can talk to a person?

Thanks
Hrisi
Telerik team
 answered on 03 Mar 2009
1 answer
97 views
Hello sir ,
           In my project there are .html  pages and i have added .aspx page , in that i have used telerik report viewer to show the telerik     report
            but there is error that ,I have also added .dll files in Bin folder . Site is on FTP .Please give me solution
 

 

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Source Error: 

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AuditReport.aspx.cs" Inherits="Htdocs_html_AuditReport" %>
Line 2:  
Line 3: <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"Line 4:      Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
Line 5:  

Source File: /html/AuditReport.aspx    Line: 3 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


    

 

Milen | Product Manager @DX
Telerik team
 answered on 02 Mar 2009
4 answers
346 views
I am new to Telerik Reporting.  I am using Visual Studio 2008 and Telerik Reporting Q3 2008 SP2.  We are using MySQL as the database backend.

I added a new report to a project and canceled out of the Wizard.  I went to the report and clicked on the drop down on DataSoruce and clicked on Add Project Data Source. I choose Database and clicked Next. I already had a connection setup so I choose that and clicked on Next. I pasted a query into the query window. When I clicked on Finsh I get this error:

An unexpected error has occurred.  Error Message: Fatal Error encountered during command execution.

What am I doing wrong? I had watched a video that showed you can use parameters in queries.   Here is the query code.


SELECT     i.incidentid, i.icr, i.committedDt, l.addressid, a.masteraddressid, trim(concat(trim(housenumber), ' ', trim(streetname), ', ', trim(city))) AS Address,
                      i.incidenttype, v.ReferenceType, n.NameID, n.Race, n.Gender, CONVERT(DATEDIFF(NOW(), N.DOB) / 365, signed) AS Age, ni.ReferenceTypeID
FROM         analytics_location l JOIN
                      analytics_address a ON a.addressid = l.addressid JOIN
                      analytics_incident i ON i.incidentid = l.incidentid LEFT JOIN
                      analytics_nameinvolvement ni ON ni.incidentid = i.incidentid LEFT JOIN
                      analytics_name n ON n.nameid = ni.nameid LEFT JOIN
                      v_Analytics_NameReferenceType v ON v.referencetypeid = ni.referencetypeid
WHERE     l.addressid = @AddressID OR a.masteraddressid = @AddressID


Milen | Product Manager @DX
Telerik team
 answered on 02 Mar 2009
6 answers
70 views
  Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then
            Me.ReportViewer1.Report = New ReportLibrary.Report1()
        End If
    End Sub


Any one help me........
Parthi
Top achievements
Rank 1
 answered on 27 Feb 2009
5 answers
348 views
Hi,,
 This is Again Suriya...

I didnt get a clear idea about wwaping text in a textbox with 2 fields.......

ok  Now i have doubt in passing parameters in subreport from the web form...

Now I have two sub reports named sub1 & sub2 ,,, In the main report i called that two subreports...

Note : Sub1 & Sub2 have sqladapters aeperately , but the main report has no connection from the DB...
then how can i pass the parameter..

please reply as soon as possible

          By
    S.Suriya
Steve
Telerik team
 answered on 27 Feb 2009
1 answer
627 views
I am currently evaluating your reporting tools with a view of moving from Data Dynamics and I have come across a problem. This could be down to something that I am doing though, so your helo would be appreciated.

I have generated a report with 3 barcodes all in Code 128, they all hold 22 Characters of data as this what I need to store on my labels. However, I do not seem to be able to resize the barcode without making it unreadable by our barcode reader.

I have added a barcode horizontally and this is showing a size of 14.47cm x 2.07cm If i make a copy of this and change the height and width and then rotate the text by 270 degrees this barcode works as expected as well, so both of these can be read by the various readers and software readers we have tested.

However, we do not have that amount of space on the label (we only have 9cm in height) and if I resize any of the barcodes they become unreadable by the barcode readers.

Any help/advice would be much appreciated.

Thanks

Greg
Ivan
Telerik team
 answered on 26 Feb 2009
7 answers
905 views
Hello,

When i try to search by passing parameter values to Report, then if there is no result for any particular criteria.
then it gives error ,
              Error : Object Reference not set to an instance of an object.

Please help me to sort out the problem.
What should i do if there are no records to be displayed in specific search Criteria ?.

Thanks.
Steve
Telerik team
 answered on 26 Feb 2009
1 answer
237 views
Hi, I am running into this problem:

if i use the Telerik.Reporting.checkbox, i can set the value to true or false, then the checkbox will show its value.  however, i am running a loop through the XML to find checkbox value.  however, the checkbox is not shown being checked. 

here is my code:  what really tricks me is in the ele is Telerik.Reporting.Processing.CheckBox please let me know where i did wrong. 

 Telerik.Reporting.Processing.DetailSection processingDetail = (Telerik.Reporting.Processing.DetailSection)sender;
 foreach (Telerik.Reporting.Processing.ReportItem item in processingDetail.Items)
 {
     if (item is Telerik.Reporting.Processing.Panel)
     {
         Telerik.Reporting.Processing.Panel pan = (Telerik.Reporting.Processing.Panel)item;
         foreach (Telerik.Reporting.Processing.ProcessingElement ele in pan.ChildElements)
         {
             if (ele is Telerik.Reporting.Processing.TextBox)
             {
                 if (ele.Name == node.Attributes["Flag"].Value.ToString().Replace("$#", "").Replace("#$", ""))
                 {
                     Telerik.Reporting.Processing.TextBox txt = (Telerik.Reporting.Processing.TextBox)ele;
                     txt.Value = node.InnerText;
                 }
             }
             if (ele is Telerik.Reporting.Processing.CheckBox)
             {
                 if (ele.Name == node.Attributes["Flag"].Value.ToString().Replace("$#", "").Replace("#$", ""))
                 {
                     Telerik.Reporting.Processing.CheckBox chk = (Telerik.Reporting.Processing.CheckBox)ele;
                     if (node.InnerText == "X")
                     {
                         chk.Value = System.Windows.Forms.CheckState.Checked;
                     }
                     else
                     {
                         chk.Value = System.Windows.Forms.CheckState.Unchecked;
                     }
                 }
             }
         }
     }

 }

Many Thanks

Steve
Telerik team
 answered on 26 Feb 2009
1 answer
143 views

Dear Community,

I have recently encountered a problem when trying to work with hide/show of report content. So shortly draft out my problem, I have a report with Master/Detail, on the master I have the following code in my report's cs file

bool bShow; 
private void subReport_ItemDataBound(object sender, System.EventArgs e)

{

    bShow = (

bool) this.ReportParameters["ShowDetails"].Value;

 

 

    (sender

 

 

 

as Telerik.Reporting.Processing.SubReport).Visible = bShow; 

 

 

 

 


    //More content will be added here...

 

 

}

This works flawless and my excel export works perfectly. If I add the following line into the method

 

    masterDetail_Total.ShowDetailSection(bShow);

where the method ShowDetailSection(bool bShow) is defined in the detail report of the master report, so that the complete method will yeild

bool bShow; 
private void subReport_ItemDataBound(object sender, System.EventArgs e)

{

    bShow = (

 

bool) this.ReportParameters["ShowDetails"].Value;  

 

 

    (sender

 

as Telerik.Reporting.Processing.SubReport).Visible = bShow;

 

 

 

    // Known Issue: 'Visible = false' will cause excel export to throw an StackOverflow exception

 

 

 

 

   masterDetail_Total.ShowDetailSection(bShow);
}

the reportviewer will throw an StackOverflow exception whenever the report parameter "ShowDetails" = false.

Any idea on how to solve this problem?

Best regards,
S. Engel

 

 

 

 

 

 

 

 

 

Steve
Telerik team
 answered on 26 Feb 2009
5 answers
196 views
Hello,
          I want to change the PageIndex of ReportViewer when the Page is being Post_back.
          When I bind new data then, if i am viewing the 5th page & new data contains records for only
          4 pages,
                  then it generates an Error : Unspecified error while processing the report request.

          Please reply me how do i reset the page index of ReportViewer to its default when i bind data again
          to ReportViewer.
       

Thanks,
Jaspreet
Steve
Telerik team
 answered on 26 Feb 2009
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?