Profile Issues

  • Thread starter Thread starter john_teague
  • Start date Start date
J

john_teague

I am trying to do a sample app using membership and profile. I'm using
the standard providers (with a different database, but ran the
aspnet_regsql).

I'm having difficulty with the Profile. Here is my web.config profile
section:

<anonymousIdentification enabled="true"
cookieName="anonymousProfifle"/>
<profile enabled="true" defaultProvider="MyProfileSqlProvider">
<providers>
<clear/>
<add name="MyProfileSqlProvider"
type="System.Web.Profile.SqlProfileProvider,
System.Web, Version=2.0.3600.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="xxx"
applicationName="MyApp"/>
</providers>
<properties>
<add name="Name"/>
</properties>
</profile>

So two things are happening. For one I'm not getting the new
properties through intellisense. The other is when debuggin, the
Profile object is null.
 
Did you replace the LocalSqlServer connection string with the new one, or
remove the default provider and connection string and add back in your new
one?

--Peter
 
I'm using a different connection string. It's pointing to an sql 2000
db with and aspnetdb database created.
 
Any thoughts on what might be the problem?

john_teague said:
I'm using a different connection string. It's pointing to an sql 2000
db with and aspnetdb database created.
 
Back
Top