Re: Authentication problem
- From: "Dave Slinn" <CougarDave@xxxxxxxxxxxxxxx>
- Date: Tue, 19 Sep 2006 13:30:33 -0600
Hi Steven.
I have taken your suggestion and copied the code from our authentication
mechanism and reduced it to a simple ASP.NET project. I did make a couple
slight modifications. I removed the calls that do either the Active
Directory LDAP query for internal users or a SQL query for external users,
and simply hardcode the usernames and passwords for testing purposes.
However, I was able to recreate the situation where the Page.IsPostBack
property always returns False.
The good news is that I was able to find a resolution while doing this. It
had to do with the way I have IIS configured. I had originally configured
the application in IIS to be "Enable Anonymous Access = True" and
"Integrated Windows Authentication = False" for the application folder and
all pages except for one. This page, loginwa.aspx, is a page that logs
internal users in using windows authentication, and has "Enabled Anonymous
Access = False" and "Integrated Windows Authentication = True".
The fix for the problem was to allow both "Enable Anonymous Access = True"
and "Integrated Windows Authentication = True" for all pages (except
loginwa.aspx, which is still False and True, respectively, for those
settings). Once this is done, the PostBack problem disappeared. I would
like to provide the test application to see if you can recreate on your end.
I am using IIS 6 (Windows Server 2003 w/SP1). How can I provide this sample
code to you? Should I email it to your online.microsoft.com address?
Thanks for the help. I may not have found a fix if not going through this
exercise.
- Dave
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:utnf7i72GHA.396@xxxxxxxxxxxxxxxxxxxxxxxx
Hello Dave,
From your description, the page postback will not work for those pages in
the application that use forms/windows mixed authentication. I think this
is certainly an unexpected behavior and it is likely specific to the
page's
request processing. Have you add any custom component like custom
httphandler or module in order to configure the mixed mode authentication.
Or would you provide some detailed info on how to do the mixed mode
authentication.
I've ever met some one experiencing such problem like page postback not
work, but most of them are caused by the client-side script is not
correctly registered or the server-side pages are being cached. For
general troubleshooting, I suggest you create a simplifed project with the
same setting and use some simple page to try reproducing the same problem.
If this can be simply reproducted, we can concentrate on the simplified
one
which will be much helpful.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: Authentication problem
- From: Steven Cheng[MSFT]
- Re: Authentication problem
- References:
- Authentication problem
- From: Dave Slinn
- Re: Authentication problem
- From: Cowboy \(Gregory A. Beamer\)
- Re: Authentication problem
- From: Dave Slinn
- Re: Authentication problem
- From: Steven Cheng[MSFT]
- Authentication problem
- Prev by Date: Re: Pure LDAP Authentication using vb.net
- Next by Date: It is an error to use a section allowDefinition='MachineToApplicat
- Previous by thread: Re: Authentication problem
- Next by thread: Re: Authentication problem
- Index(es):
Relevant Pages
|