Hi.....
I have developed a application which create the report and save it in
user selected location.
All this i done in one class. this application shows all the reports on
report server and render the report for user selected parameters. and
save it with folder browser option on a location. file name is report
name.
Now i have to write another class which will take this saved file name
as input and print that.
i found only printing method for a particular report but i dont want to
again render that report in print class. i have sen the available
articles on net which takes the report name and render it and print
that.
how i can access that saved file in another class and if i have to
again render that report then how i can pass those parameters value
again in render method in print class.
But for my application i have already render that report, so any one
please tell me how i can do that.
Thanks & Regards
DineshDinesh,
This is just a suggestion - what if you saved the report as a pdf file ?
Displaying a pdf file from a location on the hard disk doesn't need the
report engine anymore.
"Dinesh" <dinesht15@.gmail.com> wrote in message
news:1164717797.911571.169550@.j72g2000cwa.googlegroups.com...
> Hi.....
> I have developed a application which create the report and save it in
> user selected location.
> All this i done in one class. this application shows all the reports on
> report server and render the report for user selected parameters. and
> save it with folder browser option on a location. file name is report
> name.
>
> Now i have to write another class which will take this saved file name
> as input and print that.
> i found only printing method for a particular report but i dont want to
> again render that report in print class. i have sen the available
> articles on net which takes the report name and render it and print
> that.
>
> how i can access that saved file in another class and if i have to
> again render that report then how i can pass those parameters value
> again in render method in print class.
>
> But for my application i have already render that report, so any one
> please tell me how i can do that.
>
> Thanks & Regards
> Dinesh
>|||hi Andrei.......
Thanks for your reply.....
Ya you are right......It will not require report engine
again........
i want to know only that how i can print that saved file which is saved
in hard disk.
My problem is that i wrote print function in a seprate class. at that
place i am not able to access that file name with full path.......how
i can do this.......
if you know this please tell me..........
Thanks & Regards
Dinesh
Andrei wrote:
> Dinesh,
> This is just a suggestion - what if you saved the report as a pdf file ?
> Displaying a pdf file from a location on the hard disk doesn't need the
> report engine anymore.
> "Dinesh" <dinesht15@.gmail.com> wrote in message
> news:1164717797.911571.169550@.j72g2000cwa.googlegroups.com...
> > Hi.....
> >
> > I have developed a application which create the report and save it in
> > user selected location.
> >
> > All this i done in one class. this application shows all the reports on
> > report server and render the report for user selected parameters. and
> > save it with folder browser option on a location. file name is report
> > name.
> >
> >
> >
> > Now i have to write another class which will take this saved file name
> > as input and print that.
> >
> > i found only printing method for a particular report but i dont want to
> > again render that report in print class. i have sen the available
> > articles on net which takes the report name and render it and print
> > that.
> >
> >
> >
> > how i can access that saved file in another class and if i have to
> > again render that report then how i can pass those parameters value
> > again in render method in print class.
> >
> >
> >
> > But for my application i have already render that report, so any one
> > please tell me how i can do that.
> >
> >
> >
> > Thanks & Regards
> >
> > Dinesh
> >
Showing posts with label programatically. Show all posts
Showing posts with label programatically. Show all posts
Wednesday, March 28, 2012
Monday, February 27, 2012
HELP - How to specify no credentials programatically?
When we use the ReportingService2005.CreateReport () method to publish an RDL
file to the server (from a C# client application we've developed), there
doesn't seem to be a way to specify within the RDL that "No credentials are
required" for the datasource it uses. Nor does the CreateReport() method
accept a parameter to specify this. The system seems to default to
"Credentials Supplied by User" which is not what we need.
The datasource definition is internal to the RDL file (i.e. not a shared
one).
Does anyone know how to do this?
thanks in advance,
MichaelYou will need to call GetItemDataSources, modify the data source accordingly
and then call SetItemDataSources.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"MichaelM" <MichaelM@.discussions.microsoft.com> wrote in message
news:50C78B6E-EBC5-4D16-A207-21E75FC42A12@.microsoft.com...
> When we use the ReportingService2005.CreateReport () method to publish an
> RDL
> file to the server (from a C# client application we've developed), there
> doesn't seem to be a way to specify within the RDL that "No credentials
> are
> required" for the datasource it uses. Nor does the CreateReport() method
> accept a parameter to specify this. The system seems to default to
> "Credentials Supplied by User" which is not what we need.
> The datasource definition is internal to the RDL file (i.e. not a shared
> one).
> Does anyone know how to do this?
> thanks in advance,
> Michael
file to the server (from a C# client application we've developed), there
doesn't seem to be a way to specify within the RDL that "No credentials are
required" for the datasource it uses. Nor does the CreateReport() method
accept a parameter to specify this. The system seems to default to
"Credentials Supplied by User" which is not what we need.
The datasource definition is internal to the RDL file (i.e. not a shared
one).
Does anyone know how to do this?
thanks in advance,
MichaelYou will need to call GetItemDataSources, modify the data source accordingly
and then call SetItemDataSources.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"MichaelM" <MichaelM@.discussions.microsoft.com> wrote in message
news:50C78B6E-EBC5-4D16-A207-21E75FC42A12@.microsoft.com...
> When we use the ReportingService2005.CreateReport () method to publish an
> RDL
> file to the server (from a C# client application we've developed), there
> doesn't seem to be a way to specify within the RDL that "No credentials
> are
> required" for the datasource it uses. Nor does the CreateReport() method
> accept a parameter to specify this. The system seems to default to
> "Credentials Supplied by User" which is not what we need.
> The datasource definition is internal to the RDL file (i.e. not a shared
> one).
> Does anyone know how to do this?
> thanks in advance,
> Michael
Labels:
application,
client,
createreport,
credentials,
database,
developed,
file,
method,
microsoft,
mysql,
oracle,
programatically,
publish,
rdl,
reportingservice2005,
server,
specify,
sql
Subscribe to:
Posts (Atom)