Unable to change URL for .NET reference to dynamic web service-Collection of common programming errors

Regardless of whether the web reference is set up as dynamic, note that you always have the option of setting the Url property on the web service object in code prior to calling the method on that object that performs the call.  This gives you full control over what URL is used.

> Settings.settings

Not sure what Settings.settings has to do with this.  Should only be app.config involved.

>  URL in the settings file

Not surprising, since I don’t think it uses a settings file.  It should use app.config (actually, yourexename.exe.config is the config file used but the build process makes a copy of app.config that is renamed this way and located in the same folder as the .exe).

>  it is still showing the old URL

IIRC, you won’t see this change in the Visual Studio designer.  This is a design-time thing, but at runtime it should use what is in app.config.

> so that you can change the URL elsewhere

A more correct description would be so that you can change the URL via the .config file.  For truly arbitrary control over the URL, you need to write code that sets the Url property as I mentioned earlier.

See this for more info on how dynamic web service references work: http://www.knowdotnet.com/articles/dynamicwebserviceurls.html