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

Enabling Forms Authentication Stops Button Click Events

P: n/a
Hi,

3rd day is already gone without any solution.

My problem is, I have a Windows Server 2003 sp1 machine as my development
platform having NTFS filesystem. Other notable components installed are
ODP.NET (latest version), WSE 2.0 sp3, offcourse VS.NET 2003 so .NET 1.1.

When I enable Forms Authentication (restrict anonymous access) through web
config using <authentication> section my login.aspx page's button stop
working. After debugging I discovered, it's because of the Forms
Authentication. I enable anonymous access every thing works great.

I am out of ideas to find the solution, any help will be greatly appreciated.

I have installed everything (including OS) from scratch only to get the same
result. Moreover another developer's machine with exactly similar software
configuration runs the same code (with Forms Authentication enabled and
restricted anonymous access) without any problem.

Thanks in advance.
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Waqas,

"button stop working". By this, are you trying to say that a postback
doesn't happen? Could you plz verify this - put a break point in the button
click event handler and check whether the debugger reaches there when you
click the button.

My hunch is, the code in the button click fails to persist the current
principal object. Could you please post the code in the button click handler
here?

--
HTH,
Rakesh Rajan
MVP, MCSD
http://www.msmvps.com/rakeshrajan/

"Waqas Pitafi" wrote:
Hi,

3rd day is already gone without any solution.

My problem is, I have a Windows Server 2003 sp1 machine as my development
platform having NTFS filesystem. Other notable components installed are
ODP.NET (latest version), WSE 2.0 sp3, offcourse VS.NET 2003 so .NET 1.1.

When I enable Forms Authentication (restrict anonymous access) through web
config using <authentication> section my login.aspx page's button stop
working. After debugging I discovered, it's because of the Forms
Authentication. I enable anonymous access every thing works great.

I am out of ideas to find the solution, any help will be greatly appreciated.

I have installed everything (including OS) from scratch only to get the same
result. Moreover another developer's machine with exactly similar software
configuration runs the same code (with Forms Authentication enabled and
restricted anonymous access) without any problem.

Thanks in advance.

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.