Showing posts with label form. Show all posts
Showing posts with label form. Show all posts

Monday, February 13, 2012

*******How to write a driver for RS?*********

Now I met this question: Our project need us must write a driver to retrive
data from file but not from database to form a report.
That is to say: I want retrive data from a text file to form a reporting
service.
How did I ?Read up on data processing extensions in RS help. It will tell you all about
it.
Bruce L-C
"Cao tt" <Caott@.discussions.microsoft.com> wrote in message
news:752AACD0-C405-49A8-8CBE-B6366AB2C1F8@.microsoft.com...
> Now I met this question: Our project need us must write a driver to
retrive
> data from file but not from database to form a report.
> That is to say: I want retrive data from a text file to form a reporting
> service.
> How did I ?
>|||Reporting Services Data Processing Extension (DP Extension). There are file
system based samples.
Basically you must implement a subset of the ADO.NET Data Provider plus some
Reporting Services extensions - the Reporting Services Data Provider to do
this using at least a Connection, Command, and DataReader. You do not have to
support SQL. It works quite nicely.

Saturday, February 11, 2012

* problem in form authentication*

Hi,
I am working with Fomauthentication in RS.
I fallowed all steps as it is which had given in Msdn.
My problem is
while working with ReportManager Users r regestring properly.But while iam
trying to logon with the same user an error has occured like "http error 401"
like that.
But i can able to entering into ReportServer with the same users accounts.
so can anybody help me to rectify that error.
Thanks!You need to set your report security like so:
if RS is your object for the reportingservice
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
If you want to use a specific user account for RS authentication, you would
use:
rs.Credentials = New System.Net.NetworkCredential("UserName",
"Password", "DOMAIN")
then set the URL to the report service.
rs.Url = "http://localhost/reportserver/reportservice.asmx"
Good luck.
=-Chris
"simmi" <simmi@.discussions.microsoft.com> wrote in message
news:DEDB591E-B0E4-4252-A156-822B68EC9324@.microsoft.com...
> Hi,
> I am working with Fomauthentication in RS.
> I fallowed all steps as it is which had given in Msdn.
> My problem is
> while working with ReportManager Users r regestring properly.But while iam
> trying to logon with the same user an error has occured like "http error
> 401"
> like that.
> But i can able to entering into ReportServer with the same users accounts.
> so can anybody help me to rectify that error.
> Thanks!|||Did you put the UILogin.aspx and Login.aspx pages in the web site? The
ReportServer is likely using the login method behind the scenes, but the
report manager is using forms authentication page redirection for login.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"simmi" <simmi@.discussions.microsoft.com> wrote in message
news:DEDB591E-B0E4-4252-A156-822B68EC9324@.microsoft.com...
> Hi,
> I am working with Fomauthentication in RS.
> I fallowed all steps as it is which had given in Msdn.
> My problem is
> while working with ReportManager Users r regestring properly.But while iam
> trying to logon with the same user an error has occured like "http error
> 401"
> like that.
> But i can able to entering into ReportServer with the same users accounts.
> so can anybody help me to rectify that error.
> Thanks!|||Whoops, I read "401" and thought "404".
Sounds about right.
--
Cheers,
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"Jeff A. Stucker" <jeff@.mobilize.net> wrote in message
news:%23XpR654EFHA.936@.TK2MSFTNGP12.phx.gbl...
> Did you put the UILogin.aspx and Login.aspx pages in the web site? The
> ReportServer is likely using the login method behind the scenes, but the
> report manager is using forms authentication page redirection for login.
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "simmi" <simmi@.discussions.microsoft.com> wrote in message
> news:DEDB591E-B0E4-4252-A156-822B68EC9324@.microsoft.com...
>> Hi,
>> I am working with Fomauthentication in RS.
>> I fallowed all steps as it is which had given in Msdn.
>> My problem is
>> while working with ReportManager Users r regestring properly.But while
>> iam
>> trying to logon with the same user an error has occured like "http error
>> 401"
>> like that.
>> But i can able to entering into ReportServer with the same users
>> accounts.
>> so can anybody help me to rectify that error.
>> Thanks!
>|||Hi thanks for ur help.But i could't get u r point.
in which file i have to set all these?
plz could u help me
Thanks!
"Christopher Conner" wrote:
> You need to set your report security like so:
> if RS is your object for the reportingservice
> rs.Credentials = System.Net.CredentialCache.DefaultCredentials
> If you want to use a specific user account for RS authentication, you would
> use:
> rs.Credentials = New System.Net.NetworkCredential("UserName",
> "Password", "DOMAIN")
> then set the URL to the report service.
> rs.Url = "http://localhost/reportserver/reportservice.asmx"
> Good luck.
> =-Chris
>
> "simmi" <simmi@.discussions.microsoft.com> wrote in message
> news:DEDB591E-B0E4-4252-A156-822B68EC9324@.microsoft.com...
> > Hi,
> > I am working with Fomauthentication in RS.
> > I fallowed all steps as it is which had given in Msdn.
> >
> > My problem is
> >
> > while working with ReportManager Users r regestring properly.But while iam
> > trying to logon with the same user an error has occured like "http error
> > 401"
> > like that.
> >
> > But i can able to entering into ReportServer with the same users accounts.
> >
> > so can anybody help me to rectify that error.
> > Thanks!
>
>|||Hi,
i set all r correctly.
"Jeff A. Stucker" wrote:
> Did you put the UILogin.aspx and Login.aspx pages in the web site? The
> ReportServer is likely using the login method behind the scenes, but the
> report manager is using forms authentication page redirection for login.
> --
> Cheers,
> '(' Jeff A. Stucker
> \
> Business Intelligence
> www.criadvantage.com
> ---
> "simmi" <simmi@.discussions.microsoft.com> wrote in message
> news:DEDB591E-B0E4-4252-A156-822B68EC9324@.microsoft.com...
> > Hi,
> > I am working with Fomauthentication in RS.
> > I fallowed all steps as it is which had given in Msdn.
> >
> > My problem is
> >
> > while working with ReportManager Users r regestring properly.But while iam
> > trying to logon with the same user an error has occured like "http error
> > 401"
> > like that.
> >
> > But i can able to entering into ReportServer with the same users accounts.
> >
> > so can anybody help me to rectify that error.
> > Thanks!
>
>