Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

How to use the LoginControl/CreateUserWizard and so on?

$
0
0

Hello together.

I hosted my site by vwdhosting, but in course of the timelimit my account expires soon. So, i have now a local located MS SQL Database. How to set my web.config to make the LoginControl and the CreateUserWizard functionable? This is my web.config:

<?xml version="1.0"?><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"><appSettings/><connectionStrings><add
        name="ConnectionString"
        connectionString="data source='3R0L1\SQLEXPRESS';User ID='Username';Password=Userpassword;database='Eroli';Initial Catalog=Eroli"
        providerName="System.Data.SqlClient" /></connectionStrings><location path="~/PublicUserCenter.aspx"><!-- <authorization><deny users="?" /><allow users="*" /></authorization>  --></location><system.web><anonymousIdentification cookieless="AutoDetect" enabled="true" /><authentication mode="Forms"><forms name="SqlAuthCookie" timeout="10" /></authentication><compilation debug="true" strict="false" explicit="true" /><membership defaultProvider="SqlMembershipProvider" userIsOnlineTimeWindow="20"><providers><clear/><add
            name="SqlMembershipProvider"
            type="System.Web.Security.SqlMembershipProvider"
            connectionStringName="ConnectionString"
            applicationName="%Projektname%"
            enablePasswordRetrieval="false"
            enablePasswordReset="true"
            requiresQuestionAndAnswer="false"
            requiresUniqueEmail="true"
            maxInvalidPasswordAttempts="5"
            minRequiredPasswordLength="5"
            minRequiredNonalphanumericCharacters="0"
            passwordAttemptWindow="10"
            passwordFormat="Hashed" /></providers></membership><pages><namespaces><clear/><add namespace="System" /><add namespace="System.Collections" /><add namespace="System.Collections.Specialized" /><add namespace="System.Configuration" /><add namespace="System.Text" /><add namespace="System.Text.RegularExpressions" /><add namespace="System.Web" /><add namespace="System.Web.Caching" /><add namespace="System.Web.SessionState" /><add namespace="System.Web.Security" /><add namespace="System.Web.Profile" /><add namespace="System.Web.UI" /><add namespace="System.Web.UI.WebControls" /><add namespace="System.Web.UI.WebControls.WebParts" /><add namespace="System.Web.UI.HtmlControls" /></namespaces></pages><profile defaultProvider="SqlProfileProvider"><providers><clear/><add
            name="SqlProfileProvider"
            connectionStringName="ConnectionString"
            providerName="System.Data.SqlClient"
            applicationName="%Projektname%"
            type="System.Web.Profile.SqlProfileProvider,System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /></providers></profile><roleManager enabled="true" cacheRolesInCookie="true" cookieName="Projektroles" defaultProvider="SqlRoleProvider"><providers><clear /><add
            name="SqlRoleProvider"
            connectionStringName="ConnectionString"
            applicationName="%Projektname%"
            type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /></providers></roleManager></system.web></configuration>

 Any ideas? I am getting depressive with this damn controls[:'(]

Thank you in advance,

Eroli 


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>