Hi Imar,
I didn't solve this problem yet.It does not bring ROLE yet. Username/Password are fine.
Please allow me to ask you a question again based on your advices.
Your kind advice would be really, really appreciated.
Thanks,
1. Make sure all provider configurations use an applicationName (both in the Membership and Role Manager). Look at chapter 12's web.config file and search this forum for posts from me containing applicationName. Set them all to / ===> My definition for Membership and Role in my web.config file is following QUOTE.
2. Rerun the WSAT tool, create the roles and users.===> What's this?
3. Detach your database and reattach it with your hosts and things should work. ===> I believe I do this step exactly same as your advice. I tried to attach .mdf file using VS 2005's Copy Website and WS_FTP95.exe program.
=== QUOTE web.config ===
<appSettings>
<add key="DefaultConnectionString" value="SqlServerConnectionString" />
<add key="EmailFrom" value="
[email protected]"/>
<add key="EmailTo" value="
[email protected]"/>
<add key="FCKeditor:UserFilesPath" value="/Blog/UserFiles"/>
</appSettings>
<connectionStrings>
<add name="SqlServerConnectionString" connectionString="Data Source=tcp:sql2k511.discountasp.net;Initial Catalog=SQL2005_420732;User ID=SQL2005_420732_username;Password=mypassword" providerName="System.Data.SqlClient" />
.
.
.
<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SqlServerConnectionString"
enablePasswordRetrieval="False"
enablePasswordReset="True"
requiresQuestionAndAnswer="True"
applicationName="/"
requiresUniqueEmail="true"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
/>
</providers>
</membership>
<roleManager enabled="true"
cacheRolesInCookie="true"
cookieName=".ASPROLES"
defaultProvider="SqlProvider">
<providers>
<add connectionStringName="SqlServerConnectionString" name="SqlProvider"
type="System.Web.Security.SqlRoleProvider" />
</providers>
</roleManager>