[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4712
  • Last Modified:

The request failed with HTTP status 404: Not Found

I inherited a VB application.  The application is made up of 4 projects.  One of the projects is a web service project.   I'm getting compile errors where the application is calling the web service from one of the other applications.  I think I need to configure something but I don't know the specifics of what I need to do.  I tried to update the web reference but get the following error:

There was an error downloading '*.asmx'. the request failed with HTTP status 404: Not Found

I'm not sure how to configure the project that calls the web service and set the web.config file or the settings.settings file.
0
mutu
Asked:
mutu
  • 4
1 Solution
 
mutuAuthor Commented:
I think this is a problem with web reference, settings.settings file and web.config.  I'm getting errors and not sure how to fix the settings.settings file.
0
 
Dennis AriesCEO @ Arkro ITCommented:
In the VB-project, the reference of the webservice has probably been set to a specific server and location.
The most easy way to fix this is to remove the reference, build and deploy your webservice and add a new reference to your newly build webservice. That should fix the problem.

This way, you don't have to edit the configurations/settings manually.
0
 
mutuAuthor Commented:
I am new to web services.  How do I remove the reference and deploy it and add a new reference.  do I do this on the web tab of the web service project?
0
 
mutuAuthor Commented:
I removed the web reference and added a new web reference so  now I can update the web reference.  I run the application and try to debug and step into the web service but I get the error 'Unable to automatically step into the server...'  This is what started my investigation into updating the web service.  I thought the application didn't know where to look but I still can't step into the web service.

Is this a different question?  If it is then I'll award points and post another question.
0
 
mutuAuthor Commented:
In the web service project on the Web tab I selected Use Local IIS Web Server.  I removed the old web reference from the project that was callilng the web service and added web reference and it worked.

Thank You
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now