Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Can't update web reference when .disco moves.

Thread Tools

Can't update web reference when .disco moves.

Posts: n/a
Is this a bug? I've moved my working copy of a web service project
from a remote server to my workstation, and have edited my consuming
app's web.config to refer to the new .asmx location. It keeps trying
to access the old web service!

I've tried opening the solution and updating the consumer's web
reference, and get these errors, in this order:
"There was an error downloading 'http://newServer/service.asmx?
"There was an error downloading 'http://oldServer/service.asmx?
The request failed with the error message:
[error about service not being found ('cause I moved it!)]"

But using Fiddler, I don't see -any- requests for anything (.disco,
wsdl, or otherwise) at the new location, only the old location. My
consuming app's .disco, .discomap, and .wsdl all contain URLs for only
the old location.

Isn't updating my web reference supposed to update everything based on
the URL I enter in web.config? Currently I can only work around this
by removing the web reference and re-adding it, which is unsuitable
for a deployment situation. If this is the case, what's the point of
making the service URL configurable in web.config?

Jeff S.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update On The Windows Phone 7 Update Update Lawrence D'Oliveiro NZ Computing 2 02-25-2011 08:03 AM
Web reference - Reference.cs cannot be updated ToTo ASP .Net Web Services 1 12-04-2006 07:50 PM
reference.vb missing after web reference update cypress phill ASP .Net Web Services 0 03-29-2006 09:10 AM
ASP.NET 2.0: master pages and web user controls: reference to a non-shared member requires an object reference bminder ASP .Net 0 06-24-2005 12:22 AM
web reference interfering with reference to component Dude ASP .Net 0 11-09-2004 11:53 AM