By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,376 Members | 1,566 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,376 IT Pros & Developers. It's quick & easy.

Forms auth, works on one machine, not on another

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.