Solved

Report Viewer - Username/Password - http status 401 - Unauthorized

Posted on 2006-11-11
3
580 Views
Last Modified: 2008-01-09
Hi there

I am making a call to reporting services through the report viewer.  I need to be able to authenticate a username and password to view the reports.

How would I go about authenticating a username and password?  I have tried messing about with report server credentials but can't seem to work it out.

Please note I am not using the web service SOAP calls, I am using the standard report viewer control in VB.net 2005.

many thanks in advance
0
Comment
Question by:DavidGreenfield
3 Comments
 
LVL 13

Accepted Solution

by:
newyuppie earned 500 total points
ID: 17922983
there is a SetDatabaseLogon method of the ReportDocument, where you can pass username, password, server and database to the Report. try using that
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now