Hi,
I want to thank everybody who helped me out so far with my previous calls for help.
At the moment I'm trying to develop some custom reports and I want to use the Team System web services for this. Currently I run my code by using a simple Windows Forms application where I can enter the my Team project.
When I execute the method GetListOfBuilds from the BuildStore.asmx in internet explorer, I don't encounter problems. But when I execute this method from code, I get an
"The request failed with HTTP status 401: Unauthorized." Does anyone have any idea, what can be the problem Runs Visual Studio 2005 under another account than the one I use to log on to Windows Must I use impersonation
Thanks in advance for your help.
Kind regards,
Karine Bosch

Using the Team System web services from code
muysal
Hi,
I think you just need add one line:
buildStore.Credentials = System.Net.
CredentialCache.DefaultCredentials;Best regards,
Tomasz
Charlie Audritsh
Hi Tomasz,
Thanks for your reply. It works!
Kind regards,
Karine