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

Home Posts Topics Members FAQ

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

5 New Member
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.as px." 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 1482
padmakar
14 New Member
Check the code for the other pages..may be it is redirected to the default page
Mar 26 '07 #2
ytterbius
5 New Member
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
ytterbius
5 New Member
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
1898
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 .NET and my understanding of some (but not all) of its concepts is a little sparse. I apologize for the length of this message, but hopefully it will help someone here give me the most concise and useful information, and perhaps help others out...
0
1478
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 leads me to the following questions: 1. I currently use an ISAPI filter to "force" all pages to run through a page called site_template.asp. This file "templates" the pages with common code and a page "skin". This forces all pages (whether...
2
1559
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 my asp files. In this way when I eventually get switched over to all aspx files my URLs will not have an extra directory name, only the extensions will change. I've got things set up and working on my dev box but have some questions.
64
4235
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 am viewing at 800x600 right now by the way, because that's what I can comfortably see. Times New Roman default pitch is what - 12px? With people increasing their screen resolutions, is it possible for "default size to ever become too small in...
2
1466
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 result. Keep in mind I install everything as "default" as it gets, IIS included. I install my project into a virtual directory, so I browse to my installed site as: http://localhost/myproject Yes, there is a file called "default.aspx" in my...
4
1951
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: /mysite/default.aspx?MenuID=contactus To: /mysite/ContactUs.aspx? The problem I'm having is that its really slowed things up by at least 0.5 seconds to 1 second longer just to pull up a light weight static page. The
6
3828
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 assembly 'App_Web_vxfyglsm'. Make sure that it is compiled before accessing the page". I checked - The assembly DOES exist in the target web folder.
6
1608
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 production server. However, Publish Web Site copies these over and they have to be manually removed before deployment. This rules out using FTP to publish because it would overwrite the auto-generated log files on the live server. Ideally, I'd to...
5
1699
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 open a gif from one of the folders, I get the following message. Why would an ASPX file load, but a GIF file won't? I have tried messing with security on the files, and have even given 'Everyone' access to read and execute, but still no joy. ...
0
8275
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
8795
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
8695
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
8460
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
8576
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
7296
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
5609
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
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
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

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.