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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Error adding Profile images to Social GroupsError adding Profile images to Social Groups
Previous
 
Next
New Post
5/20/2015 2:08 PM
 

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

 
New Post
6/3/2015 1:46 PM
 
Please get the debug files from CodePlex for the version you're using and drop them in the /BIN folder of the site on Azure
Re-run the scenario's that throw the error and post the log.resources file errors in this thread.

You can access the site with Host/Admin users without issue?
It's ONLY the Social Group where you cannot upload images? - Did you try uploading into a users profile or via Admin or Host File manager?

You haven't run any 3rd Party SQL scripts against the original installation?

Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
6/3/2015 1:46 PM
 
Please get the debug files from CodePlex for the version you're using and drop them in the /BIN folder of the site on Azure
Re-run the scenario's that throw the error and post the log.resources file errors in this thread.

You can access the site with Host/Admin users without issue?
It's ONLY the Social Group where you cannot upload images? - Did you try uploading into a users profile or via Admin or Host File manager?

You haven't run any 3rd Party SQL scripts against the original installation?

Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
6/3/2015 1:46 PM
 
Please get the debug files from CodePlex for the version you're using and drop them in the /BIN folder of the site on Azure
Re-run the scenario's that throw the error and post the log.resources file errors in this thread.

You can access the site with Host/Admin users without issue?
It's ONLY the Social Group where you cannot upload images? - Did you try uploading into a users profile or via Admin or Host File manager?

You haven't run any 3rd Party SQL scripts against the original installation?

Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
6/3/2015 1:46 PM
 
Please get the debug files from CodePlex for the version you're using and drop them in the /BIN folder of the site on Azure
Re-run the scenario's that throw the error and post the log.resources file errors in this thread.

You can access the site with Host/Admin users without issue?
It's ONLY the Social Group where you cannot upload images? - Did you try uploading into a users profile or via Admin or Host File manager?

You haven't run any 3rd Party SQL scripts against the original installation?

Ken Grierson
DotNetNuke Corporation
Test Lead
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Error adding Profile images to Social GroupsError adding Profile images to Social Groups


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