Form Based Authentication and open project problem

Discussion in 'ASP .Net' started by sduncansca, Sep 25, 2005.

  1. sduncansca

    sduncansca Guest

    Hi

    I have an ASP.NET v1.4 application that uses form based authorization. My
    authorization section of the web.config looks like

    <authorization>
    <deny users="?" />
    <allow users="*" />
    </authorization>
    Whenever I tried to open the project using VS 2003 it generates a ASP.NET
    Version Mismatch error, which (at least to me) appears to be misleading,
    because it appears to be an issue with my auth section. If I comment out
    that deny directive the project opens fine. This is what the log files looks
    like with it turned on

    04:09:24 127.0.0.1 - GET /RROProjects/vs-37787108829737350_tmp.htm 200
    04:09:24 127.0.0.1 - GET /_vti_inf.html 200
    04:09:24 127.0.0.1 - POST /RROProjects/_vti_bin/shtml.dll 200
    04:09:24 127.0.0.1 - POST /RROProjects/_vti_bin/_vti_aut/author.dll 200
    04:09:24 127.0.0.1 SDUNCAN\Steve Duncan POST
    /RROProjects/_vti_bin/_vti_aut/author.dll 200
    04:09:27 127.0.0.1 - GET /RROProjects/get_aspx_ver.aspx 302
    04:09:30 127.0.0.1 - GET /RROProjects/login.aspx 302



    This is what it looks like turned off

    04:10:40 127.0.0.1 - GET /RROProjects/vs39393872029737351_tmp.htm 200
    04:10:40 127.0.0.1 - GET /_vti_inf.html 200
    04:10:40 127.0.0.1 - POST /RROProjects/_vti_bin/shtml.dll 200
    04:10:40 127.0.0.1 - POST /RROProjects/_vti_bin/_vti_aut/author.dll 200
    04:10:40 127.0.0.1 SDUNCAN\Steve Duncan POST
    /RROProjects/_vti_bin/_vti_aut/author.dll 200
    04:10:43 127.0.0.1 - GET /RROProjects/get_aspx_ver.aspx 200



    seems like I need a directive of <allow users="me when I am using VS
    locally">

    Would appreciate any help.
     
    sduncansca, Sep 25, 2005
    #1
    1. Advertising

  2. sduncansca wrote:
    > Hi
    >
    > I have an ASP.NET v1.4 application that uses form based
    > authorization. My authorization section of the web.config looks like
    >
    > <authorization>
    > <deny users="?" />
    > <allow users="*" />
    > </authorization>
    > Whenever I tried to open the project using VS 2003 it generates a
    > ASP.NET Version Mismatch error, which (at least to me) appears to be
    > misleading, because it appears to be an issue with my auth section.


    You just need to set up a <location> element for get_aspx_ver.aspx. Set the
    path attribute to "get_aspx_ver.aspx" and put an authorization element in
    there that allows everyone.

    --
    Jim Cheshire
    JIMCO Software
    http://www.jimcosoftware.com

    FrontPage add-ins for FrontPage 2000 - 2003
     
    JIMCO Software, Sep 25, 2005
    #2
    1. Advertising

  3. sduncansca

    sduncansca Guest

    Jim
    What can I say other than you are the man.

    Thanks
    S

    "JIMCO Software" <> wrote in message
    news:uV%...
    > sduncansca wrote:
    >> Hi
    >>
    >> I have an ASP.NET v1.4 application that uses form based
    >> authorization. My authorization section of the web.config looks like
    >>
    >> <authorization>
    >> <deny users="?" />
    >> <allow users="*" />
    >> </authorization>
    >> Whenever I tried to open the project using VS 2003 it generates a
    >> ASP.NET Version Mismatch error, which (at least to me) appears to be
    >> misleading, because it appears to be an issue with my auth section.

    >
    > You just need to set up a <location> element for get_aspx_ver.aspx. Set
    > the path attribute to "get_aspx_ver.aspx" and put an authorization element
    > in there that allows everyone.
    >
    > --
    > Jim Cheshire
    > JIMCO Software
    > http://www.jimcosoftware.com
    >
    > FrontPage add-ins for FrontPage 2000 - 2003
    >
    >
    >
    >
     
    sduncansca, Sep 25, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dbuchanan
    Replies:
    2
    Views:
    2,622
    dbuchanan
    Dec 19, 2005
  2. Dom
    Replies:
    0
    Views:
    472
  3. Dom
    Replies:
    0
    Views:
    517
  4. Max
    Replies:
    2
    Views:
    1,120
  5. kitchai yong via .NET 247

    authenticate win32 form client with form based authentication web services

    kitchai yong via .NET 247, May 13, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    235
    Jan Tielens
    May 13, 2004
Loading...

Share This Page