Hi,
I had a DNN site with a Social Groups module. I ran into an issue with the site and had to restore it from a backup. The site is currently hosted on Azure. When the site was restored, the profile images were gone and the image that was associated to my group was gone as well. When I try to add a new image , I get the following error: A critical error has occurred. Please check the Event Viewer for further details.
And this is what I get in the Event viewer:
AbsoluteURL:/profilepic.ashx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:ed1b9560-2007-41bb-86f6-505e4046a3d5
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:tTSxHGnoy2wymHndUTUnMA==
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)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
...I see the error "The value of null is not valid for stream" but I am selecting a valid image and trying to save it. Also, all of the profile pictures of the members in my group are gone as well and I can't re-upload an image there as well. Does anyone know how to fix this? I am using DNN Community version 7.4.0.
Thanks