473,320 Members | 1,858 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.

Deploying .NET 2.0 Web App from WinXP Pro to Server 2003: 404!

Hi there:

I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I
run the app on my local machine, using the built-in Web server, I have no
problems, but deploying the site to a 2003 Server machine (which is also
running several 1.1 sites) throws a persistent 404.

I've looked around and found several references to the app_offline file, for
which I've searched exhaustively and found nothing. I'm essentially running
a blank "Hello World" type site here, nothing fancy, just for purposes of
messing around with 2.0, and I cannot get anything to work. And Wrox's
Professional ASP.NET has been pretty much no help whatsoever.

The site's set up as its own site in IIS (not a virtual underneath something
else), it's using a new App Pool I set up just to keep the 2.0 stuff
separated from everything else, and in the ASP.NET tab, I've got 2.0
selected. What could be happening here? Is there some additional
requirement (i.e., having SQL 2005 Express installed -- this machine already
has SQL Server 2000) that I've missed somewhere in the documentation?

Any help would be greatly appreciated.

Thanks,
Chris
Jun 29 '06 #1
3 1859
Have you explicitly enabled ASP.NET 2.0 pages to be served ?

W2K3 needs specific permissions be enabled, in order to allow each ASP.NET version to run.

Open the IIS Manager, scroll on the left to "Web Service Extensions",
select that, go to the right pane and select the ASP.NET version you
want to enable and click the "Allow" button.

Repeat the sequence for all versions of ASP.NET you want to enable.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Christian Nunciato" <Ch***************@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
Hi there:

I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I
run the app on my local machine, using the built-in Web server, I have no
problems, but deploying the site to a 2003 Server machine (which is also
running several 1.1 sites) throws a persistent 404.

I've looked around and found several references to the app_offline file, for
which I've searched exhaustively and found nothing. I'm essentially running
a blank "Hello World" type site here, nothing fancy, just for purposes of
messing around with 2.0, and I cannot get anything to work. And Wrox's
Professional ASP.NET has been pretty much no help whatsoever.

The site's set up as its own site in IIS (not a virtual underneath something
else), it's using a new App Pool I set up just to keep the 2.0 stuff
separated from everything else, and in the ASP.NET tab, I've got 2.0
selected. What could be happening here? Is there some additional
requirement (i.e., having SQL 2005 Express installed -- this machine already
has SQL Server 2000) that I've missed somewhere in the documentation?

Any help would be greatly appreciated.

Thanks,
Chris


Jun 29 '06 #2
Hi Juan:

Thanks much. In the Web Service Extensions node, I see ASP and ASP 1.1, but
not ASP 2.0. When I manually add the ASP.NET 2.0 DLL to the list and allow
it, then try running the page, I get a different error:

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write
access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files'.

If I try adding NETWORK SERVICE as a user on that folder, Windows complains
and suggests I don't do so. I don't mind adding these things manually, but
the absence of ASP.NET 2.0 in the Web Service Extensions node suggests
something might not have been installed properly.

What should I do?

Thanks much!
Chris

"Juan T. Llibre" wrote:
Have you explicitly enabled ASP.NET 2.0 pages to be served ?

W2K3 needs specific permissions be enabled, in order to allow each ASP.NET version to run.

Open the IIS Manager, scroll on the left to "Web Service Extensions",
select that, go to the right pane and select the ASP.NET version you
want to enable and click the "Allow" button.

Repeat the sequence for all versions of ASP.NET you want to enable.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Christian Nunciato" <Ch***************@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
Hi there:

I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I
run the app on my local machine, using the built-in Web server, I have no
problems, but deploying the site to a 2003 Server machine (which is also
running several 1.1 sites) throws a persistent 404.

I've looked around and found several references to the app_offline file, for
which I've searched exhaustively and found nothing. I'm essentially running
a blank "Hello World" type site here, nothing fancy, just for purposes of
messing around with 2.0, and I cannot get anything to work. And Wrox's
Professional ASP.NET has been pretty much no help whatsoever.

