Hey.
Ok, i already asked this question on asp.net and sqlteam forum, but without any luck. Hope it will be diferent here :)
So, here the thing:
I have created some users to my site using the WAT tool.
Therefore, the users information was automatically stored in ASPNETBD.mdf file.
When running the site in Visual Studio 2008, it works all just fine, but after deploying, i'm still able to query the database, but the logins no longer work. I always get: “Login attempt unsuccessful, please try again.”
I found that the problem is exposed on http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx
but unlike on this example, i do not have any <Membership> tag on my web.config file, only <roleManager enabled="true"/>, which following the suggestion on the site above, i replaced with:
<roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
<providers>
<add
applicationName="/"
name="AspNetWindowsTokenRoleProvider"
type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
But no good. I'm still getting the same error after deploying. anyone knows how to fix that?