473,386 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,386 software developers and data experts.

Trouble Publishing .NET App

So I'm trying to publish a site for a client on their new dedicated
server. I published a previous .NET app (with some trouble but
eventually got it working) on their old machine. This is a similiar
..NET app. It's a fresh machine w/ SQL Server, the service packs and
ASP.NET 2.0.

For some reason when I set up the website in IIS, I get weird results
when trying to browse the pages.

..html - can browse to this fine
..aspx - says page cannot be found
..asp - says page cannot be found

I thought this was because ASP.NET wasn't configured right but we just
put in 2.0 so I'm not sure what the heck is going on.

has anyone seen this problem before?

Thanks.

Mar 3 '06 #1
6 1213
What are the "weird results"? I would make sure that your asp.net is
properly registered with IIS. Also, make sure that the extensions are
configured correctly in IIS.

-Darren Kopp
http://blog.secudocs.com/

Mar 3 '06 #2
The weird results are as mentioned above.

HTML pages load fine. But browsing to ASP or ASPX files from the IIS
console, I get a page not found. Yep, all the server settings are in
place too.

Mar 3 '06 #3
Are you, by any chance, running Windows Server 2003 ?

If so, you have to explicitly allow running both asp and aspx pages.

Open the IIS Manager and browse on the left to "web Service extensions".

Then, go to the right-hand pane, select asp and click the "Allow"button.
Do the same for ASP.NET.


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/
===================================
<rh******@gmail.com> wrote in message news:11**********************@z34g2000cwc.googlegr oups.com...
The weird results are as mentioned above.

HTML pages load fine. But browsing to ASP or ASPX files from the IIS
console, I get a page not found. Yep, all the server settings are in
place too.

Mar 3 '06 #4
Hi there. Thank you that did the trick. No I am able to find the
pages. When I browse to my default website, I get this error now:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.

Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
I have turned on/off custom messages but I still get the same message.
Any ideas on this?

Thanks.

Mar 3 '06 #5
re:
Hi there. Thank you that did the trick. Now I am able to find the pages.
Glad that worked.

re: When I browse to my default website, I get this error now:
Server Application Unavailable
You probably have both .Net 1.1 and .Net 2.0 applications
running in the same Application Pool.

Make sure that, at the very least, you place all
1.1 apps and 2.0 apps into separate application pools.

If you want to give a particular application a higher isolation, for protection,
you may do that, too, by assigning it to its own App Pool.

Use the IIS Manager to create as many App Pools as you need and assign your apps
to the correct App Pool for the version of the .Net Framework they're running under.

Then, run iisreset from the "Run" command in the Start Menu.

You should be good to go after you do that.

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/
===================================
<rh******@gmail.com> wrote in message news:11**********************@v46g2000cwv.googlegr oups.com... Hi there. Thank you that did the trick. No I am able to find the
pages. When I browse to my default website, I get this error now:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.

Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
I have turned on/off custom messages but I still get the same message.
Any ideas on this?

Thanks.

Mar 3 '06 #6
Fixed it finally!

Found a post with this info:

I had to give the IIS_WPG group (which contains ASPNET,
IWAM_MachineName, LOCAL SERVICE, NETWORK SERVICE & SYSTEM) read/write
access to our web root directory & everything beneath.
Juan T. Llibre wrote:
re:
Hi there. Thank you that did the trick. Now I am able to find the pages.


Glad that worked.

re:
When I browse to my default website, I get this error now:
Server Application Unavailable


You probably have both .Net 1.1 and .Net 2.0 applications
running in the same Application Pool.

Make sure that, at the very least, you place all
1.1 apps and 2.0 apps into separate application pools.

If you want to give a particular application a higher isolation, for protection,
you may do that, too, by assigning it to its own App Pool.

Use the IIS Manager to create as many App Pools as you need and assign your apps
to the correct App Pool for the version of the .Net Framework they're running under.

Then, run iisreset from the "Run" command in the Start Menu.

You should be good to go after you do that.

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/
===================================
<rh******@gmail.com> wrote in message news:11**********************@v46g2000cwv.googlegr oups.com...
Hi there. Thank you that did the trick. No I am able to find the
pages. When I browse to my default website, I get this error now:

Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.

Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
I have turned on/off custom messages but I still get the same message.
Any ideas on this?

Thanks.


Mar 3 '06 #7

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

Similar topics

0
by: MarionEll | last post by:
XML 2003 to Highlight Key Publishing Trend: XSL-FO Tools XSL-FO “Chef’s Tools Exhibition†Slated for 7 p.m. Dec. 10; Premier XML Industry Event Runs Dec. 7-12 in Philadelphia Alexandria,...
0
by: vidya | last post by:
Hi, How can program publishing wizard that can automate publishing of my web pages thru c# or VB.Net. I wanted to use the Microsoft Web Publishing Wizard APIs in dot net. Can anyone help me on...
6
by: Doc | last post by:
I'm trying to get to the bottom of a problem I've been having with publishing a freebie website. I'm using a program called WebEasy. Using a very simple site upload as an example, in this case a...
0
by: tiendq | last post by:
Hi, My web application using a Http handler to handle request for *.aspx page in a specific folder e.g. /Articles , which generate requested page dynamically. It worked well. But when I...
2
by: Dustin Davis | last post by:
This is my first attempt at using ClickOnce. It seems it is publishing OK, but I can't run the install. If I use IE, I just see XML in the web browser. If I use Firefox, I download a setup file,...
2
by: JT | last post by:
Hi, I apologize if this is posted in the wrong group or if this has been covered in the past. I didn't find anything in previous posts. I'm wondering how far the influence of the frontpage...
1
by: thavaht | last post by:
I recently began drawing dynamic pages using PHP + MYSQL. I’m developing the site on windows XP / Apache 1.3.34 / PHP 5.1.2 as a testing server. My publishing server is on another machine on the...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, I have a publishing Click Once of my application. Now I want create new version of my application for modify some files, like app.config.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.