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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryA critical error has occurred. An unexpected error has occurredA critical error has occurred. An unexpected error has occurred
Previous
 
Next
New Post
6/17/2012 1:46 AM
 

So when I upload from the admin account it's fine and I don't receive this error, but when I go to a test user account I created. I upload the file, it goes into the moderation que just fine and can be approved just fine. For some reason it gives the user this message, "A critical error has occurred. An unexpected error has occurred"


Help?

 
New Post
6/17/2012 9:39 PM
 
Please check the Admin --> Event Viewer for more detailed information that is likely being logged each time this error is occuring.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
6/18/2012 1:51 AM
 

AssemblyVersion: 6.2.0

PortalID: 0

PortalName: GuideWars2 - The Ultimate site for Guild Wars 2

UserID: 2

UserName: HankHill

ActiveTabID: 57

ActiveTabName: Gallery

RawURL: /Gallery/tabid/57/ctl/UserUpload/mid/463/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://guidewars2.com/Gallery/tabid/57/ctl/UserUpload/mid/463/Default.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: df30ac22-ace7-4a64-ab05-edf065f87cb0

InnerException: This property cannot be set to an empty string. Parameter name: value

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Net.Mail.SmtpClient.set_Host

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: This property cannot be set to an empty string. Parameter name: value ---> System.ArgumentException: This property cannot be set to an empty string. Parameter name: value at System.Net.Mail.SmtpClient.set_Host(String value) at DotNetNuke.Services.Mail.Mail.SendMailInternal(MailMessage mailMessage, String subject, String body, MailPriority priority, MailFormat bodyFormat, Encoding bodyEncoding, IEnumerable`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, String[] attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, String attachment, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, String attachment, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword) at DotNetNuke.Modules.Repository.Helpers.UploadFiles(Int32 PortalID, Int32 ModuleID, String fileURL, String imageURL, HttpPostedFile objFile, HttpPostedFile objImageFile, RepositoryInfo pRepository, String strCategories, String strAttributes) at DotNetNuke.Modules.Repository.Form.btnUpload_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: AVEN

Somehow... I feel like I did something stupid while editing the code.

 
New Post
6/18/2012 9:03 AM
 

Make sure that the email server host name and its authentication credentials have been properly set up in Host --> Host Settings, Advanced Settings, SMTP Server Settings.

If that does not fix the issue - you mentioned "Somehow... I feel like I did something stupid while editing the code." - what code did you edit?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryA critical error has occurred. An unexpected error has occurredA critical error has occurred. An unexpected error has occurred


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