Telerik Forums
Reporting Forum
2 answers
120 views
Hi,

Can I install Telerik Reporting to a Windows 2012 server?

In the Telerik Reporting download page (http://www.telerik.com/products/reporting/download.aspx) only up to Windows 2008 server is mentioned.

Thanks,
Indrajith
Indrajith
Top achievements
Rank 1
 answered on 27 Apr 2014
1 answer
130 views
Hi,
I try add ReportViewer control to the VisualWebPart.ascx
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWebPart1.ascx.cs" Inherits="testRap.VisualWebPart1.VisualWebPart1" %>

<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>


<telerik:ReportViewer ID="ReportViewer1" runat="server"></telerik:ReportViewer>

But when I open project and go to the designer of visual web part, I got message:



"The ReportViewer control failed to setup the http handler in the web.config file. You may experience troubles when viewing the report. Exception details: Object reference not set to an instance of an object."


I added to the C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config

 <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />  
in tags
 <system.webServer> 
    <handlers>

I have IIS 8.0 and Visual Studio 2012.

Best Regards
Pawel
  
Stef
Telerik team
 answered on 25 Apr 2014
3 answers
88 views
I recently upgraded my project to use Q1 2014 from Q3 2012 .  Ever since, I have been unable to use the arrow keys to position items in the report designer.  (I'm using VS2010.)  I really miss this feature!  Is there something I have to do to enable this?

Thanks
Stef
Telerik team
 answered on 25 Apr 2014
2 answers
234 views
Hi,

I am trying to use Telerik.ReportViewer.Wpf for Print Preview functionality in our app. As per the instructions  of "How to: Add report viewer to a WPF application" given at this link: http://www.telerik.com/help/reporting/wpf-report-viewer-embedding-the-viewer.html#BindingRedirects
I did everything and added Telerik.ReportViewer.Wpf.dll ,Telerik.Windows.Controls.dll,Telerik.Windows.Controls.Input.dll,Telerik.Windows.Controls.Navigation.dll and Telerik.Windows.Data.dll references to my project. In my case there is a calling application called EMR.WPF that calls my project which contains ReportViewer and when I try to load my UserControl containing the ReportViewer control I get following exception. Now the strange thing is if I add Telerik dll references to the calling EMR.WPF app then I don't get this exception anymore and the report viewer loads fine. Of course I don't want to add references to the calling app because it's like a third party app that I don't have control over. Any idea whats going on here and how I can fix this? Please need your help soon.

System.Windows.Markup.XamlParseException occurred
  HResult=-2146233087
  Message='Initialization of 'Telerik.ReportViewer.Wpf.ReportViewer' threw an exception.' Line number '11' and line position '72'.
  Source=PresentationFramework
  LineNumber=11
  LinePosition=72
  StackTrace:
       at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
       at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at CPWS.Reporting.PrintPreview.InitializeComponent() in c:\Projects\CardioPerfect\Dev\Continuous\CPWS.Windows\Views\Reporting\PrintPreview.xaml:line 1
       at CPWS.Reporting.PrintPreview..ctor() in c:\Projects\CardioPerfect\Dev\Continuous\CPWS.Windows\Views\Reporting\PrintPreview.xaml.cs:line 26
  InnerException: System.IO.FileNotFoundException
       HResult=-2147024894
       Message=Could not load file or assembly 'Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.
       Source=mscorlib
       FileName=Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7
       FusionLog==== Pre-bind state information ===
LOG: DisplayName = Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7 | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Projects\CardioPerfect\Dev\Continuous\EMR.WPF\bin\Debug\EMR.WPF.vshost.exe.Config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation.DLL.
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation/Telerik.Windows.Controls.Navigation.DLL.
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation.EXE.
LOG: Attempting download of new URL file:///C:/Projects/CardioPerfect/Dev/Continuous/EMR.WPF/bin/Debug/Telerik.Windows.Controls.Navigation/Telerik.Windows.Controls.Navigation.EXE.

       StackTrace:
            at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
            at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
            at System.Windows.Baml2006.Baml2006SchemaContext.ResolveAssembly(BamlAssembly bamlAssembly)
            at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlTypeToType(BamlType bamlType)
            at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId)
            at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16 typeId)
            at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
            at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
            at System.Windows.Baml2006.Baml2006Reader.ReadObject(KeyRecord record)
            at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)
            at System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value, Boolean& canCache)
            at System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object& value, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
            at System.Windows.ResourceDictionary.FetchResource(Object resourceKey, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean canCacheAsThemeResource, Boolean& canCache)
            at System.Windows.SystemResources.LookupResourceInDictionary(ResourceDictionary dictionary, Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
            at System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
            at System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
            at System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
            at System.Windows.FrameworkElement.UpdateThemeStyleProperty()
            at System.Windows.FrameworkElement.OnInitialized(EventArgs e)
            at System.Windows.FrameworkElement.TryFireInitialized()
            at System.Windows.FrameworkElement.EndInit()
            at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)
       InnerException: 

