PDA

View Full Version : How do I redirect an ASP.Net Web Service?


IPAlarms
12-20-2011, 06:25 PM
I have a bunch of applications out in the field that call an ASP.Net web service running on my DASP 2003 server. I want to upgrade my server to 2008/IIS7 but need a way to redirect calls to the old web services over to another server.

I tried uploading a .htaccess file, but that didn't work. Any suggestions on how I can do it?

dmitri
12-21-2011, 01:23 AM
.htaccess is apache server file. On IIS server you should use httpRedirect element in web.config file instead. Please see the following article (http://www.iis.net/ConfigReference/system.webServer/httpRedirect) for more details. On IIS 7, you can configure httpRedirect through IIS Manager (http://support.discountasp.net/KB/a400/how-to-connect-to-windows-2008iis-7-using-microsoft.aspx).