Showing posts with label described. Show all posts
Showing posts with label described. Show all posts

Tuesday, March 27, 2012

forms authentication RSAccessdenied

Hello,
I try to get the sample for the forms authentication running.
I registered the first user as described in the instracutions and the user
was added to the database.
If I try to logon with this useraccount I receive the following error:
The permissions granted to user 'UserAdmin' are insufficient for performing
this operation. (rsAccessDenied)
UserAdmin is the username I created.
Have somebody expirienced this problem or have somebody a hint how I can
resolve this?
Thanks!I solved this in the following way:
I used the C Sharp instade of the vb sample. And with C# Sample the Login
seems to work.
The Report manager still doesnt work. I receive allways:
Object reference not set to an instance of an object.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
Microsoft.ReportingServices.UI.GlobalApp.Application_AuthenticateRequest(Object sender, EventArgs e) +44
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +64
Can somebody help on this subject?
"Dev Main" wrote:
> Hello,
> I try to get the sample for the forms authentication running.
> I registered the first user as described in the instracutions and the user
> was added to the database.
> If I try to logon with this useraccount I receive the following error:
> The permissions granted to user 'UserAdmin' are insufficient for performing
> this operation. (rsAccessDenied)
> UserAdmin is the username I created.
> Have somebody expirienced this problem or have somebody a hint how I can
> resolve this?
> Thanks!

Monday, March 26, 2012

Forms Authentication and Unattended Report Execution

I have implemented forms authentication security extension as described in the MSDN whitepaper "Using Forms Authentication in Reporting Services" and it works fine. However, I ran into problems trying to create scheduled execution snapshot for a report when it fails with unable to authenticate. How do I configure RS to authenticate for unattended execution with forms authentication?

Thanks,Please disregard this one. Stopping and restarting the ReportServerService resolved the issue.

Forms Authentication and Unattended Report Execution

I have implemented forms authentication security extension as described in the MSDN whitepaper "Using Forms Authentication in Reporting Services" and it works fine. However, I ran into problems trying to create scheduled execution snapshot for a report when it fails with unable to authenticate. How do I configure RS to authenticate for unattended execution with forms authentication?

Thanks,Please disregard this one. Stopping and restarting the ReportServerService resolved the issue.sql

Forms Authentication and integrating with an existing Web App

Hello,
I was hoping someone could help me with this.
I have set up a Reporting Services installation to use forms authentication as described on the MSDN page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/ufairs.asp. By itself it is working fine.
Now I would like to integrate access to reports from this instance of Reporting Services from into an existing ASP.NET Web Application that also uses forms authentication.
The problem I have is that I can't seem to get both Reporting Services and the Web Application to use a common forms authentication cookie. Even if I give the <forms> element the same name in both the web.config for the report server and the web.config for the custom web app - one application still don't seem to see the authentication cookie generated by the other.
The ultimate goal is to have a web application, with a single forms authentication login page, that enables users to access reporting services reports.
Any help would be greatly appreciated.
Sincerely,
DannyI just came across the article 'Forms Authentication Across Applications' that discusses the requirement of matching attributes in the forms element and machineKey element.
I assume this matches my scenario so I will try it out and see how it goes.
Please, do reply to this post however if you have anything to contribute.
"Danny" wrote:
> Hello,
> I was hoping someone could help me with this.
> I have set up a Reporting Services installation to use forms authentication as described on the MSDN page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/ufairs.asp. By itself it is working fine.
> Now I would like to integrate access to reports from this instance of Reporting Services from into an existing ASP.NET Web Application that also uses forms authentication.
> The problem I have is that I can't seem to get both Reporting Services and the Web Application to use a common forms authentication cookie. Even if I give the <forms> element the same name in both the web.config for the report server and the web.config for the custom web app - one application still don't seem to see the authentication cookie generated by the other.
> The ultimate goal is to have a web application, with a single forms authentication login page, that enables users to access reporting services reports.
> Any help would be greatly appreciated.
> Sincerely,
> Danny