Telerik Forums
Reporting Forum
3 answers
98 views
Hi,

I have a created a simple report in Silverlight but when I run the application I get this error:

AG_E_UNKNOWN_ERROR:

System.Windows.Markup.XamlParseException occurred
  Message="AG_E_UNKNOWN_ERROR [Line: 26 Position: 36]"
  LineNumber=26
  LinePosition=36
  StackTrace:
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Silverlight_Reporting.MainPage.InitializeComponent()
       at Silverlight_Reporting.MainPage..ctor()
  InnerException:


Here is my code from the MainPage.xaml

<

 

reportViewer:ReportViewer x:Name="xReportViewer"

 

 

    ReportServerUri="../ReportService.svc"

 

 

    Width="1000"

 

 

    Report="ReportLibrary.BasicReport, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">

 

 

 

 

</reportViewer:ReportViewer>

 

Pascal Rieder
Top achievements
Rank 1
 answered on 26 Feb 2010
3 answers
203 views
Hello,

I don't see the the ZoomMode and ZoomPercent properties for the Silverlight ReportViewer? Do they exist? Do they have different names? Are there equivalent properties I should be looking at?

Thanks,

-Gary
Svetoslav
Telerik team
 answered on 26 Feb 2010
1 answer
123 views
Hi,

I created a class library project to create my reports and use that in an existing web application. I created a table adpater which uses an existing stored procedure(with parameters). I am using these reports in my application using the reportviewer. The parameters for the stored procedures are controls on the page containing the reportviewer. I am unable to figure out a way to pass the parameters from this page to the stored procedure and display the correct report. What am I missing?

Thanks
Steve
Telerik team
 answered on 26 Feb 2010
0 answers
93 views
I have a report that binds to a collection of objects. One of the properties on the object is an enumeration. When the report is ran, the field with the enumeration shows up as an integer. How can I convert an enumeration field to use the actual value of the enumeration instead of the integer value?
kelly moore
Top achievements
Rank 1
 asked on 25 Feb 2010
4 answers
265 views
Hey, this may sound like a stupid question
But is there a way to inject HTML Document in the report, say like IFrame

We've a rendered HTML page that we want to include or capture in the report, is there a way to do so?
i've looked the HTMLTextBox control, but i guess it renders only html text, not complex html page including images and charts :'(
David Sal
Top achievements
Rank 1
 answered on 25 Feb 2010
1 answer
55 views
I understand there are some limitations to shared hosting on telerik reporting. Does this image have somethign to do with it?

Steve
Telerik team
 answered on 25 Feb 2010
2 answers
309 views
I'm getting this error on my production server, everything works fine on my dev machine. Any ideas?

It's a silverlight application using the silverlight report viewer.

Windows 2008 server IIS7

Error Message: An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
Error InnerException: System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   at proxy_2.EndListRenderingExtensions(IAsyncResult )
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
Error StackTrace:    at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnListRenderingExtensionsCompleted(Object state)

Pablo Tola
Top achievements
Rank 2
 answered on 25 Feb 2010
1 answer
166 views
I have a master report with a sub-report. When I display the master report in the report viewer on my web page, the master report display alright, but the sub-report doesn't get displayed until I press the refresh button on the viewer. I have verified with the debugger and know that the sub-report is being run, but it doesn't get displayed until I press the refresh button. Any ideas what I could be doing wrong?

TIA
Steve
Telerik team
 answered on 24 Feb 2010
2 answers
467 views
I have tried to remove the seconds from the display of t TimeSpan field with no success,
I tried {0:t} , {0:T} ,{0:hh:mm} , in all 3 cases I see hh:mm:ss where did I go wrong ....
I'm using q3 2009

Mickey
Top achievements
Rank 1
 answered on 23 Feb 2010
12 answers
205 views
Hi,
i just upgraded to the Q3 that was out a few days ago.
I can't get my code that binds the reports to the data source to work.
The following works fine:


 

public PatientReport()

 

{

 

/// <summary>

 

 

/// Required for telerik Reporting designer support

 

 

/// </summary>

 

InitializeComponent();

 

//

 

 

// TODO: Add any constructor code after InitializeComponent call

 

 

//

 

 

// TODO: This line of code loads data into the 'pCGProduction211009DataSet.PCGProduction211009DataSetTable' table. You can move, or remove it, as needed.

 

 

try

 

{

 

this.pcgProduction211009DataSetTableAdapter1.Fill(this.pCGProduction211009DataSet.patient);

 

}

 

catch (System.Exception ex)

 

{

 

// An error has occurred while filling the data set. Please check the exception for more information.

 

System.Diagnostics.

Debug.WriteLine(ex.Message);

 

}

}


but when i try to bind through the NeedDataSource event with the following code:


 

public

 

PatientReport()

 

{

 

/// <summary>

 

 

 

 

 

 

/// Required for telerik Reporting designer support

 

 

 

 

 

 

/// </summary>

 

 

 

 

 

InitializeComponent();

DataSource =

null;

 

 

}

 

private PCGProduction211009DataSet.patientDataTable GetData()

 

{

 

using (patientTableAdapter adapter = new patientTableAdapter())

 

{

 

var data = adapter.GetData();

 

 

return data;

 

}

}



i get an error when the report runs as you can see in the file attached. This code does work with Q2.

What has gone wrong?

Naphtali

Steve
Telerik team
 answered on 23 Feb 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?