Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run a batch file when a Crystal Report is opened 5 49
.NET 2008 VB and C# 6 39
Winform Module - What is the ASP.Net equiv 2 28
vb.net and creating a class 5 20
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 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