I removed add security related settings from the web.config and it worked as
expected . Then I added the forms authentication and credentials directing
it to a login.aspx page that should direct it to a default.aspx but instead
I get an error message stating
Default Membership Provider must be specified
Its like it thinks its using the old provider. I'm don't know where its
getting this from
This is what I have in web.config
<authorization>
<deny users="?"/>
</authorization>
<authentication mode="Forms">
<forms loginUrl="Login.aspx">
<credentials>
<user name="joe" password="Smith" />
<user name="azam" password="hello" />
</credentials>
</forms>
</authentication>
"Kevin Spencer" <un**********@nothinks.comwrote in message
news:uY**************@TK2MSFTNGP02.phx.gbl...
Have you tried editing the web.config file in NotePad?
--
HTH,
Kevin Spencer
Microsoft MVP
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Coaster" <Co*****@Coaster.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>>I added security using the asp.net web site configuration tool and now I
want to remove it. I tried removing default provider via the asp.net
settings but it won't let me. It gives an error stating the provider name
must be at least 1 character long.
I want to use authentication but the simplified version of storing user
names and passwords in the web.config.
thanks