R
Rudi Hausmann
Hi,
I want to implement my own "primitive" Authentication.
I use following code in web.config:
<authentication mode="Forms">
<forms name="FwLoginCookie"
loginUrl="Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false">
<credentials passwordFormat="Clear">
<user name="private" password="private" />
<user name="test" password="test" />
</credentials>
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
I created a Login.aspx page. When I try to login with test (test) I get
an sql server error:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
How do I create a page so I can log in with the credentials provided
within web.config?
Can I use the Login control and provide my own login (e.g. implemented
in my own library)?
Regards,
Rudi
I want to implement my own "primitive" Authentication.
I use following code in web.config:
<authentication mode="Forms">
<forms name="FwLoginCookie"
loginUrl="Login.aspx"
protection="All"
timeout="30"
path="/"
requireSSL="false">
<credentials passwordFormat="Clear">
<user name="private" password="private" />
<user name="test" password="test" />
</credentials>
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
I created a Login.aspx page. When I try to login with test (test) I get
an sql server error:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
How do I create a page so I can log in with the credentials provided
within web.config?
Can I use the Login control and provide my own login (e.g. implemented
in my own library)?
Regards,
Rudi