Mandar
Top achievements
Rank 1
 answered on 24 Apr 2014
3 answers
112 views
Not sure if I'm doing this right.  I've been trying out various reporting tools for a pretty big project I'm starting.

I was able to design a report in the designer standalone the way I wanted it.  So now in C# I want to load that report using a parameter for the queries.

I assume I set the reportviewer reportsource property and then create the parameters.  I just can't seem to get it to work.  Says my connection string isn't right though I set that at design time and it works fine in the standalone designer.

Maybe I'm doing this all wrong?
Stef
Telerik team
 answered on 24 Apr 2014
15 answers
1.4K+ views
I'm using the standard font "Bookman Old Style". In my dev machine the report shows OK but in the production server it replaces with Arial, although the font is installed in Windows.

Any ideas? I'm using Asp.net and 2010 Q1.
Thanks!
Stef
Telerik team
 answered on 24 Apr 2014
1 answer
361 views
Hi All,

I have an issue with report quality, Telerik reports is fairly new for me, so I could be missing something obvious. I have an A5 report that has images and text, when it's exported to screen via report viewer it looks fine, however quality goes down (drastically) when exported to PDF or printed to printer. Is there a way to increase quality of exported reports?

Another thing I noticed (and wish to resolve) is the fact that text from textboxes is not output as text within a PDF report (i.e. not selectable). Can this be amended?

Thanks,
Daryl
Stef
Telerik team
 answered on 23 Apr 2014
4 answers
179 views
Hi All,

Does anyone know how NumericalScale.MajorStep works in Graph? I have a Graph with X and Y axis and each axis has a numerical scale with only MajorStep. The width and height of Graph are set to 250mm and 120mm respectively and my requirement is that each axis should always have MajorGridLines at every 5mm. Is there a way I can use MajorStep property for this purpose or is there any other way I can satisfy this requirement?

Thanks,
Mandar
Hinata
Top achievements
Rank 1
 answered on 23 Apr 2014
3 answers
855 views
I have a section of a subreport that I need to force to be a certain height (7.5 inches).  The section contains a Table, which can grow based on the contents.  If the rows do not grow individually, then the section stays 7.5", but if a row grows to fit its contents, it forces the entire section to grow, even though it does not cause the Table to grow beyond 7.5".  Is there a way to set the height of a section AFTER the table is data bound, so that I can force the section to be 7.5", regardless of the height of the Table?
Stef
Telerik team
 answered on 23 Apr 2014
4 answers
269 views
What are the end-user requirements for running the standalone report designer?  

I have the following installed on a new Win 7 machine:
  • .NET Framework 4.0 FULL Profile
  • Microsoft 2010: Primary Interop Assemblies Redistributable

I notice that the designer process runs, but the GUI doesn't draw nor does a window show.  The designer runs fine on my development machine.  What am I missing?

Thanks in advance.
Peter
Telerik team
 answered on 23 Apr 2014
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?