Showing posts with label reportserver. Show all posts
Showing posts with label reportserver. Show all posts

Monday, March 26, 2012

Forms Authentication

Hi,
After two days of work I can't resolve my problem. I implemented the
Custom Security Sample. The http://myMachineName/Reportserver work
properly when I connected it.
I started getting the following error when I try to connect to Report
Manager:
Access denied
The Report Service is installed in my machine and the Report Server
Database in another server.
Can anybody help me please?
Thanks.Gave,
Did you disable impersonation for the Report Manager Virtual Directory?
Are you logging into Report Manager with the same username defined in
the node
<AdminConfiguration>
<UserName>username</UserName>
</AdminConfiguration>
in the RSReportServer.config file?
Andy Potter
Andy Potter|||Andy,
Thanks for the reply
Yes, in Report Manager Virtual Directory the anonymous access is
checked and I used the same user that are in RSReportServer.config
file.
What other issue can be?
Thanks.
Potter ha escrito:
> Gave,
> Did you disable impersonation for the Report Manager Virtual Directory?
> Are you logging into Report Manager with the same username defined in
> the node
> <AdminConfiguration>
> <UserName>username</UserName>
> </AdminConfiguration>
> in the RSReportServer.config file?
> Andy Potter
>
>
> Andy Potter|||Gave,
Put some breakpoints in your extension and step through the CheckAccess
overloads in the Authorization.cs class. Specifically, look at the
comparison that checks to see if the user logging in matches the
administrator username.
// If the user is the administrator, allow unrestricted access.
if (0 == String.Compare(userName, m_adminUserName, true,
CultureInfo.CurrentCulture))
return true;
Andy Potter|||Andy,
Thanks again. I resolved my problem; I forgot to change <identity
impersonate="true"/> to <identity impersonate="false"/>.
Sorry and Thanks a lot for your time.
Gave.
Potter ha escrito:
> Gave,
> Put some breakpoints in your extension and step through the CheckAccess
> overloads in the Authorization.cs class. Specifically, look at the
> comparison that checks to see if the user logging in matches the
> administrator username.
> // If the user is the administrator, allow unrestricted access.
> if (0 == String.Compare(userName, m_adminUserName, true,
> CultureInfo.CurrentCulture))
> return true;
> Andy Pottersql

FormAuthentication

