473,972 Members | 22,128 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1236
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"butt on.
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.goo glegroups.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.goo glegroups.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_MachineNam e, 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.goo glegroups.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
1898
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, Va. October 7, 2003 - IDEAlliance, a leading trade association dedicated to fostering XML and other information technology standards, today announced that XML Conference and Exposition 2003 will feature an XSL-FO “Chef’s Tools Exhibition”...
0
1266
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 this? Thank you Vidya
6
2029
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 picture of a couple of antique chairs. I paste a single .jpg image, and save the web page file, which gets saved as an .alb file. Then, after choosing the "build website" function, the following files are found in the folder for the website:
0
1312
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 publishing my website with final version, so I uncheck "Allow this precompiled site to be updatable" checkbox in Web Site Publishing dialog, error occured! Whenever I request a "non-existed" ..aspx page in /Articles folder, instead of Http handler will...
2
1517
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, run it, then see XML in the browser. I'm using Windows 2000, though my friend tried it on XP and got the same results. Any suggestions? I've tried on 4 different computers with the same results - I always see just the xml :(
2
1588
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 extensions extends. I would like to be able to put .net 2.0 web services on a web host in the directory that is created by visual studio. I would also like to be able to put classic ASP files in the same directory and use FTP and IE to update...
1
1467
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 same network running Fedora Core 3, Apache 2.0.53 (fedora), PHP 4.3.9. MYSQL Server version is 4.0.27 and it is installed on the Linux machine. I’m using the same mysql for testing and for publishing. The connection to mysql server is successfully...
2
6396
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 can I add *.ashx files to the publish target?
0
2180
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
11805
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
11399
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11555
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10900
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
10067
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
7599
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
6402
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
5143
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
3
3749
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.