Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8698195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:40:49+00:00 2026-06-13T01:40:49+00:00

I have been working on an SSO integration of SSRS with our web application

  • 0

I have been working on an SSO integration of SSRS with our web application and I have not been able to get it to work. I have followed this example by Clife Green of MSFT and still cannot get it to work:

Reporting Services Single Sign On (SSO) Authentication – Part 1

Reporting Services Single Sign On (SSO) Authentication – Part 2

I have scoured the internet and searched MSDN documentation and still cannot get it to work. The error I keep getting is being thrown in the GetWebResponse from the example code is this:

Authorization ticket not received by LogonUser

I was able to make it work by passing my own cookie back and forth and checking that while ignoring the cookie managed by SSRS, but all calls I would make returned as Unauthenticated because I wasn’t utilizing the SSRS Session Token that was returned in the LogonUser which can be found in the response here:

response.Headers["RSAuthenticationHeader"]

However, even though my web service calls continue to work the Report Manager did not work and returned this error:

StringStartsWith can't accept null parameters
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:40:50+00:00Added an answer on June 13, 2026 at 1:40 am

    This was a tough one and there wasn’t a whole lot of information out there about the problems I was having. There were several things wrong.

    PROBLEM #1: The Report Manager was giving me this error:

    StringStartsWith can't accept null parameters
    

    SOLUTION #1: The <loginUrl> tag is required when implementing a custom or forms authentication in SSRS.

    I had to modify the RSReportServer.Config file to add my login page to the <loginUrl> tag. Once I added this and implemented the Login page (see UILogin.aspx in the examples) I no longer got the StringStartsWith error.

    File Location: *C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\RSReportServer.Config*

    <UI>
        <ReportServerUrl></ReportServerUrl>
        <PageCountMode>Estimate</PageCountMode>
        <CustomAuthenticationUI>
            <loginUrl>[YourUrl]</loginUrl>
            <UseSSL>False</UseSSL>
            <PassThroughCookies>
                 <PassThroughCookie>[YourSSOCookieName]</PassThroughCookie>
            </PassThroughCookies>
        </CustomAuthenticationUI>
    </UI>
    

    PROBLEM #2: The Report Manager and my Login page endlessly redirected to each other.

    This problem was because of two other issues.

    SOLUTION #2A: The SSRS Report Manager needs to know the name of the cookie to use for it’s authorization ticket.

    First, I had to modify the the Web.Config for the Report Server and tell it the name of the cookie to use for it’s authorization ticket. I used sqlAuthCookie in the example below.

    File Location: *C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\Web.Config*

    Change:

          <authentication mode="Forms">
          <forms loginUrl="[YourUrl]" name="sqlAuthCookie" requireSSL="false" />
      </authentication>
    

    SOLUTION #2B: SQL Server 2008 R2 had a bug – Service Patch 2 fixed it.

    I was still getting an endless redirect because SQL Server 2008 R2 introduced a bug in how it handled the cookie. In a nutshell the response from Report Manager tells your application the name of the SSRS authentication cookie in the header of the response:

    string cookieName = response.Headers["RSAuthenticationHeader"]
    

    When I set a breakpoint here I noticed that the cookie name was in fact this:

    sqlAuthCookie,sqlAuthCookie
    

    I did some searching and found this issue: SQL Server 2008 R2 (November CTP). Forms Authentication not working in SSRS

    Downloading and installing SQL Server 2008 R2 SP2 fixed this problem for me and now my solution works!

    Note: You can just install this instead of the SP: Cumulative Update package 5 for SQL Server 2008 R2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on a web-based device management system for work, and I
Have been working on this question for a couple hours and have come close
I have been working on a large java application. It is quite parallel, and
I have been working on this app for at least 3-4 months and just
I have been working on this sort of ATM (With a maximum of 50
I have been working on this project for quite a while and still I
I have been working on an application for android that utilizes the android comparability
I have been working all night and yesterday on this header section in css,
I have a pretty extensive application that has been built to provide SSO to
I have been working on an application in Xcode for a while now and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.