I guess your setting is missing something (
ConnectionStringName
property) (Assuming that you have prepared all other things correctly including preparing the database for Membership and profile):
<profile>
<providers>
<add name="AspNetSqlProfileProvider"
connectionStringName="Conn"
applicationName="/"
type="System.Web.Profile.SqlProfileProvider />
</providers>
</profile>
And, you should have a
ConnectionStrings
setting in the
web.config,
which should have a matching Name:
<configuration>
<connectionStrings>
<remove name="Conn"/>
<add name="Conn"
connectionString="server=db;database=aspnet;integrated security=sspi;"
/>
</connectionStrings>
...
</configuration>
This Link[
^] has some detailed discussion about configuring Profile in Asp.net.