473,320 Members | 2,202 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,320 software developers and data experts.

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 4020
"Matthew Louden" <ma*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.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*******@discussions.microsoft.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*******@discussions.microsoft.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
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...
0
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
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...
6
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...
1
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...
0
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...
3
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...
10
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...
3
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...
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.