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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesVersionEditControlVersionEditControl
Previous
 
Next
New Post
5/3/2010 6:35 AM
 

 Hi there,

 

I'm trying to use the VersionEditControl within a page I am developing, but whenever it's on my page - I get the following exception being thrown on PostBack:

DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.WebControls.VersionEditControl.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Any thoughts for a work around?

 
New Post
12/8/2011 11:00 AM
 

i am also experiencing same issue when i try to update module definition in DNN 6.01.00. Please check the error below.

AssemblyVersion: 6.1.0

PortalID: 0

PortalName: Dotty Bingo

UserID: 1

UserName: Tehseen

ActiveTabID: 36

ActiveTabName: Extensions

RawURL: /Default.aspx?tabid=36&ctl=Edit&mid=345&PackageID=137&portalid=0&popUp=true

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://dottybingo/Default.aspx?tabid=36&ctl=Edit&mid=345&PackageID=137&portalid=0&popUp=true

UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 9021596b-0f1e-48bd-8528-39637b9a68f5

InnerException: Object reference not set to an instance of an object.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: DotNetNuke.UI.WebControls.VersionEditControl.LoadPostData

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.WebControls.VersionEditControl.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: BDJHB-ITD03



 
New Post
3/29/2012 6:17 AM
 
Maby found a solution but then you have to get the DNN Source and compile to fix it:
http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=19313&PROJID=2

Any other solution yet?

I think in DNN 6.2.1 it should get fixed.
 
New Post
5/24/2012 5:32 AM
 
I can't found file VersionEditControl.cs, how to fix it now? tks.

Here is a solution (I need to do this each your update):
1. Open VersionEditControl.cs
2. Go to function: LoadPostData
3. Change the line:
Current: if (!presentValue.Equals(postedValue))
New: if (!postedValue.Equals(presentValue))
I do not know why, but ‘presentValue’ comes with null value. ‘postedValue’ cannot be null because it is created in this function.
 
New Post
5/24/2012 5:58 AM
 
I found it, tks :)
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesVersionEditControlVersionEditControl


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