Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

getting HTTP 404 when access aspdotnet webservice in 2003 server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Praveen - 01 Nov 2005 05:29 GMT
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
Steven Cheng[MSFT] - 01 Nov 2005 10:00 GMT
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

Signature

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


--------------------
From: "Praveen" <praveen@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: <undqWzp3FHA.128@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!tk2msftngp13.phx.gbl
Xref: TK2MSFTNGXA01.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
Steven Cheng[MSFT] - 03 Nov 2005 15:14 GMT
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

Signature

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

--------------------
X-Tomcat-ID: 145118871
References: <undqWzp3FHA.128@tk2msftngp13.phx.gbl>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_0001_649C1B7A"
Content-Transfer-Encoding: 7bit
From: stcheng@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: <9MVK2Ks3FHA.1144@TK2MSFTNGXA01.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
Lines: 145      
Path: TK2MSFTNGXA01.phx.gbl
Xref: 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

Signature

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


--------------------
From: "Praveen" <praveen@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: <undqWzp3FHA.128@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!tk2msftngp13.phx.gbl
Xref: TK2MSFTNGXA01.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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.