Friday, March 30, 2012
pdssql.dll
PDF-Export Format not readable for non-windows users
i received the following mail today:
<snipp>
May be the reason is that I didn't read
this file with the Acroreader version 7.0 which is the latest available
for Windows. Please take into account that not everybody lives in a
Microsoft world: The latest available Acroreader under Linux is version
5! So I kindly request a readable version of my personal pdf-statement
P.S.: A closer analysis of the pdf file shows this error message:
**** This file has a corrupted %%EOF marker, or garbage after the %%EOF.
**** The file was produced by Microsoft Rptg Srvcs PDF Rendering
Extension 8. 0:
**** please notify the author of this software
**** that the file does not conform to Adobe's published PDF
</snipp>
My question:
Does the hotfix from
http://support.microsoft.com/kb/885444/en-us
fix my problems?
I got the beta SP2 already here, but the production environment is german so
i couldn't install the sp2 there.
Brian?
regards
FrankDear "Frank",
are you running SP1 now?
dlr
"Frank Matthiesen" <fm@.xax.de> wrote in message
news:3bcph6F6ggsklU1@.individual.net...
> Hi NG,
> i received the following mail today:
> <snipp>
> May be the reason is that I didn't read
> this file with the Acroreader version 7.0 which is the latest available
> for Windows. Please take into account that not everybody lives in a
> Microsoft world: The latest available Acroreader under Linux is version
> 5! So I kindly request a readable version of my personal pdf-statement
> P.S.: A closer analysis of the pdf file shows this error message:
> **** This file has a corrupted %%EOF marker, or garbage after the
%%EOF.
> **** The file was produced by Microsoft Rptg Srvcs PDF Rendering
> Extension 8. 0:
> **** please notify the author of this software
> **** that the file does not conform to Adobe's published PDF
> </snipp>
>
> My question:
> Does the hotfix from
> http://support.microsoft.com/kb/885444/en-us
> fix my problems?
> I got the beta SP2 already here, but the production environment is german
so
> i couldn't install the sp2 there.
> Brian?
> regards
> Frank
>
>|||Dennis Redfield wrote:
> are you running SP1 now?
Yes i do.
Franksql
PDF Sizes
I am using ReportViewer in a web application. When there is a chart as part
of a report and it is exported to PDF the file size is very large for a
single page; typically 10-12 Mb.
I am now supposed to manufacture a report that will be about 50 pages with a
large graph on each page and I don't thing a 500Mb file size is acceptable.
Isn't there a way for the charts to use a vector format instead or at least
a compressed format?
Thanks,
JohnHello John,
Thank you for using Microsoft MSDN newsgroup!
I understand that you'd like to know if charts in report could be
compressed or use a vector format when exporting to PDF. If I'm off-base,
please let me know.
This behavior is a limitation of the product and we have received similar
request from another customer. However, currently there is no option to
compress charts or use a vector format for charts as you want for local
report.
The major difference for PDF rendering for the local report is that PDF
doesn't support compression of data while rendering. So it will take long
time when compared to the one from the server PDF rendering. But this
limitation is only for PDF and for other rendering extensions like Excel
etc don't have difference in behavior from the local and the server reports.
Verifying with our Development Team, I found that resolution is also not a
configurable setting for the PDF renderer. The documentation link which I
sent earlier
incorrectly lists DpiX and DpiY as available Device Information settings
for PDF.
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm
/rsp_prog_soapapi_dev_8bld.asp>
This documentation was corrected later for RS 2005 version:
<http://msdn2.microsoft.com/en-us/library/ms154682.aspx>
So unfortunately the DpiX and DpiY settings will have no effect when passed
to Render method.
Please rest assured your feedback on this is reported to the proper
channel. In the meantime, I also encourage you submit via the link below so
that product team could hear your sound directly:
http://lab.msdn.microsoft.com/productfeedback/default.aspx
You may want to consider using Excel rendering method but it may not meet
your requriment exactly. Or you may want to consider using a report server
to render the report for you other than using a local report.
If you have any questions or concerns on this, please feel free to let us
know.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.sql
PDF Size with Chart
I am using ReportViewer in a web application. When there is a chart as part
of a report and it is exported to PDF the file size is very large for a
single page; typically 10-12 Mb.
I am now supposed to manufacture a report that will be about 50 pages with a
large graph on each page and I don't thing a 500Mb file size is acceptable.
Isn't there a way for the charts to use a vector format instead or at least
a compressed format?
Thanks,
JohnI've noticed a similar strange behavior with PDF and charts with RS 2005.
I've had situations where the PDF download never ends :)
So for charts we have people export to TIFF.
It looks to be a bug with RS 2005.
"JPS" wrote:
> Hello,
> I am using ReportViewer in a web application. When there is a chart as part
> of a report and it is exported to PDF the file size is very large for a
> single page; typically 10-12 Mb.
> I am now supposed to manufacture a report that will be about 50 pages with a
> large graph on each page and I don't thing a 500Mb file size is acceptable.
> Isn't there a way for the charts to use a vector format instead or at least
> a compressed format?
> Thanks,
> John|||I have the same issue. We are creating a report with three charts, and it is
20 MB total file size. We are using local reports in an Asp .Net 2.0 page.
Any help would be greatly appreciated.
Thanks
Sam
"Carmine" wrote:
> I've noticed a similar strange behavior with PDF and charts with RS 2005.
> I've had situations where the PDF download never ends :)
> So for charts we have people export to TIFF.
> It looks to be a bug with RS 2005.
> "JPS" wrote:
> > Hello,
> >
> > I am using ReportViewer in a web application. When there is a chart as part
> > of a report and it is exported to PDF the file size is very large for a
> > single page; typically 10-12 Mb.
> >
> > I am now supposed to manufacture a report that will be about 50 pages with a
> > large graph on each page and I don't thing a 500Mb file size is acceptable.
> >
> > Isn't there a way for the charts to use a vector format instead or at least
> > a compressed format?
> >
> > Thanks,
> > John
Wednesday, March 28, 2012
PDF Rendering from an ASP page
How can we render a page in pdf format directly from the Web
Aplication. With out the File Down Load screen.
Thanks
Josethis is a browser issue. You can stream the report (in any format) down to
the browser as
contenttype={what ever you got} and
response.writebinary({your array of bytes})
The browser decides to do the open vs. save dialog depending on its own
settings, I think.
dlr
"Jose Francis" <josefrancis@.gmail.com> wrote in message
news:482833ae.0409170516.1ec28fb2@.posting.google.com...
> Hi Friends,
> How can we render a page in pdf format directly from the Web
> Aplication. With out the File Down Load screen.
> Thanks
> Jose
PDF rendering error; log file entries included.
Currently the report contains 52 line charts (possibility for much more than
that)and fails when the subscription is running. If I only choose data that
returns about 10 or less charts than it will successfully create the PDF.
Is there a file size limitation or another setting I am missing in the
configuration?
Begin of log entries.
ReportingServicesService!reportrendering!f54!02/25/2005-20:37:19:: e ERROR:
Throwing
Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown., ;
Info:
Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown. -->
Microsoft.ReportingServices.ReportRendering.ReportRenderingException:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown. --> System.Threading.ThreadAbortException: Thread was being aborted.
at System.Drawing.SafeNativeMethods.GdipDrawImageRectI(HandleRef
graphics, HandleRef image, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32
width, Int32 height)
at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
at System.Drawing.Bitmap..ctor(Image original)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.CanvasPDF.Process32bppArgbImages(CanvasImage
image, StringBuilder streamString, StringBuilder imageContentString, Int64&
streamLength)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.CanvasPDF.ProcessImage(CanvasImage
image, Double left, Double top, Double width, Double height, Boolean
scaleImage)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.CanvasPDF.DrawImage(OutlineObjects
outlines, CanvasImage image, Double left, Double top, Double width, Double
height)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.Chart.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.ListContent.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.List.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.Rectangle.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement parentClipBorder)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.ProcessPages(CompositionBase
theComposition, Report theReport, Boolean needTotalPages, Int32 startPage,
Int32 endPage, Boolean render)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport.RenderReport(Report
report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpressions
evaluateHeaderFooterExpressions, CreateAndRegisterStream
createAndRegisterStreamCallback)
at
Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.Render(Report
report, NameValueCollection reportServerParameters, NameValueCollection
deviceInfo, NameValueCollection clientCapabilities,
EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
CreateAndRegisterStream createAndRegisterStream)
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.Render(Report
report, NameValueCollection reportServerParameters, NameValueCollection
deviceInfo, NameValueCollection clientCapabilities,
EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
CreateAndRegisterStream createAndRegisterStream)
at
Microsoft.ReportingServices.ReportProcessing.ReportProcessing.a(DateTime A_0,
GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3,
CreateReportChunk A_4, Boolean& A_5)
-- End of inner exception stack trace --
ReportingServicesService!runningjobs!f54!02/25/2005-20:37:22:: i INFO:
CancelableJobExecution.Execute caught some other thread abort exception
ReportingServicesService!library!f54!02/25/2005-20:37:22:: i INFO:
Initializing EnableExecutionLogging to 'True' as specified in Server system
properties.
ReportingServicesService!emailextension!f54!02/25/2005-20:37:24:: Error
sending email. System.Threading.ThreadAbortException: Thread was being
aborted.
at
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at
Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService
rs, CatalogItemContext reportContext, ClientRequest session, JobTypeEnum
type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters,
String[]& secondaryStreamNames)
at Microsoft.ReportingServices.Library.ReportImpl.Render(String
renderFormat, String deviceInfo)
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.ConstructMessageBody(IMessage message, Notification notification, SubscriptionData data)
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.CreateMessage(Notification notification)
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
ReportingServicesService!notification!f54!02/25/2005-20:37:25:: Error thrown
by delivery provider: System.Threading.ThreadAbortException: Thread was being
aborted.
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
at
Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)
ReportingServicesService!notification!f54!02/25/2005-20:37:26:: e ERROR:
Error occured processing notification. Thread was being aborted.
ReportingServicesService!dbpolling!f54!02/25/2005-20:37:27::
NotificationPolling no longer processing item
36b6fea8-ebac-4de7-b5ef-74c792df8276, will be requeued
ReportingServicesService!dbpolling!f54!02/25/2005-20:37:27:: Queue worker
thread caught unhandled exception: System.Threading.ThreadAbortException:
Thread was being aborted.
at
Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem item)
at
Microsoft.ReportingServices.Library.NotificationQueueWorker.QueueWorker(QueueItem item)
at
Microsoft.ReportingServices.Library.QueuePollWorker.WorkItemStart(Object
state)Sometimes PDF rendering chews up quite a bit of memory. (Yes, there is room
for optimization if future versions :) You're probably hitting the upper
limits of the machine.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"Jeff S." <JeffS@.discussions.microsoft.com> wrote in message
news:FF469815-A1B9-4155-9A62-710DA4EFDBC7@.microsoft.com...
>I am having a problem getting a report with many charts to export to PDF.
> Currently the report contains 52 line charts (possibility for much more
> than
> that)and fails when the subscription is running. If I only choose data
> that
> returns about 10 or less charts than it will successfully create the PDF.
> Is there a file size limitation or another setting I am missing in the
> configuration?
>
> Begin of log entries.
> ReportingServicesService!reportrendering!f54!02/25/2005-20:37:19:: e
> ERROR:
> Throwing
> Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException:
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown., ;
> Info:
> Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException:
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown. -->
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException:
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown. --> System.Threading.ThreadAbortException: Thread was being
> aborted.
> at System.Drawing.SafeNativeMethods.GdipDrawImageRectI(HandleRef
> graphics, HandleRef image, Int32 x, Int32 y, Int32 width, Int32 height)
> at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y,
> Int32
> width, Int32 height)
> at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32
> height)
> at System.Drawing.Bitmap..ctor(Image original)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.CanvasPDF.Process32bppArgbImages(CanvasImage
> image, StringBuilder streamString, StringBuilder imageContentString,
> Int64&
> streamLength)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.CanvasPDF.ProcessImage(CanvasImage
> image, Double left, Double top, Double width, Double height, Boolean
> scaleImage)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.CanvasPDF.DrawImage(OutlineObjects
> outlines, CanvasImage image, Double left, Double top, Double width, Double
> height)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.Chart.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.ListContent.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.List.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.Rectangle.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.RenderingItemContainer.RenderToPage(Measurement
> parentClipBorder)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.ProcessPages(CompositionBase
> theComposition, Report theReport, Boolean needTotalPages, Int32 startPage,
> Int32 endPage, Boolean render)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport.RenderReport(Report
> report, NameValueCollection deviceInfo, EvaluateHeaderFooterExpressions
> evaluateHeaderFooterExpressions, CreateAndRegisterStream
> createAndRegisterStreamCallback)
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.Render(Report
> report, NameValueCollection reportServerParameters, NameValueCollection
> deviceInfo, NameValueCollection clientCapabilities,
> EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
> CreateAndRegisterStream createAndRegisterStream)
> -- End of inner exception stack trace --
> at
> Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRendererBase.Render(Report
> report, NameValueCollection reportServerParameters, NameValueCollection
> deviceInfo, NameValueCollection clientCapabilities,
> EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
> CreateAndRegisterStream createAndRegisterStream)
> at
> Microsoft.ReportingServices.ReportProcessing.ReportProcessing.a(DateTime
> A_0,
> GetReportChunk A_1, ProcessingContext A_2, RenderingContext A_3,
> CreateReportChunk A_4, Boolean& A_5)
> -- End of inner exception stack trace --
> ReportingServicesService!runningjobs!f54!02/25/2005-20:37:22:: i INFO:
> CancelableJobExecution.Execute caught some other thread abort exception
> ReportingServicesService!library!f54!02/25/2005-20:37:22:: i INFO:
> Initializing EnableExecutionLogging to 'True' as specified in Server
> system
> properties.
> ReportingServicesService!emailextension!f54!02/25/2005-20:37:24:: Error
> sending email. System.Threading.ThreadAbortException: Thread was being
> aborted.
> at
> Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
> at
> Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService
> rs, CatalogItemContext reportContext, ClientRequest session, JobTypeEnum
> type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters,
> String[]& secondaryStreamNames)
> at Microsoft.ReportingServices.Library.ReportImpl.Render(String
> renderFormat, String deviceInfo)
> at
> Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.ConstructMessageBody(IMessage
> message, Notification notification, SubscriptionData data)
> at
> Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.CreateMessage(Notification
> notification)
> at
> Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification
> notification)
> ReportingServicesService!notification!f54!02/25/2005-20:37:25:: Error
> thrown
> by delivery provider: System.Threading.ThreadAbortException: Thread was
> being
> aborted.
> at
> Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification
> notification)
> at
> Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem
> item)
> ReportingServicesService!notification!f54!02/25/2005-20:37:26:: e ERROR:
> Error occured processing notification. Thread was being aborted.
> ReportingServicesService!dbpolling!f54!02/25/2005-20:37:27::
> NotificationPolling no longer processing item
> 36b6fea8-ebac-4de7-b5ef-74c792df8276, will be requeued
> ReportingServicesService!dbpolling!f54!02/25/2005-20:37:27:: Queue worker
> thread caught unhandled exception: System.Threading.ThreadAbortException:
> Thread was being aborted.
> at
> Microsoft.ReportingServices.Library.NotificationQueueWorker.HandleNotification(QueueItem
> item)
> at
> Microsoft.ReportingServices.Library.NotificationQueueWorker.QueueWorker(QueueItem
> item)
> at
> Microsoft.ReportingServices.Library.QueuePollWorker.WorkItemStart(Object
> state)
>
PDF Printing example
service?
The one in the documentation does not stream the file back to the browser.
Thanks in advance.this is just a snippet, i'm assuming you already have the basics of using the
web service and getting a report, but just need to know the pdf portion:
report =rs.Render(reportPath,format,historyID,devInfo,parameters,credentials,showHideToggle,out
encoding, out mimeType, out optionalParams, out optionalWarnings, out
streamIDs);
Response.ClearContent();
Response.AppendHeader("content-length", report.Length.ToString());
Response.ContentType = "application/pdf";
Response.BinaryWrite(report);
Response.Flush();
Response.Close();
"RichieRich" wrote:
> Does anyone have a good example of printing to a PDF file using the web
> service?
> The one in the documentation does not stream the file back to the browser.
> Thanks in advance.|||Thanks much. The last time I tried the code from the documentation, I got a
401 error...Authorization required. Do I need to give write rpermissions on
a folder? And which user gets it.
Thanks again.
"mike" wrote:
> this is just a snippet, i'm assuming you already have the basics of using the
> web service and getting a report, but just need to know the pdf portion:
> report => rs.Render(reportPath,format,historyID,devInfo,parameters,credentials,showHideToggle,out
> encoding, out mimeType, out optionalParams, out optionalWarnings, out
> streamIDs);
> Response.ClearContent();
> Response.AppendHeader("content-length", report.Length.ToString());
> Response.ContentType = "application/pdf";
> Response.BinaryWrite(report);
> Response.Flush();
> Response.Close();
>
> "RichieRich" wrote:
> > Does anyone have a good example of printing to a PDF file using the web
> > service?
> >
> > The one in the documentation does not stream the file back to the browser.
> >
> > Thanks in advance.
Monday, March 26, 2012
PDF file is not in right format
HI,
When I preview the report it is in correct format but when I save it in PDF form it is not coming in the right format.
There is a textbox on 1st page.If the value of that textbox is large it prints the text on 2nd page and leaves a blank
space on 1st page.Why this is happening.Please Help me.
May
Try couple of things:
1) make your textbox multiline. There is property MultiLine so set that to true.
2) Check your report page margins. Keep it according to your page size.
Let me know if this helps
Lav
|||I have set the page margin to 0.3 and also body size is 6.8in.Still it is shifting the whole text to next page.
Text is a big paragraph .I could not find the multiline property of textbox.
Thanks in Advance.
May
|||What is your page size??
I assume 6.8in is your width.
For Multiline i meant Can grow property. Make sure its set to True.
|||also make sure your page size must be greater than your width + left margin + right margin|||Page Size is 8.5in-11in.Can Grow property is True already.
Is there any property like Keep Together.Because it is trying to keep the whole text together thats why
it is shifting it onto the next page.I tried to put textbox in a rectangle..still not working.
May
|||Is there anything else on that page? Explain me the layout of the page.
If possible add an image of report layout.
|||
I don't know how to add the image from here.Layout is like this:
CustomerName: !First(FieldCustname.value) DateEntered: Fielddate.value
Contact (subreport)
Reason: !First(FieldReason.value)
Action: !First(FieldAction.value)
Reason textbox is giving trouble.After printing the name,date n contact the rest of the page is blank.
reason text is on 2nd page.
|||
I have the same problem with a table which the report try to display on the next page when it fit, butKeepTogether is set toflase and there is noPageBreakBefore.
But it behave like if KeepTogether was set to True.
Any idea ?
PDF file featuring only the first page... why?
I am struggeling with my .PDF file exports. One of our reports outputs 250
pages in the web interface. When I ask to output a PDF version of it, the
file contains only the first page but I really don't know why. Could it be a
problem with the .RDL file?!?
Thanks!
Marc LacoursiereAfter some more inspection... I have found something interesting!
The report contains a table which has 2 groups. Both of them were set to do
a page break after them. If I remove the page break in the inner group, but
leave the other intact, the problem is fixed.
For this report, it is now working perfectly. But I am still wondering why
would the PDF rendering stop because of a table containing two groups both
doing page breaks?
Suppose I am required to create such a behavior in a different report, would
I still be stuck with that issue?
Marc Lacoursiere
"Marc Lacoursiere" <marcdotlacoursiere@.cgi.com> wrote in message
news:uroxxN$9EHA.3236@.TK2MSFTNGP15.phx.gbl...
> Hello,
>
> I am struggeling with my .PDF file exports. One of our reports outputs 250
> pages in the web interface. When I ask to output a PDF version of it, the
> file contains only the first page but I really don't know why. Could it be
> a problem with the .RDL file?!?
>
> Thanks!
> Marc Lacoursiere
>sql
PDF file
PDF Export not complete
What is preventing the complete report from exporting?Never mind. After installing SP2, everything is fine now.
"kbright" wrote:
> When I attempt to export a 6 page report as a PDF file, only page 1 is present.
> What is preventing the complete report from exporting?
PDF Error: Urgent
this document.This file cannot be found."
The same report was working fine last month.
Export To Excel Works FineClear Temporary Internet Folder
"Sudha" wrote:
> When I try to export it to PDF; I get an error "There was an error opening
> this document.This file cannot be found."
> The same report was working fine last month.
> Export To Excel Works Fine
>
Friday, March 23, 2012
pdf error
this document.This file cannot be found."
This happens with Acrobat reader 5.0, 6.0 when the reports are pulled on
the user's machines from the production server. Am I missing something.
The export works well on the staging server.
any help is appreciated.
GaryI have heard of this on other machines. It seems to have something to do
with the browser config / temporary internet files. The file is usually gone
before Acrobat can open it.
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Gary" <gary@.msn.com> wrote in message
news:eaxxMHMnEHA.2612@.TK2MSFTNGP15.phx.gbl...
> When I try to export it to PDF; I get an error "There was an error opening
> this document.This file cannot be found."
> This happens with Acrobat reader 5.0, 6.0 when the reports are pulled on
> the user's machines from the production server. Am I missing something.
> The export works well on the staging server.
> any help is appreciated.
> Gary
>|||Try After Clearing Temporary Internet Folder
"Gary" wrote:
> When I try to export it to PDF; I get an error "There was an error opening
> this document.This file cannot be found."
> This happens with Acrobat reader 5.0, 6.0 when the reports are pulled on
> the user's machines from the production server. Am I missing something.
> The export works well on the staging server.
> any help is appreciated.
> Gary
>
>sql
PDF and attribute
file. Is there anyway, we can set PDF attrubute file to prevent user to
modify?
with Readyonly attribute, user can change the property of a file?
any othereway, we can make PDF can not be modifed using Editor?
in short, make the PDF readyonly.On Dec 10, 2:20 pm, Kalyan <Kal...@.discussions.microsoft.com> wrote:
> I have reporting service 2005 report, Through Render method, populating PDF
> file. Is there anyway, we can set PDF attrubute file to prevent user to
> modify?
> with Readyonly attribute, user can change the property of a file?
> any othereway, we can make PDF can not be modifed using Editor?
> in short, make the PDF readyonly.
Normally, if a user has a PDF creator software, it is hard to keep
them from modifying the PDF file; however, to set the attributes to
read only, you could try something like this in a custom ASP.NET
application.
http://www.java2s.com/Tutorial/VB/0240__Stream-File/SetfileattributesHiddenReadOnly.htm
Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant
Pckg variable not getting set
I have created a simple package to zip a file. I am determining the file to be zipped dynamically at runtime using the Script task. I have a package variable defined as ReadWrite in the script task; I am attempting to store the dynamically determined file name to this package variable.
The code I am using to assign the value to the variable is:
Dim LatestBackupName As String
Dim ZipName As String
Dts.Variables("FileName").Value = ZipName & " " & LatestBackupName
I have set a breakpoint in the code to step into each statement. I am able to see that the "FileName" variable is being assigned the appropriate value. However, once the Script task completes, the value assigned to FileName is not stored in the variable. It is as if it gets the value during the script task and then loses it upon completion.
Am I going about setting the variable value wrong?
Any guidance is appreciated.
Nevermind. An answer to an unrelated post helped me figure this out. The variable was getting set - it just does not show it the way DTS would have. I set DelayValidation to TRUE to resolve the error I was receiving that I thought indicated the variable was not set.
pb with a trigger
I've a problem with a trigger :
this trigger update a file with an index field but it's return an error
: UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
parameters
for information, this is my trigger :
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
if you ave an idea...
thanks
philnedPerhaps the trigger was created with SET QUOTED_IDENTIFIER OFF. This
setting is remembered for subsequent trigger executions. Try:
SET QUOTED_IDENTIFIER ON
SET ANSI_NULLS ON
GO
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
GO
Hope this helps.
Dan Guzman
SQL Server MVP
"philned" <philned@.wanadoo.fr> wrote in message
news:418783e6$0$9305$636a15ce@.news.free.fr...
> hello,
> I've a problem with a trigger :
> this trigger update a file with an index field but it's return an error :
> UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
> parameters
> for information, this is my trigger :
> CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
> SET NOCOUNT ON
> set arithabort on
> set concat_null_yields_null on
> set quoted_identifier on
> set ansi_nulls on
> set ansi_padding on
> set ansi_warnings on
> set numeric_roundabort off
> declare @.code varchar(17)
> select @.code=ar_ref from inserted
> begin
> */ replace if reference = 0 */
> if @.code='0'
> begin
> update f_article set ar_ref='test' from f_article join
> inserted on f_article.cbmarq=inserted.cbmarq
> end
> end
>
> if you ave an idea...
> thanks
> philnedsql
pb with a trigger
I've a problem with a trigger :
this trigger update a file with an index field but it's return an error
: UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
parameters
for information, this is my trigger :
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
if you ave an idea...
thanks
philnedPerhaps the trigger was created with SET QUOTED_IDENTIFIER OFF. This
setting is remembered for subsequent trigger executions. Try:
SET QUOTED_IDENTIFIER ON
SET ANSI_NULLS ON
GO
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
GO
Hope this helps.
Dan Guzman
SQL Server MVP
"philned" <philned@.wanadoo.fr> wrote in message
news:418783e6$0$9305$636a15ce@.news.free.fr...
> hello,
> I've a problem with a trigger :
> this trigger update a file with an index field but it's return an error :
> UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
> parameters
> for information, this is my trigger :
> CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
> SET NOCOUNT ON
> set arithabort on
> set concat_null_yields_null on
> set quoted_identifier on
> set ansi_nulls on
> set ansi_padding on
> set ansi_warnings on
> set numeric_roundabort off
> declare @.code varchar(17)
> select @.code=ar_ref from inserted
> begin
> */ replace if reference = 0 */
> if @.code='0'
> begin
> update f_article set ar_ref='test' from f_article join
> inserted on f_article.cbmarq=inserted.cbmarq
> end
> end
>
> if you ave an idea...
> thanks
> philned
pb with a trigger
I've a problem with a trigger :
this trigger update a file with an index field but it's return an error
: UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
parameters
for information, this is my trigger :
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
if you ave an idea...
thanks
philned
Perhaps the trigger was created with SET QUOTED_IDENTIFIER OFF. This
setting is remembered for subsequent trigger executions. Try:
SET QUOTED_IDENTIFIER ON
SET ANSI_NULLS ON
GO
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
GO
Hope this helps.
Dan Guzman
SQL Server MVP
"philned" <philned@.wanadoo.fr> wrote in message
news:418783e6$0$9305$636a15ce@.news.free.fr...
> hello,
> I've a problem with a trigger :
> this trigger update a file with an index field but it's return an error :
> UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
> parameters
> for information, this is my trigger :
> CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
> SET NOCOUNT ON
> set arithabort on
> set concat_null_yields_null on
> set quoted_identifier on
> set ansi_nulls on
> set ansi_padding on
> set ansi_warnings on
> set numeric_roundabort off
> declare @.code varchar(17)
> select @.code=ar_ref from inserted
> begin
> */ replace if reference = 0 */
> if @.code='0'
> begin
> update f_article set ar_ref='test' from f_article join
> inserted on f_article.cbmarq=inserted.cbmarq
> end
> end
>
> if you ave an idea...
> thanks
> philned
pb with a trigger
I've a problem with a trigger :
this trigger update a file with an index field but it's return an error
: UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
parameters
for information, this is my trigger :
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
if you ave an idea...
thanks
philned[posted and mailed, please reply in news]
philned (philned@.wanadoo.fr) writes:
> I've a problem with a trigger :
> this trigger update a file with an index field but it's return an error
>: UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
> parameters
This is because there is an indexed view or an indexed computed
column some where.
Putting all those SET commands in the trigger is not a good idea, because
it may cause recompilations which can be expensive performancewise.
Instead make sure that you issue a SET ARITHABORT ON when you connect.
You can also set this default for your database, or even your setver.
As for QUOTED_IDENTIFIER, this setting is a bit special. It doesn't
help if you set it in the trigger, because it is the setting of
QUOTED_IDENTIFER when the trigger was created that applies. This also
applies to the setting ANSI_NULLS.
There are some tools that unfortunately turn of QUOTED_IDENTIFIER by
default. The command-line tool OSQL is one of them. Use -I with OSQL
to have QUOTED_IDENTIFIER on. The other is Enterprise Manger, but you
should not use EM for editing SQL Code, use Query Analyzer instead.
In short: you need to reload the trigger with QUOTED_IDENTIIER on.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp
pb with "QUOTED_IDENTIFIER"
I've a problem with a trigger :
this trigger update a file with an index field but it's return an error
: UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
parameters
for information, this is my trigger :
CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
SET NOCOUNT ON
set arithabort on
set concat_null_yields_null on
set quoted_identifier on
set ansi_nulls on
set ansi_padding on
set ansi_warnings on
set numeric_roundabort off
declare @.code varchar(17)
select @.code=ar_ref from inserted
begin
*/ replace if reference = 0 */
if @.code='0'
begin
update f_article set ar_ref='test' from f_article join
inserted on f_article.cbmarq=inserted.cbmarq
end
end
if you ave an idea...
thanks
philned
Why are you setting quoted identifiers on? You don't seem to need it.
Same goes for most of the set statements.
"philned" wrote:
> hello,
> I've a problem with a trigger :
> this trigger update a file with an index field but it's return an error
> : UPDATE stop because the Set option : "QUOTED_IDENTIFIER" return bad
> parameters
> for information, this is my trigger :
> CREATE TRIGGER COOP_article ON F_ARTICLE FOR insert AS
> SET NOCOUNT ON
> set arithabort on
> set concat_null_yields_null on
> set quoted_identifier on
> set ansi_nulls on
> set ansi_padding on
> set ansi_warnings on
> set numeric_roundabort off
> declare @.code varchar(17)
> select @.code=ar_ref from inserted
> begin
> */ replace if reference = 0 */
> if @.code='0'
> begin
> update f_article set ar_ref='test' from f_article join
> inserted on f_article.cbmarq=inserted.cbmarq
> end
> end
>
> if you ave an idea...
> thanks
> philned
>