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 8722105

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:20:07+00:00 2026-06-13T07:20:07+00:00

I currently have a SQL Server Reporting Services site which is not part of

  • 0

I currently have a SQL Server Reporting Services site which is not part of a domain (i know that is not ideal but I do not have an option in this situation). What I would like to do is programmatically log into the site from my ASP.NET MVC page and then redirect to the reporting services page to view the reports without having to type the username and password. I know this is not best practice to do this but in this situation it is what i need to do.

I am thinking of something like this but it is not working:

public ActionResult LogIntoReportingServices()
{
    HttpWebRequest wr = WebRequest.CreateHttp("http://example.com/Reports");
    NetworkCredential nc = new NetworkCredential("report_user", "password");
    wr.Credentials = nc;
    wr.GetResponse();

    return Redirect("http://example.com/Reports");
}

Im guessing my code is pretty far off from what is needed but I think you can understand what I am trying to do from looking at it. I am guessing I may need to POST to log into Reporting Services/IIS but i am not sure.

The version of Reporting Services I have is the one that Comes with SQL Server 2008 (not R2).
If someone can point me in the right direction that would be appreciated.

  • 0 0 Answers
  • 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-13T07:20:08+00:00Added an answer on June 13, 2026 at 7:20 am

    Looks like I am going to go with Jeroen’s suggestion from the above comment. (http://stackoverflow.com/questions/6144513/how-can-i-use-a-reportviewer-control-in-an-asp-net-mvc-3-razor-view)

    Thanks

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

Sidebar

Related Questions

I'm currently using Reporting Services from SQL Server 2012. I know that one of
I currently have this statement in my SQL View (SQL Server 2008 R2) which
Currently I have a powershell proccess that is scanning a SQL Server Table and
Currently I have Windows App which is directly opening database connection (SQL Server is
I currently have this sql statement that I wrote and it works but it's
I'm writing reports on SQL Server Reporting Server that have a number of hours
I have a SQL Server Reporting Services local (i.e. RDLC) report displayed in a
i have built a reporting services report off SQL server 2005 and am having
I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some
I have used SQL Server Business Intelligence Studio to create a Reporting Services 2008

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.