You are calling the reporting services web service from another web
service - in order for this web service to successfully authenticate to
reporting services, it needs to be running in the identity of an account
which has permissions on reporting services AND you need to enter the
following in the constructor of the reporting services web service proxy:
VB:
Me.Credentials = System.Net.CredentialCache.DefaultCredentials
C#:
this.Credentials = System.Net.CredentialCache.DefaultCredentials
For more information on how to run an ASP.NET web application or web service
in a custom account, see the following article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod15.asp
If you're running IIS 6 (i.e. Windows Server 2003) then you can simply set
up an application pool with the custom account as the identity and the web
service will use the credentials of that account to access system resources.
[quoted text, click to view] "John Amason" <jamason@ics-associates.com> wrote in message
news:uecnuz4ZFHA.3356@TK2MSFTNGP15.phx.gbl...
> implemented the Form Authenication example which works fine.
>
> However, when I try calling the Reporting Web Service from another Web
> Service I get error message indicating try to redirect to Login.
>
> rs.Login("admin", "admin",null); return ok
>
> rs.Credentials = New System.Net.NetworkCredential("username", "password")
>
> but when trying the following I get error:
>
> CatalogItem[] catalogItems;
> catalogItems = rs.ListChildren("/samples", true);
>
> I am not using SSL.
>
> Do I need to set a cookie or something else?
>
>
>