Friday, February 10, 2012
  Search
Support Forum
Adding File Upload error
Last Post 19 Apr 2006 01:08 PM by Steve Provencher. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Razmaster 2000
New Member
New Member
Send Private Message
Posts:7


--
19 Apr 2006 12:06 PM  
When I try to add a File Upload to my form it will make an error

Do I need to make or mark some special settings so the File Upload field will work ?

InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Code5Systems.FormMaster.Business.FormController.AddCellControls(FormInfo objFormInfo, TableCell labelCell, TableCell controlCell, String row, String col, Int32 moduleId) at Code5Systems.FormMaster.Business.FormController.CreateForm(Int32 moduleId, PlaceHolder phForm, Boolean isDesignTime) at Code5Systems.FormMaster.FormMaster.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
19 Apr 2006 12:22 PM  
Use the Export option on the Module Action Ment. A file will be created in /Portals/[PORTALID] named content.FormMaster.[MODULETITLE].xml. Send this file to me at info at code5systems dot com
Razmaster 2000
New Member
New Member
Send Private Message
Posts:7


--
19 Apr 2006 12:58 PM  

Well what just happend

As I was waiting for an anwser I deleted the File Upload from the form, and continued working on it

Then I closed the browser and started working on other things.

When I got a anwser I put the File Upload back to the form so I could exported, and what do you know ? it worked :blush:

But I did nothing ?? now the validate, maximum filetype and size shows in edit mode ( did not earlier )

So if I get the Error a gain I will post it, but for now :D

Steve Provencher
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:681


--
19 Apr 2006 01:08 PM  
Ok, but like you say if it happens again follow the procedures above. It is probably a bug which needs just the correct environment to wake up.

Steve
You are not authorized to post a reply.

Active Forums 4.2
Copyright 2004-2012 Code 5 Systems, LLC.