|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Enabling Forms Authentication Stops Button Click Events3rd 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. What exactly do you mean by the "login.aspx page's button stop working"? Is
an exception being thrown or does some other undesired behaviour occur? If there's an exception, could you please provide the full exception details returned from its ToString method? If there's some other problem, could you please describe it in a bit more detail? Show quoteHide quote "Waqas Pitafi" <WaqasPit***@discussions.microsoft.com> wrote in message news:04335812-3C5D-4C69-8596-D5F1677B58F4@microsoft.com... > 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. Hello Waqas,
could this be related to the problem here: Yes, you are right, Dominick. After I copy the /aspnet_client directory to my own wwwroot directory, problem solved. Thanks again, you are so wonderful. "Dominick Baier [DevelopMentor]" wrote: aah, > Hello Sword, this usually happens if you dont have the /aspnet_client directory in the root of your website. this can easily happen if you move wwwroot around... --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com >> I debugged the codes, it seems ValidatorOnSubmit() function doesn't pass. I know it's form authentication related, but how this happens?"Sword" wrote: Thanks to provide me such useful ideas. I used Fiddler to trace the HTTP >>> Hi, Guys, contents, but still can't find where the problem is. And all the javascript settings are fine on both server and client sides. --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > 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. >
StreamWriter causes SecurityException when attempting to write to network drive..need help
ASP.NET form-based authentication help Sandboxing AppDomain windows forms UserControl compiled with beta 2 doesn't work with IE VS2005 - X509 key not loaded correctly for FTPS server authentication ? Does preJIT protect the assemblies? Best Practice for ASP.NET access to SQL Server Communicating between ASP.NET and SQL Server on separate servers Forms Authentication - how to proceed when valid login? fileiopermission error |
|||||||||||||||||||||||