The site's set up as its own site in IIS (not a virtual underneath something
else), it's using a new App Pool I set up just to keep the 2.0 stuff
separated from everything else, and in the ASP.NET tab, I've got 2.0
selected. What could be happening here? Is there some additional
requirement (i.e., having SQL 2005 Express installed -- this machine already
has SQL Server 2000) that I've missed somewhere in the documentation?

Any help would be greatly appreciated.

Thanks,
Chris


Jun 29 '06 #3
re:
If I try adding NETWORK SERVICE as a user on that folder,
Windows complains and suggests I don't do so.
You can safely ignore that...but you'll have to WRITE in the account name.
You CANNOT *select* the account from the account list...or Windows complains.

Alternately, run the following command from the .Net Framework 2.0 folder
( Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 ) :

aspnet_regiis -ga machinename\network service

That will give all the necessary permissions to all the directories ASP.NET needs.

See :
http://msdn.microsoft.com/library/de...aght000009.asp
for background info.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Christian Nunciato" <Ch***************@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com... Hi Juan:

Thanks much. In the Web Service Extensions node, I see ASP and ASP 1.1, but
not ASP 2.0. When I manually add the ASP.NET 2.0 DLL to the list and allow
it, then try running the page, I get a different error:

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write
access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET
Files'.

If I try adding NETWORK SERVICE as a user on that folder, Windows complains
and suggests I don't do so. I don't mind adding these things manually, but
the absence of ASP.NET 2.0 in the Web Service Extensions node suggests
something might not have been installed properly.

What should I do?

Thanks much!
Chris

"Juan T. Llibre" wrote:
Have you explicitly enabled ASP.NET 2.0 pages to be served ?

W2K3 needs specific permissions be enabled, in order to allow each ASP.NET version to run.

Open the IIS Manager, scroll on the left to "Web Service Extensions",
select that, go to the right pane and select the ASP.NET version you
want to enable and click the "Allow" button.

Repeat the sequence for all versions of ASP.NET you want to enable.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Christian Nunciato" <Ch***************@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
> Hi there:
>
> I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I
> run the app on my local machine, using the built-in Web server, I have no
> problems, but deploying the site to a 2003 Server machine (which is also
> running several 1.1 sites) throws a persistent 404.
>
> I've looked around and found several references to the app_offline file, for
> which I've searched exhaustively and found nothing. I'm essentially running
> a blank "Hello World" type site here, nothing fancy, just for purposes of
> messing around with 2.0, and I cannot get anything to work. And Wrox's
> Professional ASP.NET has been pretty much no help whatsoever.
>
> The site's set up as its own site in IIS (not a virtual underneath something
> else), it's using a new App Pool I set up just to keep the 2.0 stuff
> separated from everything else, and in the ASP.NET tab, I've got 2.0
> selected. What could be happening here? Is there some additional
> requirement (i.e., having SQL 2005 Express installed -- this machine already
> has SQL Server 2000) that I've missed somewhere in the documentation?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Chris


Jun 29 '06 #4

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

Similar topics

4
by: Matthew Louden | last post by:
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...
4
by: | last post by:
I have earlier used an HttpModule that did URL rewrites on the BeginRequest event. Now I am trying to use the same module in a different application on a new and upgraded machine (winxp sp2). ...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
1
by: Sean | last post by:
Tried both FTP and frontpage extensions method to the host server. Server has directory running as a ASP.NET application. If I take out ...Inherits="quizengine.WebForm1"...the page loads but no...
2
by: Praveen | last post by:
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...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
1
by: Duncan | last post by:
Guys a little please, I'm creating a windows application that uses a webservice and WSE1.0 to talk to a database, currently this works fine when using localhost, I now want to test the...
9
by: Brian Delahunty | last post by:
I'm having a bit of a weird problem and I've spent the last few hours scouring the web trying to solve this before coming here. Here is the problem: I get 404 errors for all ASP.NET 2.0 content...
1
by: Peter Morris [Droopy eyes software] | last post by:
I have installed dotnet2 runtime on Win2003 server. I then created a virtual folder beneath the main website in IIS admin "MyWebService". I then copied the files created by the "Publish website"...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.