473,386 Members | 1,785 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.

ASP.Net site, Only Default.aspx will appear in browser.

Hello,

I have a site with several pages. When I debug in visual developer I'm able to open the various pages and see them as they should appear online.

However, when I move the pages to wwroot, the only page that I can access over the internet is "default.aspx." If I enter any of the other page names into my IE addressbar, the page that shows up is default.aspx. I don't know if there's a redirect involved or not.. I don't know how to troubleshoot this issue.

BTW, I'm a newbie to asp.

Thanks in advance.
Mar 26 '07 #1
3 1473
Check the code for the other pages..may be it is redirected to the default page
Mar 26 '07 #2
Check the code for the other pages..may be it is redirected to the default page

I've searched the project for any references or redirects to the default page, but there were none that were unexpected.

I've also built an entirely new project with just 2 test pages. On putting those into my wwroot, I get exactly the same issue.

I'm thinking that it must have something to do with my IIS settings, or security settings, but as far as I can tell, the site should be wide open to anonymous visitors.
Mar 26 '07 #3
I found the problem, and it had nothing to do with ASP or IIS.

It seems that when you register your domain name with Yahoo, and redirect your Domain Name to your IP on their site, you must also go into the "advanced options" and also change your "A Records" to your IP also. They didn't advertise this, or even go out of their way to make it appear important, and so I assumed that the advanced options were optional.

In any case, it turns out that if you don't change your A Records, then your Domain Name is actually pointing to a Yahoo Server, which then redirects trafiic to your IP.

Of course, it also means that you can't access subpages in your site by directly entering the whole URL into your addressbar, nor will Google index your site; HTTPRequests pick up only the response off the Yahoo Server (in my case it also caused me to be unable to access my site from the web from my local PC).

I honestly can't imagine why Yahoo would default in this way. It would mean that by default, sites redirected using their service are broken, when instead Yahoo could default the entries in the A Records to equal the IP Address entered into the original redirection variable. Maybe they like the extra hits?

Anyway, sorry to take up time on your board, I just thought I'd mention the solution in case anybody else makes the same mistake.
Mar 29 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jim | last post by:
This si a repost, I apologize but perhaps my original inquiry got buried under all the usenet spam... I need some help getting started with a .NET web project for a commercial site. I am new to...
0
by: Chad A. Beckner | last post by:
I am starting to work on implementing ASP.NET (using VS.NET Dev 2003) into our current ASP 3.0 intranet setup. We have several (say 15 - 20) "applications" that are run within our intranet, which...
2
by: engwar1 | last post by:
I'm a .NET newbie and am beginning the process of converting an existing personal website to .NET from classic ASP. I'm assuming I want my aspx files in the root of my site in the same place as...
64
by: Dave | last post by:
A friend of mine pointed out the other day that certain elements on my web site are too small. But in most of what I publish, fonts are at default size or smaller, and my images are easy to see. I...
2
by: Larry Brindise | last post by:
I have deployed an ASP.NET application successfully on Windows 2000 and 2003. When I deploy it on an XP Pro machine (fresh install with framework 1.1 and IIS installed), I get a very unexpected...
4
by: moondaddy | last post by:
I've made the decision to use search engine friendly URLs in my site which means translating stripping all parameters our of the URL and converting it to a hierarchical URL like this: Change:...
6
by: ewolfman | last post by:
Hi, I've read many posts in several news groups, but can't figure out how to publish my website. The specific error I'm getting (on the "successfully published website") is "Could not load the...
6
by: Ben Fidge | last post by:
Is there any way of configuring VS2005's Publish Web Site feature to ignore certain files? During day to day testing of our web-site, log files are created that I don't want to deploy to the...
5
by: iainfogg | last post by:
I had an ASP.NET 2.0 site which works fine on my PC. I have just copied it to a server, and set it up to run in a virtual folder. The web pages work fine, but the graphics won't load - if I try to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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.