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 9157309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:59:02+00:00 2026-06-17T12:59:02+00:00

I am working on a form based auth module for MS SQL reporting Services

  • 0

I am working on a form based auth module for MS SQL reporting Services which is described here:

So far so good, but I run into this problem.
The URL I call redirect to the login page to authenticate and then the page redirect back to the return url.

URL sample call:

http://thor/ReportServer/Pages/ReportViewer.aspx?%2fSampleUserReport&rs:Command=Render

This line crash:

FormsAuthentication.RedirectFromLoginPage(m_username, false);

Exception:

System.Web.HttpException: Der für die Umleitung von Anforderungen angegebene Rückgabe-URL ist ungültig.
   bei System.Web.Security.FormsAuthentication.GetReturnUrl(Boolean useDefaultIfAbsent)
   bei System.Web.Security.FormsAuthentication.GetRedirectUrl(String userName, Boolean createPersistentCookie)
   bei TQsoft.Windows.Products.SSRS.Authentication.Logon.ServerBtnLogon_Click(Object sender, EventArgs e)

So after investigating and debugging I found out if I skip &rs:Command=Render it works.

So the only special char in there I can imagine making problem is the : char.

Any idea how to make it work since reporting services are working with those in the navigation a lot.

UPDATE

It turns out that I have to redirect myself like this:

Response.Redirect(Request.QueryString["ReturnUrl"].Replace(":","%3A"));
Context.ApplicationInstance.CompleteRequest();

But this throws another exception:

System.Threading.ThreadAbortException: Der Thread wurde abgebrochen.
   bei System.Threading.Thread.AbortInternal()
   bei System.Threading.Thread.Abort(Object stateInfo)
   bei System.Web.HttpResponse.End()
   bei System.Web.HttpResponse.Redirect(String url, Boolean endResponse)
   bei System.Web.HttpResponse.Redirect(String url)
   bei TQsoft.Windows.Products.SSRS.Authentication.Logon.ServerBtnLogon_Click(Object sender, EventArgs e)

I am really a rookie on asp.net, but start to hate it while RoR wins atm to me.

  • 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-17T12:59:04+00:00Added an answer on June 17, 2026 at 12:59 pm

    I had this issue before but with hebrew char that I wanted to pass using URL link.

    Try to convert the char using %3A.

    Edit

    I use Google translate to convert those chars: just write the chars/String, hit translate and copy the relevant part in the URL.

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

Sidebar

Related Questions

I have a web project working fine in JBOSS with form-based auth. But when
I am working on web form which collects certain user information from users and
I'm working with a form that I've altered from another site I created, which
I'm working on implementing the code suggested here: Enforcing password strength requirements with django.contrib.auth.views.password_change
I am working on a form wizard based on JSON data feed using jquery.dform.
I am working on a springMVC project in which the user authentication is based
I am working on a form quite complicated. This form is based on an
I'm working on a multi-page form. Here's the outline of its function: Part One:
I have a form select which changes the div based on what is selected.
I am working with C# Form based application with Access as DB. And getting

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.