question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rs.exe The Authentication Extension threw an unexpected exception

See original GitHub issue

Can rs.exe connect to SSRS if custom security extension is in use?

I’m getting Extension threw an unexpected exception or returned a value that is not valid: . (rsAuthorizationTokenInvalidOrExpired)

If possible any idea guide? or idea what could be wrong? If not, what are the alternatives? I’m using 2017

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
YvesRcommented, Mar 5, 2019

I would infact do it here (example, not tested):

public static bool VerifyUser(string userName)
{
  bool flag = false;
  #region VERIFICATION THROUGH OWN SECURITY
   // do your code here
    var informer = new InformerAuthentication();
  flag = informer.ActorExists(userName);
  #endregion
  #region VERIFICATION THROUGH ACTIVE DIRECTORY
  if ( !flag ) {
    var ad = new ADauthentication();
    flag = ad.IsExists(userName);
  }
  #endregion
  return flag;

}

And then you also have to implement this in CheckAccess for the required operations.

0reactions
Et3rnalcommented, Mar 4, 2019

I got you. Any idea where to start from if I want to do my own deployment tool? The problem in my case is that I need to make it easy for the client, I’m looking at the 3rd party deployment tools but I haven’t tested any of them yet. Have you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I workaround this SSRS authentication exception?
The Authentication Extension threw an unexpected exception or returned a value that is not valid: identity==null.
Read more >
SSRS 2014 Anonymous Authentication: Problem Solved!
SSRS had been installed on the web-front-end server before but that setup ... The Authentication Extension threw an unexpected exception or ...
Read more >
Log in fail to Reporting Services
AuthenticationExtensionException : The Authentication Extension threw an unexpected exception or returned a value that is not valid: . ---> System.
Read more >
Report Builder 2.0 security extension issues - Blog - Info Support
In our environment we were unable to use integrated security on the Report Server, so we decided use Forms Authentication and therefore the...
Read more >
SetSPN - SQL Server Reporting Services, Power View forum
The Authentication Extension threw an unexpected exception or returned a value that is not valid: . (rsAuthorizationTokenInvalidOrExpired) <a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found