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 ForumsForumForumArgumentNullException when trying to "Add" attachment.ArgumentNullException when trying to "Add" attachment.
Previous
 
Next
New Post
1/6/2006 2:49 AM
 

I have DNN 4.00.02 with 3.20.01 Forums installed.  I enabled attachments and tried it out.  After browsing to a jpg, I clicked on "Add".  Every time I then get the following exception:

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: format

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: format]
   System.String.Format(IFormatProvider provider, String format, Object[] args) +2835407
   DotNetNuke.Modules.Forum.AttachmentFile.ValidationInfo(Config ForumConfig) +601
   DotNetNuke.Modules.Forum.AttachmentPage.AddFile() +107
   DotNetNuke.Modules.Forum.AttachmentPage.cmdAdd_Click(Object sender, EventArgs e) +58
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
 
New Post
1/6/2006 11:01 AM
 

I don't think I ever tried attachments in 4.x.  I will try this out tonight and get back to you.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/11/2006 9:36 PM
 

Hey Crispy - Did you get a chance to look at this?  If not I'll look into testing out my debug environment to repro the bug.

James

 
New Post
1/12/2006 1:54 AM
 

I tried adding an attachment, the post went through fine but no attachment was present in the UI.  For some reason it is not sticking.  I will look into this, but right now I bet it will prove to be difficult to track down due to the module not being in a 2.0 ready dev enviroment.  We were able to find fixes before but they also proved to be difficult, but fixable.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/14/2006 9:37 PM
 

I finally got my DNN source environment up and running, but haven't figured out how to add Forums Source to the project.  Any advice?  I'm using VS2005.  Once I get forums under the debugger it should be a lot easier to point out where the code issue is.

Thanks,

James

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumArgumentNullException when trying to "Add" attachment.ArgumentNullException when trying to "Add" attachment.


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