I've been chasing this around for the entire afternoon and decided it's time for a post and some help. Can I use the DNNProfileProvider with other (non-DNN, but ASP.Net 2.0) sites? I have several DNN portals on one DNN (4.5.5) install and am pointing them to a dashCommerce storefront. The Membership integration works seemlessly simply by making the correct web.config entries. I'm assuming I just don't have the correct config yet to get this to fly.
Here's what I have in the web.config for the dashCommerce site:
<profile
enabled="true"
defaultProvider="DNNProfileProvider">
<providers>
<clear />
<add
name="DNNProfileProvider"
type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke.Provider.DNNProvider"
connectionStringName="MembershipSqlServer"
applicationName="DotNetNuke" />
</providers>
I've copied the DotNetNuke.*.dll assemblies to the ../bin/...of the dashCommerce site and I receive this error when attempting to view any page after authenticating on a DNN portal:
Parser Error Message: Provider must implement the class 'System.Web.Profile.ProfileProvider'.
Source Error:
Line 278: <add
Line 279: name="DNNProfileProvider"
Line 280: type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke.Provider.DNNProvider"
Line 281: connectionStringName="MembershipSqlServer"
Line 282: applicationName="DotNetNuke" />
Any help is greatly appreciated. Thanks,
-Paul