473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.e xe 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 4208
All.

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

<authenticati on mode="Forms">
<forms name="Applicati on.Authenticati on" protection="All "
timeout="60"/>
</authentication>

<httpRuntime useFullyQualifi edRedirectUrl=" 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.Aut henticate 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.Aut henticate 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
2319
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 unauthenticated user is browsing the site, and tries to open the UltraSecretContent.aspx page. Forms authentication automatically redirects the user to...
11
2949
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 section: <authorization> <deny users="?" /> <allow users="*" /> </authorization> In the root folder where the other forms are located I have a...
4
1579
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 from a SQL Server db on the internet. Clicking on a listbox item is supposed to populate the form with data. (It's doing a postback.) The first...
19
2523
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 username and password again We have previously stored these in a session variable (encrypted) and retrieved from their - but are worried about the...
0
5254
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 page. The following is my machine configuration Windows XP Pro Service Pack2 IIS 5.1 SQL Server 2000 visual Studio 2005 DISABLE ANONMYOUS...
4
1347
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 denied), and i'm automatically redirected to the login.aspx file that is defined in the root of the application.
2
1984
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 press Ctrl+F5, IE window is popped up, redirect to Login.aspx page ask me to input username and password. This works fine. I am wondering, how does...
3
2117
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 & password every 20 minutes. The dialogue would pop up, the user would enter their login details again and they would return to where they were...
0
1326
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 "quick login" control to appear in the banner at the top of my master page. This control will just have a username and password textbox and login...
0
7839
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...
0
8202
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. ...
0
8338
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...
0
6614
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...
1
5710
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...
0
5390
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...
0
3837
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...
1
2345
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
0
1180
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...

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.