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

asp.net login.aspx 404 but no login.aspx needed

All,

Windows xp pro box with vs 2003 and .net 1.1 installed. Downloaded a
project from source safe via vpn to my ome pc to work from home. I have
three other projects on my pc that works fine with the vpn. This one,
however, is being a bugger. Every time I start it, I get a 404 error
stating login.aspx is not found. However, there is no login.aspx file
in the entire project *nor* should there ever be. The project is using
forms authentication, however, the log in form is showed via a web user
control and all pages are shown in a single page with a panel. Any how,
point being, this project works fine on my work pc with no login.aspx
page and my home pc has the *exact* files, folder structures, checked
all files in source safe, all are there. This has to be an iis error.

The url it shows to the login.aspx page it is expecting is not even a
complete url -- it doesn't start with http at all. Just
/folder/folder/folder/login.aspx. It is like it is trying to find a
cookie and cannot and tries to redirect me to some built in
functionality of IIS or .net to some blasted login.aspx page.

Again, this project works fine on my work pc. I was shocked to even
find this behavior since the other three projects work fine.

I did run the aspnet_regiis.exe with the -i option to reset it and make
certain it was lined up with asp.net.

I've been trying to find this issue for over 8 hours now with no luck.
Is there anyone out there that can help? Other things I've checked:

1. web.config is exact to what is in source safe and on work pc
2. project is in configuration of debug
3. the project folder structure is lined up
4. all system requirements are in place such as third party dll files
oracle 10g client etc.
5. have default.aspx set to start page
6. traced code line by line with break points and it gets past all code
and then it pulls up the login.aspx 404 error

again, the setup is exact to my work pc. What in God's name is causing
this login.aspx file to try to be found and not the real web page to
load? It has to be something to do with the cookie and asp.net not
finding it or something? I dunno. On my work computer it all works fine
regardless if cookie is there or deleted etc.

Can anyone help? This has set me back 8 hours on this project and I am
not happy!

Justin

Nov 19 '05 #1
1 4189
All.

Just a little followup. Here is what I have in web.config for the forms
authentication part:

<authentication mode="Forms">
<forms name="Application.Authentication" protection="All"
timeout="60"/>
</authentication>

<httpRuntime useFullyQualifiedRedirectUrl="false"/>

It doesn't specify a login form name so that may be why it is
redirecting me to login.aspx. However, this works fine on my work pc.
This is a .net 1.1 application laid on top of an oracle 10g database.
The Application.Authenticate used in the web.config above may have
something to do with this issue. It might be a stored procedure but I
actually do not know. I am able to use sql*plus to connect to the
oracle 10g db, query it, etc. so I can connect to it outside of vs
2003. I have the oracle 10g client installed.

Any ideas on what that Application.Authenticate might actually be/where
it is located? I did a search for it in the project via the find
feature and it is not found in code. That means it has to be an
external source which makes me think it just might be a stored proc but
no clue how it is actualy being called or used?

Any how, if anyone here has a thought on what might be causing this on
my home pc using vpn, please let me know. I can open up three other sql
server 2000 projects on vpn and run them with no problems at all.

Any ideas?

Justin

Nov 19 '05 #2

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

Similar topics

4
by: David Krussow | last post by:
Just wondering if/how it would be possible to display a variable string on the login form - where the string varies depending on the form the user attempted to access. To clarify, an...
11
by: David W. Simmonds | last post by:
I have a form that will prompt for a user name/password. In VS.NET, I have the protected form in a folder named Admin. I have a Web.config file in that folder as well. It contains the following...
4
by: VB Programmer | last post by:
I am created a ASPX web app. I am using forms authentication and it seems to be working well. After logging in I am redirected to a form that is a "Secure" directory. It's using data coming...
19
by: Siobhan | last post by:
Hi What is the recommended way to store a user's database credentials across the pages of a web application so that each time the database is accessed the system doesn't have to ask them for their...
0
by: muder | last post by:
I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page. once the user login successfully I am redirecting the user to Member.aspx...
4
by: Ben | last post by:
Hi, I defined roles in order to deny access for some pages to anonymous users. I tested it by typing the url of a denied page to test the system (http://denypage.aspx). It works (access...
2
by: Morgan Cheng | last post by:
In VS2005, I create a ASP.NET website project.One page named Default.aspx with LoginView and LoginStatus controls; and one page named Login.aspx with Login control in it. After setup of users, I...
3
by: chris fellows | last post by:
I am writing a generic login mechanism for our web apps using ASP.NET / C# (VS2005). Various web pages need to present a login dialogue for the user to re-enter their application-level username &...
0
by: daokfella | last post by:
I have a Login.aspx page that takes care of all my login procedures (validation, lockouts, password change requirements, password retrieval, etc.) It works like a charm. However, now I'd like a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: 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
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...

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.