Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-11
3
Medium Priority
?
588 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
1 Comment
 
LVL 13

Accepted Solution

by:
newyuppie earned 2000 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

876 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