CustomProfile.config changes not showing up

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/13/2011 2:00:40 PM
Gravatar
Total Posts 19

CustomProfile.config changes not showing up

I added a new property into CustomProfile.config and it worked great on my development box. Property showed up when I edited the user in the admin screens. Then I deployed (copied) the entire site over my production files and made sure the app restarted. Nothing changed on my production box. The new property doesn't show up.

Below is the property I added.  Any help is appreciated.

<add    name="CPE_ID"
type="System.Int32"
allowMarkup="false"
resourceFile="ProfileResource"
labelResourceKey="CPE ID"
lazyLoad="false"
requiredForRegistration="false"
showOnRegistration="false"
allowAnonymous="false"
visibleToAnonymous="false"
visibleToAuthenticated="false"
visibleToUser="false"
editableByUser="true"
regexValidationExpression=""
regexValidationErrorResourceKey=""
onlyAvailableForRoles=""
onlyVisibleForRoles=""
defaultValue="56"
includeHelpLink="false"
>

</add>

 

Checked system log but nothing was indicated. 

12/13/2011 5:07:06 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: CustomProfile.config changes not showing up

I'd try running /setup on the production box. I'm not sure if that's required or not, but it couldn't hurt.

Jamie

12/13/2011 5:21:38 PM
Gravatar
Total Posts 19

Re: CustomProfile.config changes not showing up

That didn't correct the problem. 

Thanks for the reply. 

12/14/2011 8:10:28 AM
Gravatar
Total Posts 18439

Re: CustomProfile.config changes not showing up

Most likely you have configured a custom userprofile.config file as mentioned in the article and pointed to it from user.config on your local machine but have forgot to do that on production so it is still pointing to the standard profile config file.

Hope that helps,

Joe

12/14/2011 9:09:14 AM
Gravatar
Total Posts 19

Re: CustomProfile.config changes not showing up

Thanks Joe. That was it.

It's always the little things :)

12/14/2011 9:22:32 AM
Gravatar
Total Posts 18439

Re: CustomProfile.config changes not showing up

Glad that solved it Michael and thanks for the beer!

Cheers,

Joe

You must sign in to post in the forums. This thread is closed to new posts.