473,246 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

getting HTTP 404 when access aspdotnet webservice in 2003 server

Hi All,

I have made a webservice in C# and it works fine in my machine. I ran into a
crazy problem when I wanted to deploy it in windows 2003 server. I have run
"aspnet_regiis.exe -i" to make sure that the extensions for .asmx file etc
are in place. I am getting http 404 when I give the url for the asmx file.

the http error code is wrong because I am dead sure that the file is there.
could you please let me know what else needs to be done.

Also there is a chance that the IIS lockdown tool might have been run on
this server.

Thanks in advance,
Praveen

Nov 23 '05 #1
2 5245
Hi Praveen,

Welcome to ASPNET newsgroup.
From your description, you've developed an ASP.NET webservice. After you
deployed to a WINDOWS 2003 server machine, you always get 404 error when
try visiting that webservice, yes?

As for the WIN2003 server, is there any other version of the .NET framework
installed or just only framework 1.1? Currently I suggest you try creating
a simple helloworld asp.net web page in the IIS site 's root dir and visit
it throw web browser to see whether it works. This can help confirm whether
the asp.net runtime works correctly. Also, please check in the IIS server's
manager to see whether the ASP.NET service extension has been prohibited,
when being prohibited, the IIS server will also return 404 for unallowed
extension types. In addition, you can check the 404 error's error entry in
IIS LOG file to see whether the loged request path mapping to the actual
path you deployed and configured in IIS.

If there're any other findings, please feel free to post here. Thanks,

Steven Cheng
Microsoft Online Support

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

--------------------
From: "Praveen" <pr*****@newsgroup.nospam>
Subject: getting HTTP 404 when access aspdotnet webservice in 2003 server
Date: Tue, 1 Nov 2005 04:29:12 -0000
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <un*************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 18-116-109-203.client.iqara.net 203.109.116.18
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
microsoft.public.dotnet.framework.webservices:8421
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi All,

I have made a webservice in C# and it works fine in my machine. I ran into
a
crazy problem when I wanted to deploy it in windows 2003 server. I have run
"aspnet_regiis.exe -i" to make sure that the extensions for .asmx file etc
are in place. I am getting http 404 when I give the url for the asmx file.

the http error code is wrong because I am dead sure that the file is there.
could you please let me know what else needs to be done.

Also there is a chance that the IIS lockdown tool might have been run on
this server.

Thanks in advance,
Praveen


Nov 23 '05 #2
Hi Praveen,

Just add a followup to see whether you've got any progress on this since I
haven't heard from you from then. If there're anything else we can help,
please feel free to post here. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
X-Tomcat-ID: 145118871
References: <un*************@tk2msftngp13.phx.gbl>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_0001_649C1B7A"
Content-Transfer-Encoding: 7bit
From: st*****@online.microsoft.com (Steven Cheng[MSFT])
Organization: Microsoft
Date: Tue, 01 Nov 2005 09:00:16 GMT
Subject: RE: getting HTTP 404 when access aspdotnet webservice in 2003
server
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Message-ID: <9M**************@TK2MSFTNGXA01.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
Lines: 145
Path: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices:8422
NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122

Hi Praveen,

Welcome to ASPNET newsgroup.
From your description, you've developed an ASP.NET webservice. After you
deployed to a WINDOWS 2003 server machine, you always get 404 error when
try visiting that webservice, yes?

As for the WIN2003 server, is there any other version of the .NET framework
installed or just only framework 1.1? Currently I suggest you try creating
a simple helloworld asp.net web page in the IIS site 's root dir and visit
it throw web browser to see whether it works. This can help confirm whether
the asp.net runtime works correctly. Also, please check in the IIS server's
manager to see whether the ASP.NET service extension has been prohibited,
when being prohibited, the IIS server will also return 404 for unallowed
extension types. In addition, you can check the 404 error's error entry in
IIS LOG file to see whether the loged request path mapping to the actual
path you deployed and configured in IIS.

If there're any other findings, please feel free to post here. Thanks,

Steven Cheng
Microsoft Online Support

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

--------------------
From: "Praveen" <pr*****@newsgroup.nospam>
Subject: getting HTTP 404 when access aspdotnet webservice in 2003 server
Date: Tue, 1 Nov 2005 04:29:12 -0000
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <un*************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 18-116-109-203.client.iqara.net 203.109.116.18
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
microsoft.public.dotnet.framework.webservices:8421
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Hi All,

I have made a webservice in C# and it works fine in my machine. I ran into
a
crazy problem when I wanted to deploy it in windows 2003 server. I have run
"aspnet_regiis.exe -i" to make sure that the extensions for .asmx file etc
are in place. I am getting http 404 when I give the url for the asmx file.

the http error code is wrong because I am dead sure that the file is there.
could you please let me know what else needs to be done.

Also there is a chance that the IIS lockdown tool might have been run on
this server.

Thanks in advance,
Praveen


Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
2
by: Sachin | last post by:
Scenario: Machine A: ASP.NET Web UI IIS 6.0 Windows Server 2003 Impersonation Account: domain\Acct1 Machine B: ASP.NET Web Service IIS 6.0
3
by: JerryK | last post by:
Hi, I have an ASP.net page, written in VB.net. In that code I want to access a validator web services that is secured via SSL. I have installed the certificate, via a .pfx file, on the system....
8
by: Tim Reynolds | last post by:
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no...
0
by: Matthew B. Lehrman | last post by:
I've googled all over the place trying to get answer to this question and some things have come close, but nothing quite. Asp.NET 1.1, Visual Studio 2003 I am writing Visual Basic apps. I can...
0
by: CAIBird | last post by:
hi, i've been developing a webservice on machine A and one WebMethod of this webservice will connect to SQL Server2000 on machine B using a connect string defined in Web.config as below: <add...
1
by: Mahesh Devjibhai Dhola | last post by:
Hi, Scenario: The webservice was developed on windows 2000 Pro and deployed previously on windows XP pro for testing. We have tested for many days. The client for that service was 30+ and...
1
by: Developer | last post by:
Dear Group Member, I am sorry if I have posted this query in wrong group, but since this is connected with ASPO.NET2.0, thought of posting here. I am doing a very simple program where I am...
2
by: jahu | last post by:
Hello! I'm unable to use a webservice exposed on a Sql Server 2005 by using the MSSOAP.SoapClient in Excel 2003 with VBA. The aim I'm focuced on, is to write a function for a Excel Sheet wich...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.