Solved

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

Posted on 2006-11-11
3
581 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

24 Experts available now in Live!

Get 1:1 Help Now