Profile Issues

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.
 
G

Guest

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
 
J

john_teague

I'm using a different connection string. It's pointing to an sql 2000
db with and aspnetdb database created.
 
J

john_teague

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top