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,
hk
Hi 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
Similar Messages
-
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,
hkHello,
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. -
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. -
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 -
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..... -
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 -
Report Viewer control issue in Windows Server 2012 R2
Hi,
I have a reporting application (web) and it is using the Microsoft.ReportViewer.WebForms.dll (version 11.0.3366). While deploying I have kept all the Reporting Viewer related dll's into the bin directory and things are working fine in the below combinations.
1) Windows Server 2008 R2 , SQL Server 2008 R2 SP2
2) Windows Server 2012 and SQL Server 2012
Today I have installed the same setup into the Windows Server 2012 R2 (with SqlServer 2012) machine and I am facing the some issue. The Print icon and find/next options are not visible in the Report Viewer . I am not sure what was the cause for this.
Then I have installed the Report Viewer 2012 runtime on the Windows Server 2012 R2 machine and things are working fine. So , I am wondering how the same setup worked fine in other two combinations with out installing Report Viewer 2012 runtime.
Did any one have idea/suggestion on this.
Thanks in advance!
Best Regards
MuthurajaHave you verified that the runtime assemblies are not on those servers? Maybe someone else added them. There are numerous other possibilities such as code refactoring that moved these elements from to other assemblies (unlikely) or that there was some other
difference in your installation that you overlooked. I am glad that you were quickly able to resolve your issue however and may help others if they experience the same problem.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek. -
Scom 2012 r2 - report viewer controls are not installed
Hi
I'm stop on this error when installing the operation console and web console
report viewer controls are not installed
OS : Windows 2008 R2
SCOM Version : SCOM 2012 R2
I installed the install Report Viewer Redistribution 2008 SP1 and install
Report Viewer Redistribution 2010 ans I'm still getting that error
Please advise ...
RobertHi
The requirements are listed here http://technet.microsoft.com/en-us/library/dn249696.aspx#BKMK_RBF_OperationsConsole
Install Microsoft
Report Viewer 2012 Redistributable Package then it should work.
Cheers,
Stefan
Blog: http://blog.scomfaq.ch -
WSUS 2012 Installing Report Viewer
Hello,
Setting up my first WSUS on a Server 2012 machine. To view a computer status and it through an error stating that I needed to install Microsoft Report Viewer 2008 Redistributable. I downloaded Report viewer then tried to install it and the install
stated I needed .Net 2.0. I know that .Net 3.5 includes 2.0 so I tried to install the feature through server manager. Server manager couldn't find the files. I downloaded 3.5 and tried to install it specifying where the files were and Server Manager
still could not find the installation. I researched other fixes on line and found there is a Report Viewer 2012. I downloaded it then tried to install it and it stated it needed Microsoft System CLR types for SQL server 2012. I
don't have nor do I need Microsoft SQL server and would like to avoid installing it if it is not necessary. So I looked into some other things people have done to fix this issue and came across a fix where I has to use Power Shell to run a command
on the ISO image to enable the 3.5 feature. This didn't work either. So what do I need to do to get this going?Hi,
Pls make sure that the .net 3.5 has been installed thru the adding feature wizard,and then install the Report Viewer 2008 Redistributable.If possible,restart your server and try it again.
After that, make sure Report Viewer 2008 Redistributable has been installed.
Regards,
Clarence
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedbackhere.
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. -
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.
LQHello
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 -
I'm trying to install SCOM and in order to do that I need to have SQL Report Viewer 2012 installed.
When I'm trying to install this, I am prompted to install SLQ CLR Types for SQL Server 2012.
i've downloaded and installed this and I get the exact same prompt everytime. I have tried uninstalling and reinstalling, using different versions and I am having the exact same problem. have installed both x86 and x64 versions as suggested by someone.
OS is windows 8.1 64bit
The versions I have installed at the moment are:Hi Kenzii69,
According to your description, though you have performed uninstall and reinstall Microsoft System CLR Types for SQL Server 2012, you are prompted to install Microsoft System CLR Types for SQL Server 2012 every time.
In this scenario, we can use process monitor to capture the process during the installation of Microsoft Report Viewer 2012 Runtime. Then check the result of this operation RegQueryValue with this path HKLM\SOFTWARE\MICROSOFT\Microsoft SQL Server 2012 Redist\SQL
Server System CLR Types\CurrentVersion\Version. In our test environment, if we have installed Microsoft System CLR Types for SQL Server 2012, the result of this operation RegQueryValue should be SUCCESS. And it will show version information in Description.
See screenshot below:
If we haven’t installed Microsoft System CLR Types for SQL Server 2012 or the CLR Types corrupts, the status of this operation RegQueryValue will display other information like NAME NOT FOUND. Please refer to screenshot below:
When installing Microsoft Report Viewer 2012 Runtime, the RegQpenKey: HKLM\SOFTWARE\MICROSOFT\Microsoft SQL Server 2012 Redist\SQL Server System CLR Types\CurrentVersion\Version is always be checked. So I recommend you use Process Monitor to check out the
information in status of this RegQueryValue.
Besides, the issue might be caused by that the .NET Framework is corrupted or not installed properly. There is a related thread you can refer to:
https://social.msdn.microsoft.com/Forums/en-US/b58b0df6-11f1-44c9-80ef-068f59228c4b/problem-installing-report-viewer-2012-runtime-missing-clr-types?forum=sqlreportingservices.
If you have any question, please feel free to ask. -
SSRS reports are not fitting properly in Report Viewer Control
Hi All,
We are using Report Viewer Control to render SSRS reports & show it on SharePoint web page. In .aspx page we are putting Report Viewer Control as follows:
The zoom percent of Report we are getting from Report Server is 100%. We are making it as 50% to show it on our page. On one page, we are showing 2 reports.
<rsweb:ReportViewer ID="rpv2Chart1" runat="server" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" Height="211px" Width="813px" ZoomPercent="50"></rsweb:ReportViewer >
The reports are coming. But the reports which we are getting inside the control are not readable & 25% of Report Viewer Control on our right hand side is blank.
As you can see it's not readable. For readability we want to use that white space also & want to utilize full controls's space. But if we try to increase percentage from our report viewer tag, then the graph is zooming in with both, height & width
so it's going out of control.
Client don't want scroll bars on Report Viewer control. We just want to utilize the entire Report Viewer Control space.
Can anyone suggest us how to do that?
Thanks,
SanjayHi Sanjay,
I'm afraid that it is not the correct forum for this issue.
If it is the SSRS issue, you could post this issue here:
http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
If it is the VS report control issue, maybe you would get better response here:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
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. -
Issue With Report Viewer Version 11 On VS2012 & VS2013
I create a sample project on VS 2012 @ VS2013 and created a report with some static data . I am trying to print the Report generated through report viewer 2012, but it is throwing the following
"error An error occurred during printing. (0x80070006)".
I am trying to test this on Windows 8.0 and Windows 7. It is working perfectly fine on Windows 8 . The issue is only on windows 7.
Checked “Downloaded Program Files” folder. All the required files were existed.
Enabled Active X.
Please suggest me how i can resolve this issue in Windows7 ?.Hi Arc Sam,
Please find the details information below:
You can install the control using the RSClientPrint.cab file... You can find this file in your VS installation at "\Microsoft Visual Studio 9.0\ReportViewer\". Below is a link to a related thread
which may help you:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=332145&SiteID=1
Similar thread below:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0501da39-0a27-4f61-81e0-7c6bb2c5a189/reporting-services-report-viewer-activex-control?forum=sqlreportingservices
Regards,
Swallow -
Crystal Report Viewer and border problems
Post Author: catalinandrei00
CA Forum: Deployment
Hello there, I've created an report and I've added borders for the fields in the report (Right click on the field > Format Object -> Border -> Choose for the 4 margins the line-style single). The report is correctly exported to different formats (.doc, .pdf, .xls). My problem is that when I display the report in an ASP.NET 2.0 page using an Crystal Report Viewer the report is correctly shown but the borders don't appear.My question is why the borders don't appear in the Crystal Report Viewer? Thanks for helping for solving this issue. It's very important.CatalinHello catalinandrei00
I have the exact opposite problem as yours.
I am using integrated crystal reports with Visual Studio 2005 and I have put a Crystal Viewer on a web page.
First I also had the same problem like yours and then in one of the post i found a solution for this. Hope it will work for you too. here it is :-
Just remove the following line from your aspx page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Now regarding my problem. My problems is that now i can view the borders and everything correctly in the viewer but when i try to print the report it automatically exports to Adobe first and BAM!!! the format disappears. Though if i export to word Doc format it export perfectly fine with all the borders and everything
I hope some other reader will come to my rescue...pls HELP. -
Problem showing the crystal report viewer in form after added the component on it
Greetings
I have a problem running a program. I created a form which I added the component Crystal Report Viewer perfecty but during program execution when I call that form my VS 2012 Ultimate show the following error:
Translated:
Failed to create the form. See Exception.InnerException for details. Error: An exception occurred in the type initializer for 'CrystalDecisions.Shared.SharedUtils'.
Note: If I remove the component from the form. the applications runs fine when calling the form without the component CrystalReportViewer
It is something related to my VS? o just that the actual version 13.0.9 is not yet compatible?Report.Show?
How about you try:
CrystalReportViewer1.ReportSource = <path to your report>
Or:
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
crReportDocument.Load(<path to your report>)
CrystalReportViewer1.ReportSource = crReportDocument
Or, if the report is added to the project:
crReportDocument = New test
CrystalReportViewer1.ReportSource = crReportDocument
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Message was edited by: Ludek Uher
Maybe you are looking for
-
How can I restore my iPad from an encrypted backup if I didn't put a password on it?
I went to back up my iPad two days ago just as I have several times prior. Low and behold, it asks me for a password of which I have no knowledge of EVER putting one in. So I called Apple support. The "genius" (and I use that word loosely) told me I
-
Slow access to files that are already being opened by another user
HI, A client has a Windows 2008 server setup with Windows 7 workstations. When a user opens a document (docx, xlsx etc) on the server it opens without an issues. If a second user tries to open the same file that the first user is in, the second use
-
In the past, when I sent a web link on Firefox, my gmail address book would pop up. Thunderbird had an update today, but I'm thinking it may have been a virus. Now, when I try to send a link out of Firefox Mozilla, Thunderbird launches and I don't wa
-
Hi Guys, Is there a Customizing Object for 'Reason for Rejection' to replicate rejection codes from ECC6 to CRM? Thanks, Ken
-
Atypical ASM/RAC 11.2 configuration.
Hi every one, We are evaluating several scenarios to implement Oracle RAC, and we want to know if the following configuration is certified by Oracle. 1 asm disk group (SAN) 1 linux node that has the following users and instances: linux user: grid1 ru