DNN 7.4.2
I have created a custom profile property that is an image.
As a superuser, I can edit user profiles, add images to the custom property and also use the custom property in, for example, Razor and 2sxc scripts.
However, when a logged on user attempts to go the the ActivityFeed page or edit his profile, there's an error. I did enough debugging to verify that the error occurs when calling ProfilePropertyAccess.GetProperty (Line 181).
Looking for ideas/suggestions.
ModuleId:1910
ModuleDefId:301
FriendlyName:ViewProfile
ModuleControlSource:DesktopModules/Admin/ViewProfile/ViewProfile.ascx
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:f7dcdb47-3a8a-4751-a26f-87e770feb3ca
AssemblyVersion:7.4.2
PortalId:44
UserId:5628
TabId:817
RawUrl:/Activity-Feed/My-Profile/UserId/5628
Referrer:http://mysite.com/Activity-Feed/My-Profile/UserId/5628
UserAgent:Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
ExceptionHash:lK7rRLQ4x7izSVKXmlrDWA==
Message:Object reference not set to an instance of an object.
StackTrace:
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at DotNetNuke.Common.Utilities.UrlUtils.EncryptParameter(String value, String encryptionKey)
at DotNetNuke.Common.Globals.LinkClick(String Link, Int32 TabID, Int32 ModuleID, Boolean TrackClicks, Boolean ForceDownload, Int32 PortalId, Boolean EnableUrlLanguage, String portalGuid)
at DotNetNuke.Common.Globals.LinkClick(String Link, Int32 TabID, Int32 ModuleID, Boolean TrackClicks, Boolean ForceDownload)
at DotNetNuke.Entities.Users.ProfilePropertyAccess.GetRichValue(ProfilePropertyDefinition property, String formatString, CultureInfo formatProvider)
at DotNetNuke.Entities.Users.ProfilePropertyAccess.GetProperty(String propertyName, String format, CultureInfo formatProvider, UserInfo accessingUser, Scope currentScope, Boolean& propertyNotFound)
at DotNetNuke.Modules.Admin.Users.ViewProfile. (EventArgs e) in c:\inetpub\vhosts\mysite\httpdocs\DesktopModules\Admin\ViewProfile\ViewProfile.ascx.cs:line 181