Telerik Forums
Reporting Forum
1 answer
107 views

Hi,

I ​recently got upgraded to Visual Studio 2013 development platform from Visual Studio 2012. After this upgrade, I am not able to load the report designer view in the VS2013 IDE which was initially created using VS2012. Its giving some designer load error. Also, if I try to add any new report to the project, it is prompting "Error: Incorrect version" message. The version of Telerik, that I have recently upgraded to is Telerik Report Q1 2015.

Please help me out in resolving this issue.

 Thanks

Nasko
Telerik team
 answered on 08 Sep 2015
6 answers
685 views

I know this question has been asked many times, and I have read most of the posts, but so far I have not seen a reply that is applicable to my situation, so I'm going to ask it again.

I have several LightSwitch applications built using Visual Studio 2012, Telerik Reporting Q3 2013 7.2.13.1016, .NETFramework 4, Silverlight 5, and deployed to a Windows 2008 R2 server with IIS 7.

The reports fail in one of the applications on all computers except one. The reports were working fine for the last 2 years, until I deployed an update to a different LightSwitch application on the same server that also uses the same version of Telerik Reporting. All applications are deployed to separate application pools. The reports in the application I updated are working fine.

I re-deployed the application that the reports stopped working in using the original deployment package, and that did not fix the problem. I then re-built and re-deployed the application, and it still did not fix the problem. The reports in this application work fine on all of our development computers when the reports are run inside Visual Studio, but fail on all except the one computer mentioned above when launched directly from the browser. The reporting functions also fail on the server the application is deployed on. The reports fail with the following error: Error:

 

System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)------------- InnerException: -------------System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
   at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   at proxy_3.EndListRenderingExtensions(IAsyncResult )
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)------------- InnerException: -------------System.Net.WebException : The remote server returned an error: NotFound.
   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)------------- InnerException: -------------System.Net.WebException : The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)

 

I have also attached an image of the actual error screen from within the report viewer.

As suggested in one of the posts, I typed the address of the svc file on the server, and the service checks out fine.

Any insight as to what I can do to determine the cause and fix the problem would be greatly appreciated.

 

Jack​

 

Kenneth
Top achievements
Rank 2
Iron
 answered on 07 Sep 2015
8 answers
1.5K+ views
Hello again,
This forum has been very helpful.  I have a report with PictureBox control on it.  The report is bound to a data source and that data source includes an image from a SQL 2000 database.  I can successfully bind the PictureBox to the image by setting the PictureBox value to the data bound column of the image.

My problem is the image column this gets bound to is a nullable field.  When there is a null image returned in my data set, I receive an error stating the PictureBox can't be bound to a null field.  What is the best way to work arond this?  I'm thinking of dynamically adding the PictureBox to the report if an image exists but am not sure how to implement this.  thanks again!  Justin
Phil
Top achievements
Rank 1
 answered on 07 Sep 2015
1 answer
287 views
I am trying to create simple tabular report using telerik report wizard. When the wizard is finished it place a table in detail section with the values and headers of properties selected by me, earlier. When i try to run the report, it shows nothing but the header repeating itself. I tried to create the same report using Blank Report, but it also gave me same result. Though there is a twist, Once i create a Blank Report, bind it with same dataset and this time i ​drag and drop only the value fields to the detail section, i run the report and this time it shows data correctly. I have searched for this issue on your forums, tried some suggestion but none worked. I have attached both of the screenshots. I am trying to view this report on IE 8 and IE 9 as the project for which we want to purchase telerik reporting offers compatibility with IE 8 and IE 9. Please advise me the point i am missing.
Nasko
Telerik team
 answered on 07 Sep 2015
2 answers
123 views

I have a very small library which consists of a single class;

 public static class DateTimeFunctions
    {
        [Function(Category = "​xxx", Namespace = "​xxx", Description = "Get the start of current month")]
        public static DateTime StartOfMonth()
        {
            var now = DateTime.Now;
            return new DateTime(now.Year, now.Month, 1);
        }

        [Function(Category = "​xxx", Namespace = "xxx", Description = "Get the end of current month")]
        public static DateTime EndOfMonth()
        {
            return StartOfMonth().AddMonths(1) - TimeSpan.FromSeconds(1);
        }
    }

 In my app.config file I have the following:

 

