I need soom help with the ASP.NET forms authentification (IIS 6 and ASP.NET 2). I have use asp_sqlreg.exe to create the table on a SQP Server 2005. On the web site I'm using the login control and I have configure the web.config for using forms authetification.
But where do I specify the database that should be used ? On a book that I have, It said that I must used the security tabs on the web administration site. But when I do that, I've got an error message that tell me enable to connect to the sql server. So,
where do I specify the database ?
Is it possible to deny access to anonymous user to some pages using the web.config file ?
Add a <provider> entry to the <membership>'s <providers> element indicating a connection string pointing to your tables.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.