Re: Login control does not work... Why?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have the same problem (I'm using the release version of ASP.NET 2.0
from within VS 2005). I've configured my web app to work with a SQL
Server 2000 database as per 'How To: Use Forms Authentication with SQL
Server in ASP.NET 2.0'
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000022.asp),
and I've set up a trace using Profiler to check that the DB is being
hit. The results are that it is NOT being hit by the Login control, bit
it IS being hit by the PasswordRecovery control. Presumably some sort
of config glitch. Anyone any ideas?

Cheers - Graham

Scott Allen wrote:
> On Mon, 14 Nov 2005 09:16:39 -0600, "Tim Cartwright"
> <tim.cartwright@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Silly question, but can you make sure you are not using a trusted
> >connection?
> >
>
> From code I'm not aware of any property. I'm guessing you'd have to
> parse the connection string and look for "Trusted Connection".
>
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/

.



Relevant Pages

  • Re: DataTable Limitations
    ... I think that you will hit computer's memory limit way before you'll hit any ... dataset limit. ... > We've currently got a "process" that takes de-normalized data from SQL ... > Server, transforms the data into normalized tables, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: auto_update_statistics_async
    ... Considering that, statistics ... recompute is a rarity. ... you will not hit that 20% limit very often. ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.server)
  • Re: HELP: SQL 2000 Queries are 3 times Slower on DUAL XEON vs DUAL PIII
    ... >hardware 1 config below) running from the SQL Server Query Analyzer. ...
    (microsoft.public.sqlserver.server)
  • Re: Web.config encryption in shared hosting scenario
    ... Open the config using WebConfigurationManager, get the section using GetSection, and call Protect() on the SectionInformation you get back. ... database via SQL authentication rather than Windows authentication, ... best practice dictates that I encrypt the web.config file ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • [ANNOUNCE] clean-boot.pl version 0.1 - Simple utility to clean up /boot and /lib/modules
    ... vmlinuz, initrd.img, config, and System.maps in my /boot directory, not ... So I wrote this perl script that let me pick and choose what I wanted to ... If you hit "y", it will then remove any ... This is under just a public license, no warranty, so just be careful not ...
    (Linux-Kernel)