R
Rahul
Hi,
How to configure and user asp.net membership controls? I have all the
required defaults in the database tables.
I get the connection not found error..
Below is my web.config
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="MyConnection"
connectionString="Data Source=CHATUR-MS\CHATUR_SQL;Initial
Catalog=SQLDotNet;Persist Security Info=True;User ID=sql;Password=sql"
providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SProvider" value="SQLServer"/>
<add key="SCS" value="|92.168.1.90###[XY###!"'`gf#,,):# -"/>
<add key="SMTPServer" value="192.168.1.100"/>
</appSettings>
<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
<membership defaultProvider="SqlMembershipProvider">
<roleManager enabled="true"/>
<providers>
<add connectionStringName="MyConnection"
applicationName="MembershipProvider"
enablePasswordRetrieval="false" enablePasswordReset="false"
requiresQuestionAndAnswer="false" requiresUniqueEmail="true"
passwordFormat="Hashed" name="SqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
<pages buffer="true" enableSessionState="true" enableViewState="false"
enableViewStateMac="false" autoEventWireup="true" validateRequest="false"
enableEventValidation="false"/>
<sessionState mode="InProc" cookieless="true" timeout="20"/>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.-->
<customErrors mode="Off"/>
</system.web>
</configuration>
Rahul
How to configure and user asp.net membership controls? I have all the
required defaults in the database tables.
I get the connection not found error..
Below is my web.config
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="MyConnection"
connectionString="Data Source=CHATUR-MS\CHATUR_SQL;Initial
Catalog=SQLDotNet;Persist Security Info=True;User ID=sql;Password=sql"
providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SProvider" value="SQLServer"/>
<add key="SCS" value="|92.168.1.90###[XY###!"'`gf#,,):# -"/>
<add key="SMTPServer" value="192.168.1.100"/>
</appSettings>
<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
<membership defaultProvider="SqlMembershipProvider">
<roleManager enabled="true"/>
<providers>
<add connectionStringName="MyConnection"
applicationName="MembershipProvider"
enablePasswordRetrieval="false" enablePasswordReset="false"
requiresQuestionAndAnswer="false" requiresUniqueEmail="true"
passwordFormat="Hashed" name="SqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider" />
</providers>
</membership>
<pages buffer="true" enableSessionState="true" enableViewState="false"
enableViewStateMac="false" autoEventWireup="true" validateRequest="false"
enableEventValidation="false"/>
<sessionState mode="InProc" cookieless="true" timeout="20"/>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.-->
<customErrors mode="Off"/>
</system.web>
</configuration>
Rahul