I am troubleshooting a problem where profile images are not showing up in Active Forums. This is caused by the profilepic.ashx file generating the error seen below. Any ideas on what the cause could be? I'm running a fresh install of DNN 7.4.1 on localhost. I can generate the error by either going to a page on ActiveForums where the user avatars are displayed, and also just by entering the following URL:
http://localhost:52075/profilepic.ash...
AbsoluteURL:/profilepic.ashx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:5690b915-4e26-4ca9-8bb4-d8276b996499
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:B+LW5HmD86O0R8pY9FfuBg==
Message:Unhandled Error:
StackTrace:
InnerMessage:Value of 'null' is not valid for 'stream'.
InnerStackTrace:
at System.Drawing.Bitmap..ctor(Stream stream) at DotNetNuke.Common.Utilities.ImageUtils.CreateImage(Stream stream, Int32 intHeight, Int32 intWidth, String extension) at DotNetNuke.Services.UserProfile.UserProfilePicHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)