Author: nsmartin | Posted on: 9/23/2009 8:01:56 AM | Views : 442

I have a page that pulls a list of reports from our ReportServer and displays the list. It works fine when I view it both locally and within our domain, but when one of our testers from outside tries, the following error is generated when ListChildren() is called:  The request failed with HTTP status 401: Unauthorized
I'm using the following code, where the credential Username/Password/Domain are populated from textboxes:


Dim cred As New NetworkCredential("NetworkCredUsername", "NetworkCredPassword", "NetworkCredDomain") svcReporting.Credentials = cred svcReporting.PreAuthenticate = True Dim reportItems As CatalogItem() = svcReporting.ListChildren("/", False)I have also set <identity impersonate="true"/>


...

Go to the complete details ...