Report Viewer 2010 Column chart Side Margin

Hi,
In Report Viewer 2010 Column chart, there is a side margin between x-axis and first column. There is only option to Enable or Disable it but i would like to have this with some small width or custom value.
How can i reduce side margin in Report Viewer 2010 Column chart?
Regards,
RajeshPuniya

Hi RajeshPuniya,
In Reporting Service, we can only enable or disable the side margins on the X-Axis of the chart. There is no such feature support us to customize the width of the side margin.
Personally, I understand your feeling and how frustrated when you find this issue. So, it is my pleasure to help you to reflect your recommendation to the proper department for their consideration. Please feel free to submit your situation on our product
to the following link:
https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
Thank you for your understanding.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Report viewer 2010 show blank page (with params loaded)

    Hi, 
    I have an infrastructure RS with a web server with an ASP.NET application with Report Viewer and a second server with an installation of RS 2008 R2. 
    My web application (ASP.NET in C #) uses the ReportViewer 2010 component to show the report. 
    I use windows authentication and log onto the Web Service on Report Server with a M2M user on the RS server. 
    The trouble is that the rendering of the report fails and the body of the report remains WHITE. However the .aspx page is displayed without errors and control report viewer loads the parameters even if you can not select. 
    Report manager render correctly reports  also from the web server. 
    The same solution work fine if deployed on Single Server. 
    The machines are under firewall. The Report Server service run on 80 port.  It should open more doors between the two servers? 
    Can anyone help? Thank You. 
    I have an
    infrastructure RS with
    a web server and
    another server with
    an installation of RS 2008
    R2.
    I have an
    infrastructure RS with
    a web server and
    another server with
    an installation of RS 2008
    R2.

    Hi theorangejuice,
    According to your description, you configure a ReportViewer control in remote mode to display a published report. When running the application, report displays blank and parameters can’t be selected.
    As we tested in our environment, report can display correctly when using ReportViewer control in remote mode, and parameters also can be selected. In your scenario, please make sure the report can display correctly on remote report server. And try to click
    refresh button on application to check if report can display correctly. Regarding our test results, please refer to steps below:
    1. Add port 1433 and 80 under windows firewall on remote server.
    2. Create a new windows application project, then add a ReportViewer control to the application.
    3. Configure the ReportViewer control for remote processing.
    4. Build and run the application.
    Reference:
    Walkthrough: Using the ReportViewer Control in Remote Mode
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Creating Custom Theme for Power View Clustered columns chart

    Helllo...
    Is it possible to create custom theme for displaying clustered columns chart on Power View?
    Basically I am looking to create chart with specific colors for the bars? For e.g. for High - RED, Medium - Orange and Low - Yellow color. When I look at themes available in Excel 2013 I don't see this combination as such, so I was looking to create one
    myself. 
    I tried to create a theme using video on youtube, but the theme which I created is not showing up in Power View mode in excel 2013.
    www.youtube.com/watch?v=xs2F1n2-YR8

    Hi Sagar,
    In Power View, it has several default theme colors for us to apply to our workbook. Also, we can change the Font, Text Size and Background of the chart. However, it is not support to design a custom theme color.
    You can refer to the following steps to change the theme colors:
    1. On the POWER VIEW tab, in the Themes group, click Themes.
    2. Under Built-in, click the theme that you want to use.
    Please refer to the following screenshot below:
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • CRVS2010 Beta - Crystal Report Viewer 2010

    Hi,
    I'm using Crystal report 2010 with VS 2010, and i have 2 web projects, the first is the one that my organization works with and the second is a dummy one - this is for test only -, my problem is when dealing with charts or pictures, every thing OK in the second project, but in the first one charts and pictures are displayed very will in crystal report designer, and preview, but nothing is displayed at run time. the environment of the 2 projects are identical (the same referenced DLLs, and from the same location "Local Folder", the same binding method "Objects", the same registered  and add "Keys, and Assemblies" in the web.config).
    please, does any body has an idea where is the mistaken part, or where I'm i suppose to search about the malfunctioning configuration, or ...... etc.
    Thanks a lot.
    Modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Aug 5, 2010 8:45 AM

    hi guys
    i was comparing the source code of 2 web pages one from each project - the working and malfunction one -, this led me to check Temp folders, and what i found was so strange
    first of all, "full control" permission is granted for all possible users, Guest, Anonymous, IIS, and ASPnet user on Temp Folders.
    the strange part is as following,
    of course there 2 temporary folders for the 2 apps, the one of the working app did not contain any kind of files, on the other hand the one belongs to the malfunction app contain 2 .png files one for the chart, and another one for the picture, in addition, chart image is the same as the one displayed in the preview mode in design time, i mean that the created chart image did not respect report source data - the created one is of a vertical line, but according to supplied date the line should be horizontal, and i insure that data was supplied (from debugging, there are 246 object in the supplied object list, on the other hand if no data was supplied, this should not affect picture display)  -, in despite of that nothing is displayed at run time but the red "X" mark.
    so I'm wondering, why nothing is displayed in despite of the creation of temp pictures?, and also how the working app displays the correct chart & picture in despite of creation of no templates?
    another question, in many forums, and also in the page source there are a mention of "aspnet_client/system_web/2_0_50727/crystalreportviewers14" folder and its existence in the app root, while this folders exists only in the wwwroot folder , and no physical existence for that folder in any of the 2 apps root, specially that I'm running my apps from the Visual Studio Development Server, not from the IIS, so, where can i find this folder, to grant appropriate permissions on it .
    i wanted also to inform Don that both apps and their class library projects target complete 3.5 .Net Framework, and also not the client one.
    now, I'm in doubt about the creation of a project before and after crystal report 4 visual studio 2010 installation, so I'm about to establish a new web app, and copy all of the malfunction one to avoid this problem, but i hope to know the cause of this problem.
    Thanks a lot

  • Report Viewer Configuration Error

    Hi,
    I manage a TFS 2010 Server that makes heavy use of Reporting Services, and I have a user that reported the following error
    when attempting to open a report in the Microsoft Visual Studio Report Viewer:
    Report Viewer Configuration Error
    The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Resevred.ReportViewerWebControl.xsd" type = "Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer,
    Version=10.0.0.0, Culture=neutral, PublicKeyToken=################" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*"
    path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, ReportingServicesWebServer, Version=10.0.0.0, Culture=neutral, PublicKeyToken=################" /> to the system.webServer/handlers section for
    Internet Information Services 7 or later.
    Has anyone seen this error before, or have any advice on finding a solution?
    Thank you.

    Hi HealthServices3300,
    You can try to install "Microsoft Report Viewer 2010 Redistributable Package" on your server to check if it works for you.
    For the web.config info, it's for web application. And I'd like to know how did you create the report, and whether the report is for a web app or reporting service. From the error message and report, seems it's not a TFS issue. If it's SSRS project
    issue, please post this issue to
    this forum. If it's a report viewer control issue, you can post this issue in
    this forum for a professional response. After that, please update this thread with the new thread link. Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Report Viewer error on export PDF or Excel from Azure Web Sites

    Hi,
    When I try to export any RDLC report on PDF or Excel I obtain the error:
    [ArgumentException: Parameter is not valid.]
       System.Drawing.Graphics.GetHdc() +1153145
       Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +75
    I Try with Microsoft.ReportViewer.WebForms.dll version 10.0.40219.329 (Report Viewer 2010) and with version 11.0.40219.329. (Report Viewer 2012).
    The same code works on premises server or on "Azure Cloud Service" Web Instance.
    Any help would be highly appreciated.
    Thanks.
    LQ

    Hello
    I am also getting this error when trying to render a PDF report.
    Call stack pasted below.
    Thanks
    David
    Parameter is not valid.
    Description:
    An unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the error and
    where it originated in the code.
    Exception Details:
    System.ArgumentException: Parameter is not valid.
    Source
    Error:
    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.
    Stack Trace:
    [ArgumentException: Parameter is not valid.]
    System.Drawing.Graphics.GetHdc() +1153145
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +63
    Microsoft.ReportingServices.Rendering.RichText.TextBox.MeasureFullHeight(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Single& contentHeight) +489
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +386
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +704
    Microsoft.ReportingServices.Rendering.HPBProcessing.RowInfo.CalculateVerticalLastDetailCell(PageContext context, Boolean firstTouch, Boolean delayCalc) +419
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateDetailCell(Tablix tablix, TablixMember colMemberParent, Int32 colGridIndex, RowInfo rowInfo, PageContext pageContext) +826
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.TraverseColumnMembers(Tablix tablix, TablixMember colMemberParent, Int32 parentColIndex, RowInfo currRowInfo, Boolean create, Double startInTablix, Double endInTablix, Int32& detailCellIndex, Int32& visibleSpan, List`1 detailCellsState, PageContext pageContext) +108
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.TraverseColumnMembers(Tablix tablix, TablixMember colMemberParent, Int32 parentColIndex, RowInfo currRowInfo, Boolean create, Double startInTablix, Double endInTablix, Int32& detailCellIndex, Int32& visibleSpan, List`1 detailCellsState, PageContext pageContext) +862
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateDetailRow(Tablix tablix, TablixMember rowMemberParent, Int32 parentRowIndex, Int32 parentColIndex, PageContext pageContext) +292
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +139
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +3529
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixRows(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, List`1& pageStructMemberCell, Boolean ignoreTotals, Boolean& finishLevel, Boolean parentHasFooters, CreateItemsContext createItems, Double startInTablix, Double endInTablix, PageContext pageContext) +3034
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixItems(Tablix tablix, PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix) +113
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateVertically(PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix, Double topInParentSystem) +290
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +636
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +704
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineContentVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Boolean resolveState, Boolean resolveItem) +281
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +145
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +704
    Microsoft.ReportingServices.Rendering.HPBProcessing.Report.NextPage(RPLWriter rplWriter, Int32 page, Int32 totalPages) +833
    Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.NextPage() +54
    Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.Init(Report report, PaginationSettings pagination, CreateAndRegisterStream createAndRegisterStream, Hashtable& renderProperties) +356
    Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing..ctor(Report report, PaginationSettings pagination, CreateAndRegisterStream createAndRegisterStream, Hashtable& renderProperties) +35
    Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream) +110
    Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) +67
    [LocalProcessingException: An error occurred during local report processing.]
    Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings) +346
    Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings) +147
    Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings) +31

  • Crystal reports and crystal report viewer

    Hi.
    I have up to recently used crystal report version 11.5 and reports have been made available for users in the organisation via Crystal report viewer.2010 ver 11.2.1.3.
    The reports have been saved without data, and the different parameters have been available for the users for them to select approriate dataset,.
    I have now upgraded Crystal reports to version 2013 ver 14.1 and crystal report viewer to same version.
    The problem now is that the parameters are no longer available for the users, and it is also a requirement to save the reports incl a dataset to even open the report in the new report viewer.
    What have I missed? Anyone that can help me ?
    brgds Torunn

    Hi Torunn
    An alternative may be to create a web app using either the Crystal Reports .NET or Java SDK. Depending on what development software you already have, this may be cheaper than CR Server or "BO server". E.g.; both the .NET SDK and the Java SDK are free:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    The above would be predicated on the assumption  that your org has some developer experience (or is willing to acquire it) and that you have the development software (e.g.; VS 2010, or 2012, or 2013 for the CR SDK for .NET).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Using Column Chart (Need Flexibility)

    Dear Gurus:
    I am using Column chart in SAP Dashboard. I am having 4 series. Issue is when using series the columns merge with each other while if we use it by range there is margin between columns. My question is it possible to use column chart showing margin between columns using with series? Kindly see the attached pics. The issue with using range is I want to have different colors for my series.
    Regards
    Jawad

    Another trick using alerter (works when number of labels in x-axis is fixed):
    Excel Model:
    Chart:

  • Need help to develop report with column chart

    Hi
    I am new to SAP BO world.Could  anyone please help me to design report with column chart.Please guide me how to develop report for the following requirement.I am not aware of variance columns and variance labels.Please provide some guidance or some tutorials(for column Chart) so that I can complete the task. Please reply me as soon as possible.Waiting for reply.Thanks in advance.
    Type: Column Chart
    u2022     Rows: Banking Asset Margin (%)
    u2022     Start / End Columns: PY YTD Act(Prior year year to date); CY YTD Act(Current year Year to date)
    u2022     Variance Columns: # Var (CY-PY Act) for GOLM; Volume; Rate; Non Banking NII; Banking Volatility in NII; Banking Volatility in OOI; Fees/One Offs/Other; Volatile Items; Sophie
    u2022     Sub-total columns: PY YTD Underlying; CY YTD Underlying.
    u2022     Variance Labels: % Var (CY-PY Act) for Total Income and Underlying Income
    u2022     Sub-Total Labels: # Var (CY-PY Act) for Net Insurance Income; Banking Volatility; Other Operating Income
    Additional information
    u2022     Variance columns (bar) colours: Red = Adverse to Prior Year; Green = Favourable to Prior Year
    u2022     Columns to show values. Adverse values to be shown in red text in brackets. Favourable results in black text.
    u2022     All values in Black, but adverse to be shown below the bar.

    Hi,
    This type of question is almost impossible to answer over a forum .
    You need to work with your business to understand what these requirements mean in terms of data modelling and relationships between object entities.
    - Some of these metrics should be delegated to source, and calculated in the update routines to your datatargets (aka Cubes/Tables)
    - Others could be resolved in the semantic layer (Universe)
    - Other will be calculated in the presentation layer as local formulae or variables.
    whilst BusinessObjects is a fairly intuitive tool, it may be unreasonble to expect a new learner to deliver an advanced report with conditional formatting.
    Regards,
    H

  • Sharepoint 2010 Report viewer Parameters disappear after selected

    Hi,
    I have Sharepoint 2010 installed and pointing to a different SQL Server 2012 in Sharepoint integrated mode. 
    In Sharepoint if I create a new report using report builder or if I add one from reporting services server, when I execute it, it shows the parameters on the right side. When I open the list the values are ok, then if I select one of them the page do a postback
    and the selected parameter value disappears and I can never run the report because if I hit Apply it gives an error saying that the parameter is not set.
    If I change the report and set default value for each parameter it works well. I can change the parameters and they work great, but I don't want to set the default values and let the user choose them.
    Sharepoint server is SQL Server 2012 version 11.0.3368.0
    Reporting server is SQL Server 2012 11.0.3000.0
    Can anybody help me with this issue?
    Thanks
    Carlos Pereira

    Hi  Carlos,
    As per your query.. ensure your web.config has debug="false".
    Still see your SP2 has been installed or not because you using SQL Server 2012 and SharePoint Server 2010.
    FIXING your Reporting Service's Issues
    Detail and step by step of passing multiple filter parameters to custom report viewer web part
    Thanks
    Indul Hassan

  • Placing table and chart side by side in report designer

    Dear Expert,
                     In report designer how do I place table and chart side by side? I mean table in the left hand side and chart in the right hand side.
    Thanks and Regards,
    Rajib

    Hi,
    create two reports in WAD
    table reports - assign DP_1 with query X
    chart - assign DP_1 with query X
    go to Report designer and create table with two columns.
    add your chart and table
    thanks
    Edited by: Bhat Vaidya on Oct 15, 2008 2:15 PM

  • Crystal Report Viewer integration with Sharepoint 2010

    We had a requirement in our project to view crystal report off an hyper link embedded into sharepoint web part developed using ASP .NET. The report accepted few parameters from the sharepoint page and passed those on to the SQL server to retrive data and
    display the data in the report. The challenge was to open the report in the web browser.
    The first difficulty was to find the right control to use, the report viewer tool that comes with Visual Studio 2010 is not the right one to use to view Crystal reports, I realised this after spending half a day trying to figure out why wouldn't the report
    load. I then downloaded the Crystal Report Viewer for VS 2010 Standard from http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp. After you install this, you get the crystal report viewer in your toolbar. All you have to do is drag and drop it on
    to the web part and configure it to use your report. If any one needs help with this let me know I will show how to do that.
    So far so good. The biggest challenge was to deploy this on to the production server which took better part of 3 days to figure out how its done. If you deploy the WSP file as it is expecting that the crystal DLLs would be embedded in it then be ready to
    expect a rude shock because it isn't. Here are the steps -
    1. Deploy the WSP to the sharepoint server
    2. Install the crystal dlls used in the project (CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.ReportSource.dll, CrystalDecisions.Shared.dll, CrystalDecisions.Web.dll) into the GAC using GacUtil command
    3. Add following entries to Web.Config file (C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.congif)
        <SafeControl Assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.CrystalReports.Engine" TypeName="*" Safe="True" SafeAgainstScript="False"
    />
          <SafeControl Assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.ReportSource" TypeName="*" Safe="True" SafeAgainstScript="False" />
          <SafeControl Assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Shared" TypeName="*" Safe="True" SafeAgainstScript="False" />
          <SafeControl Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TypeName="*" Safe="True" SafeAgainstScript="False" />
    4. Install crystal redistributable package which can be downloaded from http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp (
    SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit))
    5. Copy aspnet_client folder from C:\>inetpub\wwwroot and overwrite it on C:\>inetpub\wwwroot\wss\VirtualDirectories\80
    And we are done. Fingers crossed it should all work.
    Prasad Matkar MCP, MCTS

    Hi Mahesh,
    How are you loading the report in your webpart? This is what I have done. I have tried to explain what I am doing in the program comments. Hope this helps. Good luck.
                    SPSite mySite = new SPSite(SPContext.Current.Site.Url.ToString());
                    SPWeb thisSite = mySite.OpenWeb();
                    // Writing to event log after every step in debug mode so that you get to know if there was a failure what step the failure occured after.
                    EventLog.WriteEntry("Reports", "Inside PAge Load ", EventLogEntryType.Error);
                    SPFolder folder = thisSite.GetFolder("Reports");
                    if (folder.Exists)
                        // get collection of Crystal Reports rpt files in the document library
                        SPFileCollection files = folder.Files;
                        // open the rpt file and get the contents
                        SPFile srcfile = files[reportToLaunch];
                        byte[] content = srcfile.OpenBinary();
                        // make a temporary folder
                        DirectoryInfo dir2 = new DirectoryInfo("~/temp");
                        if (!dir2.Exists)
                            dir2.Create();
                        if (File.Exists("~/temp/temp.rpt"))
                            File.Delete("~/temp/temp.rpt");
                        // write the report definition to a temporary file
                        // EventLog.WriteEntry("Reports", "Before Creating temp report ", EventLogEntryType.Error);
                        //EventLog.WriteEntry("Reports", "Before Create ", EventLogEntryType.Error);
                        BinaryWriter bw =
                          new BinaryWriter(File.Open("~/temp/temp.rpt", FileMode.Create));
                        bw.Write(content);
                        bw.Close();
                      //  EventLog.WriteEntry("Reports", "After Create ", EventLogEntryType.Error);
                        // set up the crystal report
                        ReportDocument reportDoc = new ReportDocument();
                        reportDoc.Load("~/temp/temp.rpt");
                        EventLog.WriteEntry("Reports", "after report load ", EventLogEntryType.Error);
                        ConnectionInfo connection = new ConnectionInfo();
                        connection.ServerName = "SQLServerName";
                        connection.DatabaseName = "SQLDatabase";
                        connection.UserID = "sqluser";
                        connection.Password = "sqlpassword";
                        TableLogOnInfo logon = new TableLogOnInfo();
                        logon.ConnectionInfo = connection;
                        reportDoc.SetParameterValue("@Parameter1", parameter1);
                        reportDoc.SetParameterValue("@Parameter2", parameter2);                                               
                        EventLog.WriteEntry("Reports", "after assigning parameters ", EventLogEntryType.Error);
                       foreach (CrystalDecisions.CrystalReports.Engine.Table t in reportDoc.Database.Tables)
                            t.ApplyLogOnInfo(logon);
                        EventLog.WriteEntry("Reports", "after applying login info ", EventLogEntryType.Error);
                        // and the Crystal report Viewer                                    
                        CrystalReportViewer1.ReportSource = reportDoc;
                        EventLog.WriteEntry("Reports", "Before delete ", EventLogEntryType.Error);
                        // clean up
                        File.Delete("~/temp/temp.rpt");
                        EventLog.WriteEntry("Reports", "after delete ", EventLogEntryType.Error);
    Prasad Matkar MCP, MCTS

  • Sharepoint 2010 SSRS Report Viewer Print button not doing anything

    We are having trouble printing reports from report viewer integrated in SharePoint 2010. On IE 11 compatible mode clicking print button does nothing.

    Hi,
    Please test the issue on different browsers and client PCs.
    Did you find any related error message in ULS log or event log?
    If you are recieving the error “Unable to load client print control”, please refer to the link below and see if it can be help:
    http://blogs.msdn.com/b/mariae/archive/2010/04/13/error-unable-to-load-client-print-control-when-printing-reports-in-reporting-services-summary-of-all-possible-causes-at-april-2010.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • [Forum FAQ] How do I add an average line to series group on SQL Server Reporting Services column chart?

    Introduction
    In SQL Server Reporting Service (SSRS), you may need an average value on column chart.
    For the above chart, add an average score line to the chart, you can get which student’s score is larger than average score, and which student’s score is less than average score clearly. This document demonstrates how to add an average line to series groups
    on SSRS column chart.
    Solution
    To achieve this requirement, you can add another values to the chart, change the chart type to line chart. Set the value to average value of the series group and set the line to show only once by using expression. Please refer to the link below to see the
    detail steps.
    Click the chart to display the Chart Data pane.
    Add Score field to the Values area.
    Right-click the new inserted Score1 and select Change Chart Type. And then change chart type to line chart in the Select Chart Type window.
    Change the Category Group name to Subject. Here are the screenshot for you reference.
    Right-click the new inserted Score1 and select Series Properties.
    Click the expression button on the right of Value field textbox, type the expression below:
    =Avg(Fields!Score.Value,"Subject"))
    Click Visibility in the left pane, select “Show or hide based on an expression”, and type in the expression below:
    =IIF(Fields!Name.Value="Rancy",FALSE,TRUE)
    Name in the expression is one of the Students. Then only one line chart is be displayed by using this expression.
    Click Legend in the left pane, type Average_Score to the Custom legend text box.
    The report looks like below:
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • CRVS2010 Beta - Report Viewer Errors for Crystal Reports in VS 2010

    I have a project that was written in VS 2008 targeting the 3.5 framework which contains a ton of Crystal Reports.  I recieved my new license for VS 2010 and did the install along with the Crystal Reports for Visual Studio 2010 Beta 2.  I converted my project over successfully.  I am able to open up the reports on their own.  When I try to save them they want to be converted to the new format.  This also works fine.  My problem is the Crystal Reports Viewer.  I am not able to add any reports to the viewer without receiving error messages.  I have tried using the 10.5 and the latest version of the viewer, but receive errors everytime that I try to add a report to it.  I always recevie the following error:
    "Error invoking 'Choose a Crystal Report...'. Details: Invalid Report Source"
    I have also tried just creating a brand new report from the Crystal Report Viewer Tasks window.  When I do that I get this error:
    "Unable to find the report in the manifest resources. Please buld the project, and try again."  "Error invoking 'Create a New Crystal Report...'. Details: Unable to find the report in the mnifest resources. Please build the project, and try again."
    I have tried changed the framework target to 4.0, but this has not helped.  I have tried using the 14.0 versions of the references and the 10.5 versions.  I have searched all over the internet for a resolution, but can't seem to find one.  Any help would be greatly appreciated.

    I am having the same problem. You say make sure all of my assemblies are version 14. Three questions:
    1. Now that I have removed all of the old Crystal assemblies from my project, what are the assemblies that I need to add back?
    2. My VS 2010 "add references" popup shows me many crystal assembles (Crystal XI is also installed) which ones to I need to install now?
    3. If I don't know what they are, or where to find them, how do I determine their version?
    You solution reminds me of the old saying "If I had ham, I could make ham and eggs. If I had eggs!"
    More information please,
    J Rich
    Edited by: JosephRich on Nov 6, 2010 5:36 PM
    Edited by: JosephRich on Nov 6, 2010 5:39 PM

Maybe you are looking for