Visual Studio 2012 + Report Viewer 2012 Word Render Margin Problem
Hi all,
I am developing a asp.net web application /w visual studio 2012. I have created some reports with report viwer, and I would like to export those reports to pdf and word format. The pdf output is same as I expected, but the word output is missing
top and bottom margin, it leads we cannot print the header and footer correctly in word, also the repeat header on each page property didn't work too.
Is anyone has the solution for this issue?
Thanks,
hk
Hello,
Welcome to MSDN forum.
Your issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
Because you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
http://forums.asp.net/
for better solution and support.
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.
Similar Messages
-
Report Viewer 2012 Word Render Margin Problem
Hi all,
I am developing a asp.net web application /w visual studio 2012. I have created some reports with report viewer, and I would like to export those reports to pdf and MS Word format. The pdf output is same as I expected, but the word output is
missing top and bottom margin, it leads we cannot print the header and footer correctly in MS Word, also the repeat header on each page property didn't work too.
If I use report builder 3.0 and try to export the reports to pdf and MS Word format, the problem still exists.
Is anyone has the solution for this issue?
I think its related to sql server reporting services, please let me know if I posted at wrong category.
Thanks,
hkHi hkcheung,
According to your description, you have issues when exporting the report into Microsoft Word file. The margin of header and footer can't be displayed. And the RepeatOnNewPage property is not working. Right?
In Reporting Services, when we export the report into Word file, it will ignore page header and footer height settings. Also Word does not repeat header rows on page two and greater, although you set the
RepeatOnNewPage property of the static header row in a tablix (table, matrix, or list) to
True. For more information, please see the limitations in the link below:
Exporting to Microsoft Word (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Crystal Reports Visual Studio 2010 Report Viewer Not Rendering
Hello,
I was able to get Crystal Reports deployed in a web application in VS 2008 OK, but now I am having trouble with CR and VS 2010. For some reason the data and images for the report are being displayed, but the report viewer controls and background are not. I am not getting red Xs, the viewer is just not there. I have tried changing my references, I have installed the CR run time, and all permissions are correct. I am trying to get this up and running on the local machine. Has anyone dealt with this problem before?
thanks.See if [this|Report Viewer not displaying on deployment server; thread helps.
- Ludek -
Unable to install Report Viewer 2012
As part of the SCOM console install I need to install Report Viewer 2012. To install Report Viewer 2012 I need to have Microsoft System CLR Types for SQL Server 2012.
I have installed all versions of CLR Types for SQL Server 2012 that I can find. But I still am not able to install Report Viewer 2012. It errors out when checking for CLR Types for SQL Server 2012.
I have tried every variation of report viewer (2008,2010,20120) and CLR Types for SQL Server (32bit/64bit). I am just not able to install report viewer so I can install the SCOM console.Go to the link below
http://www.microsoft.com/en-us/download/details.aspx?id=35580
and then select SQLSysClrTypes. You don't need all the files.
Did this multiple times with the same result. After installing the ClrTypes the Report Viewer still indicates that it is failing that requirement. -
SCOM 2012: Report Viewer / SQL Server 2012 CLR??
Hello,
I am trying to install an Operations Console to a Management Server and it request
1. Report Viewer
Then I tried to install Report Viewer then it requests:
Microsoft System CLR Types for SQL Server 2012
These are ne for SCOM 2012?
I check the MS in SCOM 2007 R2 there is no SQL module installed...
Any clue?
How to install this report viewer is it included in another product? Should I use SQL ?
I don't have any SQL module on this management server
Thanks,
Dom
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity ManagerHi,
I hope this can help you:
http://thoughtsonopsmgr.blogspot.dk/2013/10/upgrading-to-scom-2012-r2-rtm-report.html
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Visual Studio - Crystal Report: Abnormal Behavior from Crystal Report with Charts
Hi,
I'm using Crystal Report 13 under visual studio 2012 where i build a report that contain pie chart and bar Chart in two different sections in the report header the report get the data from a DataTable.When i display the report in Crystal Report Viewer it is fine and as expected but when printing the report i get the first chart overriding the second chart: here the right report as displayed in CRV:
And here the wrong print out where the pie chart is duplicate and override the bar chart:
I inserted both charts in two sections in Report header and they get the data from the same DataTable. the pie chart: On change of: Discipline show values SumTotals and the Bar Chart On Change of Disciplie show values SumTotals and SumCompleted. I need your help to prevent Pie chart form overriding the bar chart by duplicating itself
Thanks in advance.Hi Hussein
I moved your post to the SAP Crystal Reports, version for Visual Studio
SCN Space.
First I'd like to make sure you are using Service Pack 8 for CRVS:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
(Note SP 9 should be releasing in a few days - if yo want to wait).
Next, what happens if as a test, you export the report to an rpt file format and then view it in the designer without refreshing?
Is this a web or a win app?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Hey Guys,
I'm a web developer (front end and back end, kind of a one man army sort of deal) and my current employer wishes to use crystal reports to display the results of the online survey apps/tools I have been working on for the last few months. However, I have been having trouble getting the reports to render in browser, and a lot of the ui components of the browser based report viewer (the interactive parameters and group tree) will not render properly in the design view of visual studio (ive attached a screen cap of what I'm talking about) or in the browser itself.
I am new to crystal reports and its community and if I am leaving out any critical details or have posted in the incorrect section please inform me and I will make changes as necessary.
Additional info:
Visual studio version: 2013 professional (trial)
Plugin version (exe file name): CRforVS_13_0_9.exe (I also installed the 64 bit run-time from this)
Server and OS versions: IIS 7.5 on Microsoft Windows Server 2008 R2
Any help you guys could provide would be greatly appreciated.
Cheers,
-MikeHi Mike
First thing you want to do is uninstall CRVS SP 9 and install CRVS SP 10. SP 10 is the first SP to support VS 2013.
Once that is done, let us know if that helped any.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Group Tree issue when refreshing- Crystal for Visual Studio 2010 WPF Viewer
Hello,
We've run into an issue when refreshing reports with the WPF viewer for Visual Studio 2010. After the report is refreshed, the Group Tree is blank and it should have values. For example, you run a report and see values in the Group Tree. If you refresh the report with the same parameter values the Group Tree is blank.
Has anyone run into this yet?
Thanks,
TylerThat is correct.
I just did a quick test and was not able to reproduce the issue.
Details of test:
1) Create a new app;
File | New | Project
Visual Basic | reporting -> Crystal Reports WPF Application
2) Add the "Open File" button to the viewer (ShowOpenFileButton off of the WPF viewer properties)
3) Run app
4) Browse to a report that has a number of groups >250
5) Refresh report using the Refresh button on the viewer
I'll work on this a bit later today, see if I can repro it another way. Meanwhile, can you provide mode details (code) on how you repro the issue?
- Ludek -
Visual Studio shows report as Hex
Hi,
I have uninstalled cystal reports X11 and trying to run crystal reports basic for visual studio 2008 on one machine, and when I click on a report instead of bring up the report in designer mode it is showing it as hex. I have tried reinstalling CR with no avail.
Is there a commandline to repair this ?Removed the following
Crystal Reports Basic for Visual Studio 2008
Microsoft Visual Studio 2008 Proffessional Edition
Microsoft .Net Compact Framework 2.0 SP2
Microsoft .Net Compact Framework 3.5
Microsoft Framework 3.5
Microsoft Windows SDK for Visual studio 2008 .Net Framework
Microsoft Windows SDK for Visual studio 2008 .Net Headers and Footers
Microsoft Windows SDK for Visual studio 2008 .Net SDK Ref
Microsoft Windows SDK for Visual studio 2008 .Net Tools
Microsoft Windows SDK for Visual studio 2008 .Net Win32 Tools
Then reinstalling.
Still no good,
CR V11.5 as left over references everywhere, removed files from the disk and registry and retried the above.
Still no good.
Visual studio should be looking for "Crystal Report Editor" 10.5 but I believe it can't find it.
I have seen other people posting this question, is there anything else I can try ? -
SSRS Report Viewer 2012 Cancel Link on loading spinner not stopping SQL Query
Hi
I searched the forum for this one and didn't find anything germane, so here goes.
In SSRS 2012 when running a report interactively if you hit cancel it basically does nothing but stop the spinner and prevent the request from completing.
I'd like to kill the SQL Query (dataset refresh) when the Cancel link is pressed.
I recall seeing on article somewhere about doing a callback and calling some other method on the web service to kill the query, but I can't find it now.
Any help is much appreciated!
ThanksHi James,
In SQL Server Reporting Services, a job will be created by SQL Server Agent if any of the following processes is underway:
query execution on a remote or local database server
report processing
report rendering
To cancel a job that is running on the report server, we can cancel the job directly or reduce the report execution time-out value in the SQL Server Management Studio. Please refer to the steps below:
Open SQL Server Management Studio, and connect to "Reporting Services".
Under the Report Server node, right-click on the "Jobs" folder and select "Refresh". Then, right-click on "Jobs" again and click "Cancel All Jobs".
Right-click on the Report Server node and open the "Server Properties" dialog.
Click the "Execution" option, and set the "Limit report execution to the following number of seconds:" to a much smaller number. After this issue is resolved, this configuration should revert to the previous state.
Reference:
Managing a Running Process
Setting Time-out Values for Report and Shared Dataset Processing
In addition, we can also use the KILL Transact-SQL statement to terminate a normal connection by terminating the transactions that are associated with the specified session ID. For the details information, you can refer to:
KILL (Transact-SQL)
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
SCCM 2012 Reports: Viewing SQL Code
Hi
Is there a way to view the SQL code of the template reports .i.e. Software 06A - Search for installed software?
Regards
Ivanhow to download the .rdl:
Go to http://YOURConfigMgrServerNamethatHastheSRSRole/reports
Browse to the folder containing the report.
When you are looking at the report title, withOUT clicking on the report, when you hover over the report name, notice how there is a downward triangle on the right? Move your mouse over that, and pull that down. One of the choices listed is "Download..."
Click on that, and save the report's RDL to a location you'll remember.
Go to that location after saving, and you can open up that .rdl file using Notepad. A lot of the report will be for formatting, colors, etc; but if you search for the word "Select", you'll find at last one; possibly more if there are parameters
in that report. One of the locations for Select... something will be the main report code.
Standardize. Simplify. Automate. -
Report Viewer 2012 and IE11 Height
I have a reportviewer control (local report) in a .ASPX page. When I test this page on IE11 the browser is ignoring the height that I give the control. I'm not trying to make the height of the report 100% or anything, I'm setting it to a
static value of 500px.
In all other browsers, including IE10, it works as expected (the report is 500px in height and I see a scollbar on the right). In IE11, it's as if I didn't set the height at all.
I've placed this report into a blank .ASPX page (to eliminate the possibility of some conflicting CSS from my master page). I've tried changing the values for AsynchRendering and SizeToReportContent as suggested but it does not help. I'm running
the latest version of the reportviewer distributable. Has anyone else had this issue?
FYI, If I use the IE Developer tools I can find a deeply nested DIV (inside of the DIV that has my 500px height) whose height is set to 100%. If I change that manually (using the dev tools) it makes the report behave as expected. I
could override the height of that div using CSS but the div's name (generated by the reportviewer control) is generated dynamically and this solution would fail eventually.
UPDATE
Viewing the page in Compatibility View fixes the height issue, but is not a viable solution for the site in which the control needs to reside.Hello, do you have find a fix because I've the same problem for my users
We had upgrated from IE9 to IE11 and we are problems with scroll..... -
Problem installing REPORT VIEWER 2012 RUNTIME missing CLR Types
Hello,
I have a win.forms application part of functionality of which is to show rdlc report. When I try to launch the application it says that ReportViewer assembly is missing, which was expected. When I downloaded and try to install viewer runtime from here:
http://www.microsoft.com/en-us/download/details.aspx?id=35747
I receive that Microsoft SQL Server System CLR Types are not installed and must be installed first. I downloaded appropriate installation from http://www.microsoft.com/en-us/download/details.aspx?id=29065 and it installed successfully. But when
I try to run viewer runtime installation it still says that Microsoft SQL Server System CLR Types are not installed.
What do I miss?Hi Pvitaliy,
Have you tried Sebastian's suggestion to install the proper version of dacframework.msi package and tsqllanguageservice.msi package? If it doesn't work, the issue might be caused by that the .NET Framework is corrupted or not installed properly. You
can refer to the following blog to check the .NET Framework state by using the .NET Framework Setup Verification Tool:
.NET Framework Setup Verification Tool User's Guide
If possible, I suggest that you remove the .NET Framework and reinstall NET Framework 3.5 SP1 or .NET Framework 4.0.
Hope this helps.
Regards,
Mike Yin
TechNet Community Support -
Hi,
I have ultimate VS 2012. Following direction here, http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
I installed this, http://www.microsoft.com/en-us/download/details.aspx?id=38807
Now all my infopath form when I click on Code Editor or On-load-Event.... the all give me error saying "infopath has encountered an error. The operation failed"
What is going on? How can I fix this?
p.s. I'm using C# as the language choice
thank you.I suspect you're running into a similar issue: http://www.sbrickey.com/Tech/Blog/Post/Office_2013_InfoPath_2010_Forms
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
Visual Studio 2013. Viewing a PDF file via the Web Browser control in Windows 8.1
I am writing a Windows Forms application in which I need to view PDF files via the Web Browser control. When the control is given the Navigate() command, Windows takes over and asks which program I want to open the file with. All was fine with VS 2010 and
XP. I have un-installed "PDF Complete", which was the default PDF viewer, but I now get asked for an alternative.
Thanks in advance.
Mike SaundersHi Mike,
It seems that we could use Internet Explorer to open a local .PDF file if it has the Adobe Reader. I doubt that the web control would be related to it. Like the MVP's suggset in the following thread, maybe it would be related
to certain plug-in tools in your side like the adober reader.
Reference:
https://social.msdn.microsoft.com/Forums/en-US/a717117e-41ae-4775-9c28-d5a1042b396e/pdf-is-not-opening-in-web-browser-control-in-vbnet?forum=vbgeneral
Best Regards,
Jack
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.
Maybe you are looking for
-
Syncing movies from macbook pro to Ipad 4
I am not able to transfer/sync home movies from my Macbook Pro to my Ipad 4 movies folder, can anyone help? 1. Movies have been converted to either .mv4 .or mp4
-
Error in Activating Business Content in SPP
When we tried to Activate the business content for SAP SPP(using RSA1), We received the ABAP runtime error - OBJECTS_OBJREF_NOT_ASSIGNED. The error message is as follows. Error in the ABAP Application Program
-
Help - where have my photos gone ?
Loaded Iphoto 11 and now I can't view some of my photos.. They show in the preview but when I click onto them I just get a black screen with a silver exclaimation mark on it - whats going on ? thanks
-
i have forgot my restrictions passcode and dont know what to do to restore my factory settings?
-
hey i have these music videos on my itunes but when i sync my ipod (80gb plays music, videos and photo slideshow)it says that the ipod doesnt support that type of format? can someone plz help me????