WebException, HTTP 404

M

Miro

I have an application with a couple of aspx-sites in a
frame.aspx, consuming two web-services. (three projects
in the same

solution) I install this in a tree structure as follows:

<webbserver>\<ApplicationName>\<firstWebserviceName>
<webbserver>\<ApplicationName>\<secondWebserviceName>
<webbserver>\<ApplicationName>\<clientName>

When I run the pages I get the following error:

System.Net.WebException: The Request failed with HTTP
status 404: Object Not Found.

Stack Trace:
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadR
esponse(SoapClientMessage...
System.Web.Services.Protocols.SoapHttpClientProtocol.Invok
e(String methodName...
VaClient.DataAccess1.Service1.GetFromDatabase(...)
VaClient.WebForm2.Page_Load(...)

where VaClient is the namespace and GetFromDatabase is a
WebMethod in one of the web services.

I load several pages in the frameset and only the ones
consuming the webservice causes this error. The other
pages loads

fine. I guess it can't find the web service but I don't
know what to do. I thought it had something to do with
the

tree-structure but I installed it EXACTLY the same way on
another computer and it worked! I've checked the database
access

with a simple aspx so it's not the issue. Any suggestions?

Both computers are Windows 2000 SP4, MDAC 2.7, Framework
1.1

/Miro
 
M

MSFT

Hi Miro,

From the information, I suspect the web refference added in your ASP.NET
appplication is still pointing to the original web service (same with the
one on your development computer), not the one on the same server. in the
asp.net app folder, there should be a sub folder "Web
References\localhost", you may check the file here to see if the web
reference is correct.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top