By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,274 Members | 2,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,274 IT Pros & Developers. It's quick & easy.

getting HTTP 404 when access aspdotnet webservice in 2003 server

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.