Showing posts with label register. Show all posts
Showing posts with label register. Show all posts

Tuesday, March 27, 2012

Forms authentication fun

Anyway, I finally get forms authentication up and working (I think). I use the included example. I finally get to the point where I register a user. Then I modify the rsreportservice.config file to make the new user the 'admin' user. Now when I login, I have no permissions to anything. I restart the entire server. Now when I login I get a "Key cannot be null. Parameter name: key:". Any ideas here? Why the heck didn't ms just bake forms authentication as a selectable option! It is so complicated to setup, you have to modify like a bjillion config files.

I had exactly the same problem today.

Are you using the VB code sample? I usually code in C# but the customer I'm working with prefers VB so I used the VB sample solution and got the error you mention.

Using the C# sample solution instead works fine, in theory you should be able to just build the C# solution and drop the assembly in the appropriate folders.

I've not had a chance to take a look at what the difference is between the VB/C# solutions yet but that should get you going.

Totally agree with the config file madness.

Cheers,

Keith.

|||

Keith,

The problem is that the FormsAuthentication sample is incomplete and simply does not work. Only with help from other people on the forum was I able to get it working. I can email some working sample code to you if you wish.

|||

Hello Jon,

Can you send me some working example of FormsAuthentication?
A try Microsoft's example, but, isn’t working :(

Thanks!

Forms authentication fun

Anyway, I finally get forms authentication up and working (I think). I use the included example. I finally get to the point where I register a user. Then I modify the rsreportservice.config file to make the new user the 'admin' user. Now when I login, I have no permissions to anything. I restart the entire server. Now when I login I get a "Key cannot be null. Parameter name: key:". Any ideas here? Why the heck didn't ms just bake forms authentication as a selectable option! It is so complicated to setup, you have to modify like a bjillion config files.

I had exactly the same problem today.

Are you using the VB code sample? I usually code in C# but the customer I'm working with prefers VB so I used the VB sample solution and got the error you mention.

Using the C# sample solution instead works fine, in theory you should be able to just build the C# solution and drop the assembly in the appropriate folders.

I've not had a chance to take a look at what the difference is between the VB/C# solutions yet but that should get you going.

Totally agree with the config file madness.

Cheers,

Keith.

|||

Keith,

The problem is that the FormsAuthentication sample is incomplete and simply does not work. Only with help from other people on the forum was I able to get it working. I can email some working sample code to you if you wish.

|||

Hello Jon,

Can you send me some working example of FormsAuthentication?
A try Microsoft's example, but, isn’t working :(

Thanks!

Monday, March 26, 2012

Forms Authentication - Error about 'text/html; charset=utf-8'

I saw post on the same issue but it is not answered.
I use win2k server and reporting service standard edition. The register
function works fine. But When I try to log on to http://servername/reports, I
get the following error:
Client found response content type of 'text/html; charset=utf-8', but
expected 'text/xml'. The request failed with the error message: --
Reporting Services Erro
----
This operation is not supported in this edition of Reporting Services
(rsOperationNotSupported) Get Online Help
----
Microsoft Reporting Services --.
********************************************
Is this because of the Standard edition of reporting service?
Any help will be appreciated.
MichaelStandard edition doesn't support custom security extensions (which is what
the forms auth extension is).
http://www.microsoft.com/sql/reporting/productinfo/features.asp
--
Adrian M.
MCP
"bsanders" <missisummer@.community.nospam> wrote in message
news:F24683E8-1410-4C27-B478-6D2F7407FD42@.microsoft.com...
>I saw post on the same issue but it is not answered.
> I use win2k server and reporting service standard edition. The register
> function works fine. But When I try to log on to
> http://servername/reports, I
> get the following error:
> Client found response content type of 'text/html; charset=utf-8', but
> expected 'text/xml'. The request failed with the error message: --
> Reporting Services Error
> ----
> This operation is not supported in this edition of Reporting Services
> (rsOperationNotSupported) Get Online Help
> ----
> Microsoft Reporting Services --.
> ********************************************
> Is this because of the Standard edition of reporting service?
> Any help will be appreciated.
> Michael|||Hello Michael,
By default, Reporting Services uses a Windows-based authentication
extension, which uses Windows account protocols to verify the identities of
users who claim to have accounts on the system. Reporting Services uses a
role-based security system to authorize users. The Reporting Services
role-based security model is similar to the role-based security models of
other technologies.
Because security extensions are based on an open and extensible API, you
can create new authentication and authorization extensions in Reporting
Services. However, Security extension API is not supported in Reporting
Services Standard Edition.
For more detailed information, you can also refer to the following article:
Using Forms Authentication in Reporting Services
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/htm
l/ufairs.asp?frame=true
I hope the information is helpful.
Sophie Guo
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
=====================================================When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.