Is the Directory Security on the IIS of the staging box different from the
one on the dev box?
I do this all the time and don't even use the Credentials setting that you
mentioned.
Regards,
Pandu
--
blog:
www.thinkingMS.com/pandurang [quoted text, click to view] "Marc" wrote:
> I want to be able to reconfigure a web service client to point from a web
> service on a development platform to the same web service on a staging
> platform. I can't rebuild the app and reset the location and send out new
> assembly's to everyone. I am able to edit the app.config file and define a
> new URL(196.168.15.101) for the web service location. When I put in a
> symbolic link(rd1) that is defined in the Host file as "196.168.15.101" I get
> an HTTP 401 error(Access Denied). I can ping to "rd1" and get a reply. I am
> using Default Credentials as in the following:
> ser.Credentials = System.Net.CredentialCache.DefaultCredentials
>
> Any thoughts?
>
> Thanks,