473,396 Members | 1,754 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,396 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 5252
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.