Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Form Based Authentication and open project problem

Reply
Thread Tools

Form Based Authentication and open project problem

 
 
sduncansca
Guest
Posts: n/a
 
      09-25-2005
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.


 
Reply With Quote
 
 
 
 
JIMCO Software
Guest
Posts: n/a
 
      09-25-2005
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




 
Reply With Quote
 
 
 
 
sduncansca
Guest
Posts: n/a
 
      09-25-2005
Jim
What can I say other than you are the man.

Thanks
S

"JIMCO Software" <(E-Mail Removed)> wrote in message
news:uV%(E-Mail Removed)...
> 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
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP basic authentication with form-based authentication Max Python 2 08-08-2008 06:16 PM
vs2005 - Open a child form based on selected record parent form's dgv - how? dbuchanan ASP .Net 2 12-19-2005 10:52 PM
Changing Basic Authentication to Form-Based Authentication Dom Java 0 10-18-2004 03:30 PM
From Basic Authentication to Form-Based Authentication Dom Java 0 10-15-2004 09:50 PM
authenticate win32 form client with form based authentication web services kitchai yong via .NET 247 ASP .Net Web Services 1 05-13-2004 05:01 AM



Advertisments