Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem adding a new profile fieldProblem adding a new profile field
Previous
 
Next
New Post
9/26/2007 4:24 AM
 

Normally when you go to admin->user accounts->manage profile properties you can add a profile field, choosing a data type for it. For some reason the drop down doesn't appear in my installation. Please see here:

 

 

I've tried to get around this by adding a field on a different installation of DNN (it all works fine there) and copying the resulting entry from that installation's ProfilePropertyDefinition table to my installation's table. As a result the field now appears in the list of fields in "admin->user accounts->manage profile properties" and properly as a date field, but when I go to edit the profile of any user I get this module load exception:

 

UserName: koomaadmin
ActiveTabID: 42
ActiveTabName: User Accounts
RawURL: /koomadnn/Admin/UserAccounts/tabid/42/ctl/Profile/UserID/2/Default.aspx
AbsoluteURL: /KoomaDNN/Default.aspx
AbsoluteURLReferrer: http://localhost/koomadnn/Admin/UserAccounts/tabid/42/ctl/Profile/UserID/2/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 36cd16a4-3a38-44e2-bb69-3dcb55301457
InnerException: Object reference not set to an instance of an object.
FileName: C:\Inetpub\wwwroot\Kooma_DNN\Library\Controls\PropertyEditor\Edit Controls\DateEditControl.vb
FileLineNumber: 112
FileColumnNumber: 17
Method: DotNetNuke.UI.WebControls.DateEditControl.get_Format
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.WebControls.DateEditControl.get_Format() in C:\Inetpub\wwwroot\Kooma_DNN\Library\Controls\PropertyEditor\Edit Controls\DateEditControl.vb:line 112 at DotNetNuke.UI.WebControls.DateEditControl.get_StringValue() in C:\Inetpub\wwwroot\Kooma_DNN\Library\Controls\PropertyEditor\Edit Controls\DateEditControl.vb:line 145 at DotNetNuke.UI.WebControls.DateEditControl.OnPreRender(EventArgs e) in C:\Inetpub\wwwroot\Kooma_DNN\Library\Controls\PropertyEditor\Edit Controls\DateEditControl.vb:line 195 at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

Can anyone advise please?

 

 
New Post
9/26/2007 4:39 AM
 

did you enable Active Directory integration?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/26/2007 4:45 AM
 

Not that I'm aware of. Relevant sections of my web config:

 

<system.web>

        <authentication mode="Forms">
            <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies"/>
        </authentication>

        <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">
            <providers>
                <clear/>
                <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" requiresUniqueEmail="false" passwordFormat="Encrypted" applicationName="DotNetNuke" description="Stores and retrieves membership data from the local Microsoft SQL Server database"/>
            </providers>
        </membership>

</system.web>

<dotnetnuke>

    <profiles defaultProvider="DNNProfileProvider">
            <providers>
                <clear/>
                <add name="DNNProfileProvider" type="DotNetNuke.Security.Profile.DNNProfileProvider, DotNetNuke.Provider.DNNProvider" providerPath="~\Providers\MembershipProviders\DNNMembershipProvider\"/>
            </providers>
        </profiles>
 </dotnetnuke>

 
New Post
9/26/2007 7:58 AM
 

Not that I'm aware of. I've posted the relevant sections of the web config, but these seem to have been lost in moderation...

 
New Post
9/27/2007 5:38 AM
 

Sorry for nagging, but can anyone help me with this? At least identify the tables and/or config files that are involved in creating the custom profile fields? I know that the ProfilePropertyDefinition takes part in this, but.. anything else? How is the list of data types built? Is it an enumeration contained somewhere?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem adding a new profile fieldProblem adding a new profile field


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out