473,651 Members | 2,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASPX page fails to serve up using

I have an application developed using IIS 5, and the 2.14 version of the .net
framework and SQL 2005. When deployed to two different servers, the pages all
display properly when using the address
http://localhost/mywebapp/default.aspx. If I replace localhost with a DNS
name, the pages will not display... I get a "Internet Explorer Cannot display
this page" message. In reviewing the IIS log files, all of the response codes
are 302 (redirects) for the requested page. Again, the pages serve up as
intended when using localhost in the url. In doing some testing, a plain
vanilla aspx page with no code behind the page dishes up without error. Does
anyone have any ideas?
--
Ken S
Jul 2 '07 #1
3 1625
"When deployed to two different servers, the pages all
display properly when using the address
http://localhost/mywebapp/default.aspx" -- that's because localhost is your
own machine, you arent' even requesting the page from the other 2 servers.

It needs to be "http://machineNameOrIP Address/mywebapp/default.aspx"
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder( BETA): http://www.blogmetafinder.com

"Sherman KB" wrote:
I have an application developed using IIS 5, and the 2.14 version of the .net
framework and SQL 2005. When deployed to two different servers, the pages all
display properly when using the address
http://localhost/mywebapp/default.aspx. If I replace localhost with a DNS
name, the pages will not display... I get a "Internet Explorer Cannot display
this page" message. In reviewing the IIS log files, all of the response codes
are 302 (redirects) for the requested page. Again, the pages serve up as
intended when using localhost in the url. In doing some testing, a plain
vanilla aspx page with no code behind the page dishes up without error. Does
anyone have any ideas?
--
Ken S
Jul 2 '07 #2
On Jul 2, 9:34 am, Sherman KB <Sherma...@disc ussions.microso ft.com>
wrote:
I have an application developed using IIS 5, and the 2.14 version of the .net
framework and SQL 2005. When deployed to two different servers, the pages all
display properly when using the addresshttp://localhost/mywebapp/default.aspx. If I replace localhost with a DNS
name, the pages will not display... I get a "Internet Explorer Cannot display
this page" message. In reviewing the IIS log files, all of the response codes
are 302 (redirects) for the requested page. Again, the pages serve up as
intended when using localhost in the url. In doing some testing, a plain
vanilla aspx page with no code behind the page dishes up without error. Does
anyone have any ideas?
--
Ken S
Its possible .Net 2.0 isn't registered properly with IIS. You could
try reregistering it using aspnet_regiis.e xe -i . This application
can be found in you windows folder under Mircosoft.NET\f ramework
\v2.0.X.

If you're running .NET 1.1 and 2.0 on the same IIS you need to have
them in seperate application pools as well.

This is all assuming that you were not trying to access localhost from
on the server and were instead trying to do it from a remote machine
like Peter implied.

David
http://blog.ctrlalt313373.com

Jul 2 '07 #3
There was a problem with some code that would automatically have the site use
https if the site is secured, and the request was not a loop back request
(local host)
--
Ken S
"Sherman KB" wrote:
I have an application developed using IIS 5, and the 2.14 version of the .net
framework and SQL 2005. When deployed to two different servers, the pages all
display properly when using the address
http://localhost/mywebapp/default.aspx. If I replace localhost with a DNS
name, the pages will not display... I get a "Internet Explorer Cannot display
this page" message. In reviewing the IIS log files, all of the response codes
are 302 (redirects) for the requested page. Again, the pages serve up as
intended when using localhost in the url. In doing some testing, a plain
vanilla aspx page with no code behind the page dishes up without error. Does
anyone have any ideas?
--
Ken S
Jul 2 '07 #4

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

Similar topics

3
2998
by: stevag | last post by:
Hello, 1) I have an .html page that hosts 2 frames, each of which hosts a different .aspx page with C#. What I would like to do is place a RadioButtonList control with two options on the first frame . Based on the option that the users chooses , I want to activate different functionality on the other frame. For instance, if choice 1 is clicked on frame1, I want to show label1 on frame2, whereas when option 2 is clicked on frame1 I...
6
3559
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html error page. All six steps in the article work just fine. Then at the end of the article, there is a little comment about redirecting errors to an aspx page (instead of an html page):
11
2861
by: tma | last post by:
I have the following HTML in use on my web page. I need it to show a graphic image on the page but do not know what to use in the codebehind to make the graphic appear. If I load the source url in a browser by itself, the graphic appears, but when I use the tag in a web page it does not. Anyone have a suggestion for VB? <img src='http://www.domain.com/MohawkWS/MohawkHitCounter.aspx?ItemID=7103830413' border=0 alt>
21
2934
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have updated this system and changed the pages that are saved to the server as aspx - everything works fine and pages can be served - but Its not impossible for a single client to request 100 plus pages in one session - as each page is requested it is...
4
2898
by: Frankie | last post by:
I'm writing a small C# utility application that creates new Web Sites via ADSI. It seems to work just fine for the most part -- meaning that IIS Metabase entries look either identical or "different where expected" - when comparing Web Sites created with my utility against Web Sites created "manually" with IIS Manager. I'm comparing the sites visually (eye balling it) with Metabase Explorer. The problem I have with Web Sites created with...
1
1975
by: bennett | last post by:
I'm trying to write an ASPX page that uses an OleDbDataAdapter to get data from a SQL Server database. When I test the connection, it returns success, and when I preview the data using the Adapter's "preview data" right-click option, it works, but when I load the actual page, I get the error "Cannot open database requested in login 'cookiecutter'. Login fails." It seems to work when I use a pre-existing database like Northwind or...
13
4499
by: Matt | last post by:
Does anyone know how to hide the ASPX extension of web pages in ASP.Net 2.0? Thanks, Matt
13
3542
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
8
4914
by: Darrel | last post by:
I'm helping convert a 300+ page .html site into an ASP.net site. The client wants to set up 301 redirects for all of the old html pages. I've used ISAPI for this type of thing in the past, as it works great and is easy to set up, but at this point, the client (which is my client, who's working with the actual client) doesn't know what the new web host supports. In the interim, I want to do a bit of research myself on this to see if it's...
0
8357
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
8277
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
8700
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
8465
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
7298
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...
1
6158
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4144
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
2701
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
1
1910
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.