Forms auth, works on one machine, not on another

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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



    scott ocamb Guest

  2. Similar Questions and Discussions

    1. Forms Auth Info passed to Windows Auth?
      The requirement is to build an ASP.Net intranet application, so external users can log in to the main web portal via forms authentication, using...
    2. FORMS AUTH HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      I'm using forms Auth! Why am i getting the error:-I HAVE DONE EVRYTHING NEEDED! Error authenticating. Error obtaining group names. The specified...
    3. Help with forms auth
      Hi, I am using forms Auth on my WEB APP. I am checking the credentials in sql server. When a user request any page other than login.aspx they get...
    4. login that accesses remopte db wont work on that machine but works while on my local machine????!! HELP!
      I knocked up a simple login for a CMS for one of my sites.... now itr will work fine and authemticate with data on the online server by the IP...
    5. Configuring Windows Auth & Forms Auth in Asp.Net
      Configuring Windows Auth & Forms Auth in Asp.Ne Hi, I've configured a web app to use windows authentication and also set up two separate...
  3. #2

    Default Re: Forms auth, works on one machine, not on another

    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
    [url]http://www.mansoft.fi[/url]

    AspInsiders Member, [url]www.aspinsiders.com[/url]
    ASP.NET Forums Moderator, [url]www.asp.net[/url]
    AspAlliance Columnist, [url]www.aspalliance.com[/url]


    "scott ocamb" <socamb@hotmail.com> wrote in message
    news:%2324uekRVDHA.2212@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
    >
    >
    >

    Teemu Keiski Guest

  4. #3

    Default RE: Forms auth, works on one machine, not on another

    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! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "scott ocamb" <socamb@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: <#24uekRVDHA.2212@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
    !
    !
    !
    !


    Yan-Hong Huang[MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139