configuration>
  <configSections>
    <section name="Telerik.Reporting"
             type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
             allowLocation="true"
             allowDefinition="Everywhere"/>
  </configSections>

  <Telerik.Reporting>
    <AssemblyReferences>
      <add name="Name.Of.My.Assembly" version="1.0.0.0" culture="neutral" publicKeyToken="null" />
    </AssemblyReferences>
  </Telerik.Reporting>​

I have verified that both Telerik.Reporting.dll and my own assembly is located in the root folder of my applicattion.

 When I try to load the WPF ReportViewer component I get the following exception

Object reference not set to an instance of an object.

at Telerik.ReportViewer.Wpf.ReportViewerModel.ApplyValuesOnReportSource(ReportSource rs)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.CreateReportSourceSnapshot(ReportSource source)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.CreateHistoryRecord(ReportSource source, Boolean isTemporary)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.LogHistory(ReportSource source, LogHistoryRecord logHistory, Boolean logTemporaryHistoryRecord)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.RefreshReportCore(Boolean reloadParameters, LogHistoryRecord logHistory)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.RefreshReport()
   at Telerik.ReportViewer.Wpf.ReportViewer.Refresh()
   at Telerik.ReportViewer.Wpf.ReportViewer.OnLoaded(Object sender, RoutedEventArgs e)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Stef
Telerik team
 answered on 07 Sep 2015
2 answers
732 views

hi

i am using Telerik Q2 2015 to develop report that needs a column which value is cumulated with another column. e.g.

 

column A                         column B

2                                           2

3                                           5

4                                           9

5                                           14

 

I used RunningValue(scope, sum(column A)) function in column B, it does not work as expected even it returns values, but the values is not cumulated, Anyone can give me some clues? thanks

 

Stef
Telerik team
 answered on 07 Sep 2015
4 answers
917 views
Team,

Does Telerik Reporting have support for local time zones?

For example...
We are using Telerik Reporting and our data for a report includes date time (e.g. date time email was sent), does Telerik Reporting provide the ability to recognize the System.TimeZoneInfo.Local and adjust all date time data accordingly?

Thanks,
Jon 
ajpetersen
Top achievements
Rank 1
 answered on 04 Sep 2015
3 answers
431 views
How do I open Multiple Instances of the Report Designer. I would like to have 2 instances of the report designer open at one time with 2 different reports so that I can copy changes between them. It is not allowing me to do this in Windows 7. Any ideas?
Nasko
Telerik team
 answered on 04 Sep 2015
1 answer
139 views

I need to use Report Designer (standalone) with business objects as data source (Object Data Source).

I have configured the <Telerik.Reporting><AssemblyReferences> section correctly with a .dll. But I can't make it work with a simple .exe which is also a​ valid assembly (I can see the data source class with JustDecompile).

Do I need any special syntax in the <​AssemblyReferences> in order to use them with an executable? Is it possible?

Thanks in advance!

 

Nasko
Telerik team
 answered on 04 Sep 2015
2 answers
134 views

Hi:

Is it possible to create a table containing aggregate function such as mean, sd and variance?

 Basically I have a list of the following data

classID,studentID, subject, mark, date

 1,S00023,Maths,73,2015-03-03

 1,S00024,Maths,68,2015-03-03

 1,S0002​3,English,81,2015-03-05

 1,S00025,English,59,2015-03-05

...​​​

and I would like to create a table:

ClassID | Subject | Number Of Student |average Mark |SD | CV%

1            | Maths   |24                             |65                   |7.3 |2.54

2            | Maths   |18                             |​78                   |​14.3 |6.54

...

As I tried using crosstab without setting column grouping (

putting ClassID, subject as row groups, and

  • count(distinct fields.studentID),
  • avg(fields.mark),
  • stdDevP(fields.mark),
  • varP(fields.mark)

as Detail Values,  but it didn't work.

 Can I ask how it could be done with the designer please?

 Many thanks

 Regards

 William

 

 

William
Top achievements
Rank 1
 answered on 03 Sep 2015
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?