473,408 Members | 2,032 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,408 software developers and data experts.

Forms auth, works on one machine, not on another

hello

We are using forms authentication in asp.net for our web site. The code we
have implemented works on 2 developers machines and not on a single
developers machine.

We all use source safe and the problem developers machine has the latest
version of the code. As we step through the code on the problem developer's
machine, when RedirectFromLoginPage is executed, it does not redirect but
goes back to the login page.

We can connect to a "good" machine with the problem developers machine and
everything works so it seems it is not a browser setting.

any help would be appreciated

Nov 17 '05 #1
2 1617
Silly question, but you don't have SmartNavigation enabled on the machine
where this occurs? Are the apps exactly identical?

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com
"scott ocamb" <so****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
hello

We are using forms authentication in asp.net for our web site. The code we
have implemented works on 2 developers machines and not on a single
developers machine.

We all use source safe and the problem developers machine has the latest
version of the code. As we step through the code on the problem developer's machine, when RedirectFromLoginPage is executed, it does not redirect but
goes back to the login page.

We can connect to a "good" machine with the problem developers machine and
everything works so it seems it is not a browser setting.

any help would be appreciated

Nov 17 '05 #2
Hello Scott,

I suggest you reinstall asp.net on the system to see if it could resolve the problem.

There are two different ways to fix IIS mappings for ASP.NET.

To repair IIS mappings for ASP.NET, you can run the Aspnet_regiis.exe utility by following the steps below.
Click Start, and then click Run.
Type cmd and click OK.
At the command prompt, type "\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_r egiis.exe" -i and click OK.

To repair IIS mappings for ASP.NET you must register Aspnet_isapi.dll. To do so:
Click Start and then click Run.
Type regsvr32 <Windows folder>\Microsoft.NET\Framework\v1.0.3705\aspnet_i sapi.dll and then click OK.
Regsvr32 will return the results of the registration.

Surely if you use .NET framework 1.1, you should find the file under \WINNT\Microsoft.NET\Framework\v1.1.4322 folder.

If the problem still can't be resolved, please post here.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "scott ocamb" <so****@hotmail.com>
!Subject: Forms auth, works on one machine, not on another
!Date: Mon, 28 Jul 2003 11:02:39 -0400
!Lines: 18
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <#2**************@TK2MSFTNGP12.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 64.241.196.2
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:162624
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!hello
!
!We are using forms authentication in asp.net for our web site. The code we
!have implemented works on 2 developers machines and not on a single
!developers machine.
!
!We all use source safe and the problem developers machine has the latest
!version of the code. As we step through the code on the problem developer's
!machine, when RedirectFromLoginPage is executed, it does not redirect but
!goes back to the login page.
!
!We can connect to a "good" machine with the problem developers machine and
!everything works so it seems it is not a browser setting.
!
!any help would be appreciated
!
!
!
!
Nov 17 '05 #3

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

Similar topics

7
by: Dan Walls | last post by:
Hi, I just had a question regarding forms authentication using a SQL database backend. If my (planned)architecture is: Internet -> firewall -> DMZ (IIS - access to User Interface) -> Firewall...
2
by: george d lake | last post by:
Hi, I have several company sites (a1.company.com, a2.company.com, a3.company.com, etc). Each site used a custom Forms Auth (all use the same code). I have been ask if there could be just one login...
2
by: Showjumper | last post by:
Can i use roles with forms authentication. Once source (book) seems to indicate that it works for Windows auth. while another indicates it can also work with Forms Auth.
4
by: 23s | last post by:
I had this problem in the past, after a server reformat it went away, and now after another server reformat it's back again - no clue what's doing it. Here's the flow: Website root is public, no...
1
by: AVance | last post by:
Hi, I've come across this scenario in ASP.NET 1.1 with forms authentication where the forms auth doesn't seem to timeout correctly, nor redirect to the login page. I have done some testing, and...
1
by: Lino Garcia | last post by:
I'm using the walkthrough described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT02.asp and I followed step by step. However, when I try with a...
8
by: =?Utf-8?B?TFc=?= | last post by:
Hello! I am just learning about forms authentication so please excuse this basic question. I am using .NET 1.1 and C#. I have created my web.config file and my login.aspx and the associated cs...
4
by: =?Utf-8?B?RmFyaWJh?= | last post by:
It know that we can use the following method http://msdn2.microsoft.com/en-us/library/eb0zx8fc.aspx to form authenticate across multiple applications. I have created an asp.net application...
0
by: tagg3rx | last post by:
Hi All, I'm trying to get forms based auth up and working and I'm running into a little snag. My login page needs to access css files and images in my application and when I enable the...
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
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...
0
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...
0
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,...
0
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...
0
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...

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.