473,770 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

404 Error in ASP.NET pages under Windows Server 2003

My ASP.NET application is working fine when I run under IIS Personal Web
Server in Windows 2000 machine. However, after I upload all the files to the
Windows Server 2003 machine, and tried to run the application, it has 404
error on all .aspx files. Even I re-compile and build the whole project in
Windows Server 2003, it couldn't help.

any ideas??
Nov 17 '05 #1
4 4047
"Matthew Louden" <ma*******@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
My ASP.NET application is working fine when I run under IIS Personal Web
Server in Windows 2000 machine. However, after I upload all the files to the Windows Server 2003 machine, and tried to run the application, it has 404
error on all .aspx files. Even I re-compile and build the whole project in
Windows Server 2003, it couldn't help.

any ideas??


Re-check the web site's home directory, or if it is a virtual directory,
that it has been created.

R
Nov 17 '05 #2
By Default, Windows Server 2003 is totally locked down.
With a default installation og Windows Server 2003 with
IIS added, you will only be able to serve static pages.
You need to allow the ASP.NET application to run.

Make sure you have turned on ASP.NET for your websites.

This setting is found under IIS Manager -> Web Service
Extensions. When you click on that folder, you will see
a list of applications to the right.

Select the ASP.NET one and then click Allow.

If you plan to run Asp pages on that server you will also
want to do the same thing for ASP.

Good Luck,

Keith
-----Original Message-----
My ASP.NET application is working fine when I run under IIS Personal WebServer in Windows 2000 machine. However, after I upload all the files to theWindows Server 2003 machine, and tried to run the application, it has 404error on all .aspx files. Even I re-compile and build the whole project inWindows Server 2003, it couldn't help.

any ideas??
.

Nov 17 '05 #3
Keith:

I just went to IIS Manager -> Web Service Extensions. I clicked on that
folder, you I couldn't see ASP.NET application on the right.

I then tried to add ASPX extension in a button, but I don't know the path.

Any ideas??
"Keith" <an*******@disc ussions.microso ft.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
By Default, Windows Server 2003 is totally locked down.
With a default installation og Windows Server 2003 with
IIS added, you will only be able to serve static pages.
You need to allow the ASP.NET application to run.

Make sure you have turned on ASP.NET for your websites.

This setting is found under IIS Manager -> Web Service
Extensions. When you click on that folder, you will see
a list of applications to the right.

Select the ASP.NET one and then click Allow.

If you plan to run Asp pages on that server you will also
want to do the same thing for ASP.

Good Luck,

Keith
-----Original Message-----
My ASP.NET application is working fine when I run under

IIS Personal Web
Server in Windows 2000 machine. However, after I upload

all the files to the
Windows Server 2003 machine, and tried to run the

application, it has 404
error on all .aspx files. Even I re-compile and build

the whole project in
Windows Server 2003, it couldn't help.

any ideas??
.

Nov 17 '05 #4
Here is what you should have by default...

All Unknown CGI Extensions
All Unknown ISAPI Extensions
Active Server pages
ASP.NET v1.1.4322
Front Page Server Extensions 2002
Internet Data Connector
Server Side Includes
WebDAV

If you are missing the ASP.NET v1.1.4322 you may need to
go back through and manage your application server.

I probably should have asked what version of 2003 that
you are using also. This applies to Standard and
Enterprise edition. I haven't installed Web edition, so
I am not real sure how it works. Any way you look at it,
You should have all of these for IIS. If you don't, you
will need to manage that aspect of the server. It sounds
like ASP.NET was not installed on your server at all.
Once that gets installed you can allow ASP.NET pages.

Keith
-----Original Message-----
Keith:

I just went to IIS Manager -> Web Service Extensions. I clicked on thatfolder, you I couldn't see ASP.NET application on the right.
I then tried to add ASPX extension in a button, but I don't know the path.
Any ideas??
"Keith" <an*******@disc ussions.microso ft.com> wrote in messagenews:05******* *************** ******@phx.gbl. ..
By Default, Windows Server 2003 is totally locked down.
With a default installation og Windows Server 2003 with
IIS added, you will only be able to serve static pages.
You need to allow the ASP.NET application to run.

Make sure you have turned on ASP.NET for your websites.

This setting is found under IIS Manager -> Web Service
Extensions. When you click on that folder, you will see a list of applications to the right.

Select the ASP.NET one and then click Allow.

If you plan to run Asp pages on that server you will also want to do the same thing for ASP.

Good Luck,

Keith
>-----Original Message-----
>My ASP.NET application is working fine when I run
under IIS Personal Web
>Server in Windows 2000 machine. However, after I
upload all the files to the
>Windows Server 2003 machine, and tried to run the

application, it has 404
>error on all .aspx files. Even I re-compile and build

the whole project in
>Windows Server 2003, it couldn't help.
>
>any ideas??
>
>
>.
>

.

Nov 17 '05 #5

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

Similar topics

2
5445
by: Ralph | last post by:
HTTP 500 - Internal server error ASP pages I am running Windows 2K with IIS 5.1 and I started having problems accessing ASP databases shortly after applying the MS patch Windows 2000 Hotfix KB824146. I also started getting DCOM errors in the Server System log just after the reboot. When anyone goes to open an ASP based page they get : HTTP 500 - Internal server error We are just using ASP and not .NET. All other webserver...
0
3045
by: Morten Gulbrandsen | last post by:
mysql> USE company; Database changed mysql> mysql> DROP TABLE IF EXISTS EMPLOYEE; -------------- DROP TABLE IF EXISTS EMPLOYEE -------------- Query OK, 0 rows affected (0.00 sec)
4
10129
by: Laurence Neville | last post by:
I have just set up an ASP-based site to a new Windows 2003 SP1 server with IIS 6.0. Before now the site has run under IIS 5.0 on Windows 2000. Every time an ASP page is opened, IE shows the error: "Cannot find server or DNS Error". All static page types open fine (HTM, GIF etc) The confusing thing is - I have allowed Active Server Pages under Web Service Extensions in the IIS manager. No other extensions are allowed, other than...
6
4753
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
1
3159
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on Windows Server 2003 Enterprise Edition Only. This works on Windows 2000, Windows 2003 Web Edition and
0
1613
by: Matthew Louden | last post by:
The web server is running Windows Server 2003 Standard Edition, and it returns HTTP 404 error when running ASP.NET pages, but ASP pages are working fine. I also installed Visual Studio .NET, and the framework version should be 1.1. I am sure ASP.NET is enable in the machine by checking the following methods: 1) Go to manage your server window, click add/remove a role, and choose application server, and it only have choices disable...
3
2878
by: Matthew Louden | last post by:
The web server is running Windows Server 2003 Standard Edition, and it returns HTTP 404 error when running ASP.NET pages, but ASP pages are working fine. I also installed Visual Studio .NET, and the framework version should be 1.1. I am sure ASP.NET is enable in the machine by checking the following methods: 1) Go to manage your server window, click add/remove a role, and choose application server, and it only have choices disable...
10
9390
by: RedEagle | last post by:
Hi All! Do you remember me? I am that desperate who had this error for a while: --- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
3
1578
by: Angelo Brusati | last post by:
When using VB6 COM objects on a ASP.NET page, and having the @Page directive with the AspCompat attribute set to true, it causes an error like "Method '~' of object '~' failed" or "Object reference not set to an instance of an object". The scenario is: - Windows 2003 server - IIS6 - Framework 1.1
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.