Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

The request failed with HTTP status 404: Not Found

Posted on 2014-01-15
5
Medium Priority
?
4,422 Views
Last Modified: 2014-01-16
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
Comment
Question by:mutu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 

Author Comment

by:mutu
ID: 39784537
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
 
LVL 18

Accepted Solution

by:
Dennis Aries earned 1500 total points
ID: 39785205
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
 

Author Comment

by:mutu
ID: 39785646
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
 

Author Comment

by:mutu
ID: 39785775
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
 

Author Comment

by:mutu
ID: 39786817
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question