views:

154

answers:

0

I have a brand new WCF client (I added a service reference through VS2008) which calls an older ASP.NET service app. The ASP.NET app is hosted in IIS 6 on Windows Server 2003 and allows Windows Authentication and Basic Authentication (configured on the virtual directory for the web site).

One of the places I'm deploying my client to is a standalone workstation and the service will have no reference to the users on the workstation so I can't use the Windows Authentication. That's fine, so I set my security settings in my client to be mode="TransportCredentialOnly" and the clientCredentialType="Basic". I then go ahead an specify the username and password in code on the proxy object.

When I finally run the client, it fails the call to the service with a 401 authentication error.

Has anyone experienced a similar problem? If so how did you remedy?