Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Reporting Services
»
Reporting Services
»
SSRS automatically run report & save pdf...
15 posts, Page 1 of 2
1
2
»»
SSRS automatically run report & save pdf output to c:
Rate Topic
Display Mode
Topic Options
Author
Message
ismail casper
ismail casper
Posted Tuesday, December 01, 2009 7:07 AM
Valued Member
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 7:37 AM
Points: 57,
Visits: 127
Good day, I need help.
I normally run a report via url and add the &rs:Format=PDF to open file directly in PDF format.
But i now need to automatically run the report onclick of an html button & save pdf to c:
Is this possible?
Regards
Post #826642
Arunkumar S P
Arunkumar S P
Posted Tuesday, December 01, 2009 9:17 PM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, May 09, 2012 10:59 PM
Points: 230,
Visits: 870
Hi,
Yes it is possible. Use webservice.
Hope the below url will help you.
http://msdn.microsoft.com/en-us/library/aa258532(SQL.80).aspx
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Please feel free to let me know if you are not clear or I’ve misunderstood anything.
Thanks,
Arunkumar S P
Post #827182
ismail casper
ismail casper
Posted Wednesday, December 02, 2009 1:35 AM
Valued Member
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 7:37 AM
Points: 57,
Visits: 127
Thank You - very confusing
is there not an easir option!
Post #827245
nigel.
nigel.
Posted Thursday, December 03, 2009 9:49 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 3:57 AM
Points: 1,163,
Visits: 2,600
You need to realise that you can't save a file to the C: drive from within a web browser without user intervention because of security issues.
You will *always* get the dialog box up asking what you want to do with the file, 'Open it' or 'Save it'.
Can you imagine the havoc that could be caused if this could be circumvented.
You can either use the URL method you have been using, in which case you get the dialog to Save or Open the file, or use the Web Service method as previously mentioned. Although, if you use this method you will need to write a windows app to enable you to write to the users local disk. Using ASP.NET will only allow you to render the file on the server then serve it back to the user in the browser whereupon you will get the 'Open/Save' dialog again. Back to square one.
--
Nigel
Useful Links:
How to post data/code on a forum to get the best help
The "Numbers" or "Tally" Table - Jeff Moden
Post #828318
ismail casper
ismail casper
Posted Thursday, December 03, 2009 11:48 PM
Valued Member
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 7:37 AM
Points: 57,
Visits: 127
Thank You -
i will be asking the users to save & upload the fiel.
Regards
Post #828654
nigel.
nigel.
Posted Friday, December 04, 2009 1:47 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 3:57 AM
Points: 1,163,
Visits: 2,600
I did have some more ideas:
1. Write an ActiveX control. But if you thought the code example for the web service was complicated then I don't think this is the solution for you.
2. Using ASP.NET and the SSRS Web Service you could create a page that would render and save the report to a network share.
Hope you get your problem solved.
--
Nigel
Useful Links:
How to post data/code on a forum to get the best help
The "Numbers" or "Tally" Table - Jeff Moden
Post #828684
Dave Ballantyne
Dave Ballantyne
Posted Friday, December 04, 2009 1:52 AM
SSCommitted
Group: General Forum Members
Last Login: Friday, May 10, 2013 4:07 PM
Points: 1,943,
Visits: 8,227
I have a CLR routine that mails reports on my blog here
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/08/27/direct-emailing-of-ssrs-reports-via-sqlclr.aspx
It should be fairly simple to modify that.
Clear Sky SQL
My Blog
Kent user group
Post #828685
Arunkumar S P
Arunkumar S P
Posted Friday, December 04, 2009 2:08 AM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, May 09, 2012 10:59 PM
Points: 230,
Visits: 870
Good article Dave.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Please feel free to let me know if you are not clear or I’ve misunderstood anything.
Thanks,
Arunkumar S P
Post #828690
ismail casper
ismail casper
Posted Friday, December 04, 2009 2:35 AM
Valued Member
Group: General Forum Members
Last Login: Wednesday, February 20, 2013 7:37 AM
Points: 57,
Visits: 127
Thank You All, i can't create the project in VS.
No other method
Post #828701
nigel.
nigel.
Posted Friday, December 04, 2009 2:41 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 3:57 AM
Points: 1,163,
Visits: 2,600
ismail casper (12/4/2009)
Thank You All, i can't create the project in VS.
What do you mean by "can't"?
- You don't have visual Studio?
- You get an error when you try?
- Or something else?
Please give details.
--
Nigel
Useful Links:
How to post data/code on a forum to get the best help
The "Numbers" or "Tally" Table - Jeff Moden
Post #828704
« Prev Topic
|
Next Topic »
15 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.