PDA

View Full Version : Reporting Services Webservice Rendering


pmasters
11-28-2005, 07:12 AM
<!--StartFragment -->Ive sucessfully got a a web service to interact with RS and output a report in HTML. As Per the example in the KB.Obviously this isn't so nice to print out. Im trying to get it to output it into PDF format with the following:-

results = rs.Render("/rpcentrenet/RPCentre Live Reports/Sunderland/Sunderland Active Course Details", "PDF", Nothing, "", _
Nothing, _
Nothing, Nothing, Nothing, _
"Application/pdf", _
Nothing, Nothing, Nothing)

But it keeps comming up with the PDF is corrupt. Any Ideas to what is up or has any one successfully rendered the reporting service via a webservice into PDF?Any sample code would be gratefully recieved

pmasters
11-28-2005, 10:46 AM
http://community.discountasp.net/emoticons/hop.gifFound a solution now.

bruce
11-28-2005, 10:57 AM
Check this kb article, http://support.microsoft.com/?kbid=875447

i got it to work on my test account using this code.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)