custom code + delegation = problem...

From: Jéjé (
Date: 06/14/05

Date: Tue, 14 Jun 2005 09:45:02 -0400


I have a custom aspx page which access RS (Reporting Services) using the
webservice interface.

I'm using the delegation (defautcredentialcache) to send the user
authentication to RS.
RS and my web application are on the same server.

this works fine in 2 cases:
* NT authentication used in both virtual directories (/reportserver & /
* Basic authentication used for /mycustomapp but NT authentication for

But I want to setup the Basic authentication for both the /reportserver & /
mycustomapp virtual folders.

I don't understand why using the default credential cache doesn't works.
my current work around is to detect if I'm in Basic authentication mode,
then a create a networkcredential object base on the current user login &

does it a RS related issue? or an ASP.Net one?