By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

Dynamic Web Services

P: n/a
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,
Marc
Mar 23 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
"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,
Marc

Mar 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.