I have an asp/asp.net application that uses forms authentication to
autheticate to the report server. My app constructs the url to access the
reports. No one has access to the report manager. Everything works great.
Now I've created a .net module that gets a report from the report server,
modifies it and deployes back to another folder. Its like an ad hoc solution.
For security reasons each role only has "View Report" permission. To do all
the backend stuff described in my "ad hoc" solution i'm forced to grant more
permissions such as create, delete datasources, reports to these roles. Is it
possible to programmically logon as a another user, get the report, modify it
and redeploy(.createReport)? This way my module has permissions to do this
and not the user. I'm using forms authentications. Does this make sense?found a solution:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_3d7q.asp
"Marvin" wrote:
> I have an asp/asp.net application that uses forms authentication to
> autheticate to the report server. My app constructs the url to access the
> reports. No one has access to the report manager. Everything works great.
> Now I've created a .net module that gets a report from the report server,
> modifies it and deployes back to another folder. Its like an ad hoc solution.
> For security reasons each role only has "View Report" permission. To do all
> the backend stuff described in my "ad hoc" solution i'm forced to grant more
> permissions such as create, delete datasources, reports to these roles. Is it
> possible to programmically logon as a another user, get the report, modify it
> and redeploy(.createReport)? This way my module has permissions to do this
> and not the user. I'm using forms authentications. Does this make sense?
Showing posts with label authentication. Show all posts
Showing posts with label authentication. Show all posts
Friday, February 24, 2012
.CreateReport using another credentials
Labels:
access,
app,
application,
asp,
authentication,
autheticate,
constructs,
createreport,
credentials,
database,
forms,
microsoft,
mysql,
net,
oracle,
report,
server,
sql,
url
Sunday, February 19, 2012
.ASP .Net on SQL2000\Win2000
Can anyone tell me what the SQL requirements are regarding using APS.NET are
?
For example, can it work with windows only authentication? Are there
articles out there I can refer to?
Thanks for your help.start with this..
http://support.microsoft.com/kb/247931/en-us|||That's what I needed. Thanks!
"Omnibuzz" wrote:
> start with this..
> http://support.microsoft.com/kb/247931/en-us
?
For example, can it work with windows only authentication? Are there
articles out there I can refer to?
Thanks for your help.start with this..
http://support.microsoft.com/kb/247931/en-us|||That's what I needed. Thanks!
"Omnibuzz" wrote:
> start with this..
> http://support.microsoft.com/kb/247931/en-us
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!
>
>
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!
>
>
Labels:
authentication,
database,
fallowed,
fomauthentication,
form,
microsoft,
msdn,
mysql,
oracle,
reportmanager,
server,
sql,
steps,
working
Subscribe to:
Posts (Atom)