Hi i succeeded in just getting of ReportManager,ReportServer browsers.
Now problem r
*I am not working with RS Programming .I am working all by designing only*
1)After i registerd name and password i can't able to logon into
reportmanager.
I am getting error like
" The request failed with HTTP status 401: Access Denied. "
2)I am loging on to reportserver but i can't view the reports .
Here error is like
The encrypted value for configuration setting
UnattendedExecutionAccount\UserName cannot be decrypted.
(rsFailedToDecryptConfigInformation) Get Online Help
Invalid length for a Base-64 char array.
Now where i made mistake.
if u know plz help me
Thanks!
simmiThis happens due to the fact that RS cannot decrypt the logonCred element in
the RSReportServer.config. Did you by any chance made any mods to the
Machine.config file ' To my understanding what happens is when you are
installing the RS its prompts you at one stage about the account info under
which the RS will run and then it stores all the info encrypted in the
RSReportserver.config file. But in later if you decide to change the local
user or aspnet user account the RS fails to decrypt and hence you get this
error. OK the workaround is you will have to run the the rsconfig and
rskeymgmt utilities to get it working. see the books online for more info
about how to run these scripts and the params that need to be passed.
My suggestion is simply reinstall the RS!!
Hope it helps!!
"simmi" wrote:
> Hi i succeeded in just getting of ReportManager,ReportServer browsers.
> Now problem r
> *I am not working with RS Programming .I am working all by designing only*
> 1)After i registerd name and password i can't able to logon into
> reportmanager.
> I am getting error like
> " The request failed with HTTP status 401: Access Denied. "
> 2)I am loging on to reportserver but i can't view the reports .
> Here error is like
> The encrypted value for configuration setting
> UnattendedExecutionAccount\UserName cannot be decrypted.
> (rsFailedToDecryptConfigInformation) Get Online Help
> Invalid length for a Base-64 char array.
> Now where i made mistake.
> if u know plz help me
>
> Thanks!
> simmi
>|||Hi ,
it is working fine when i used windows authentication.But it is not working
in formauthentication.thats what my problem.so if u know can u hel me?
Thanks!
shahab" wrote:
> This happens due to the fact that RS cannot decrypt the logonCred element in
> the RSReportServer.config. Did you by any chance made any mods to the
> Machine.config file ' To my understanding what happens is when you are
> installing the RS its prompts you at one stage about the account info under
> which the RS will run and then it stores all the info encrypted in the
> RSReportserver.config file. But in later if you decide to change the local
> user or aspnet user account the RS fails to decrypt and hence you get this
> error. OK the workaround is you will have to run the the rsconfig and
> rskeymgmt utilities to get it working. see the books online for more info
> about how to run these scripts and the params that need to be passed.
> My suggestion is simply reinstall the RS!!
> Hope it helps!!
> "simmi" wrote:
> > Hi i succeeded in just getting of ReportManager,ReportServer browsers.
> > Now problem r
> >
> > *I am not working with RS Programming .I am working all by designing only*
> >
> > 1)After i registerd name and password i can't able to logon into
> > reportmanager.
> >
> > I am getting error like
> >
> > " The request failed with HTTP status 401: Access Denied. "
> >
> > 2)I am loging on to reportserver but i can't view the reports .
> >
> > Here error is like
> >
> > The encrypted value for configuration setting
> > UnattendedExecutionAccount\UserName cannot be decrypted.
> > (rsFailedToDecryptConfigInformation) Get Online Help
> > Invalid length for a Base-64 char array.
> >
> > Now where i made mistake.
> >
> > if u know plz help me
> >
> >
> > Thanks!
> > simmi
> >|||Hi Shahab:-
I was reading your advice to Simmi which I (think) I basically have the
similar problem. The error message I got is:-
Reporting Services Error
----
The encrypted value for configuration setting Dsn cannot be decrypted.
(rsFailedToDecryptConfigInformation) Get Online Help
An internal error occurred on the report server. See the error log for more
details. (rsInternalError) Get Online Help
----
Microsoft Reporting Services
I am trying to follow your advice but I am not Entirely sure which parameter
that I need to run with the rskeymgmt.exe utility tool. Was it "Extract" ,
"Apply" , "Remove" or "Delete"? I know how to use the rsConfig.exe utility
but not sure with rskeymgmt.exe. Would you be able to help.
Thanks for reading this message.
"shahab" wrote:
> This happens due to the fact that RS cannot decrypt the logonCred element in
> the RSReportServer.config. Did you by any chance made any mods to the
> Machine.config file ' To my understanding what happens is when you are
> installing the RS its prompts you at one stage about the account info under
> which the RS will run and then it stores all the info encrypted in the
> RSReportserver.config file. But in later if you decide to change the local
> user or aspnet user account the RS fails to decrypt and hence you get this
> error. OK the workaround is you will have to run the the rsconfig and
> rskeymgmt utilities to get it working. see the books online for more info
> about how to run these scripts and the params that need to be passed.
> My suggestion is simply reinstall the RS!!
> Hope it helps!!
> "simmi" wrote:
> > Hi i succeeded in just getting of ReportManager,ReportServer browsers.
> > Now problem r
> >
> > *I am not working with RS Programming .I am working all by designing only*
> >
> > 1)After i registerd name and password i can't able to logon into
> > reportmanager.
> >
> > I am getting error like
> >
> > " The request failed with HTTP status 401: Access Denied. "
> >
> > 2)I am loging on to reportserver but i can't view the reports .
> >
> > Here error is like
> >
> > The encrypted value for configuration setting
> > UnattendedExecutionAccount\UserName cannot be decrypted.
> > (rsFailedToDecryptConfigInformation) Get Online Help
> > Invalid length for a Base-64 char array.
> >
> > Now where i made mistake.
> >
> > if u know plz help me
> >
> >
> > Thanks!
> > simmi
> >sql