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...Administration ...Administration ...Custom Module Settings Control ProblemCustom Module Settings Control Problem
Previous
 
Next
New Post
6/28/2006 8:16 AM
 

Hi,

I am currently trying to transfer a custom application module from a DNN3 site to a DNN4 site. The main application is working fine with no problems but I am getting problems when trying to add the "Settings" page.

I have been into the module definition and added the control with a key of "Settings"
I have also selected "settings.ascx" from the dropdown box
I have also selected the Control Type of "Edit"

I get no problems when adding this information to the Module but when I then go to a page with the module on and select "Settting" from the dropdown actions menu, the control bombs out and reports "A Critical Error has occurred"

Are there any changes in the way settings controls work between DNN3 and DNN4 or can anyone suggest what maybe going wrong?

Thanks

Trev

The detailed error from the log viewer is below:

AssemblyVersion: 04.03.01
Method: DotNetNuke.Modules.Repository.Settings.Page_Load
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 1
PortalName: BOS
UserID: 1
UserName: host
ActiveTabID: 72
ActiveTabName: Find an Orthodontist
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 444e091d-3167-4712-acd3-3617185e45e1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
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.Modules.Repository.Settings.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: IIS684

This is the code of the settings.ascx file

<%@ Control Language="vb" AutoEventWireup="false" Codebehind="Settings.ascx.vb" Inherits="DotNetNuke.Modules.Repository.Settings" TargetSchema="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" %>
<%@ Register TagPrefix="Portal" TagName="URL" Src="~/controls/URLControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<table cellSpacing="2" cellPadding="2" border="0">
 <tr>
  <td nowrap width="180" class="SubHead"><dnn:label id="plSearchType" runat="server" controlname="cboSearchType" text="Search Type:"></dnn:label></td>
  <td  width="300">
   <asp:dropdownlist id="cboSearchType" runat="server" Width="300"></asp:dropdownlist>
  </td>
 </tr>
 <TR>
  <TD nowrap width="180" class="SubHead"><dnn:label id="plchkTest" runat="server" controlname="chkTest" text="Search in Test Mode:"></dnn:label></TD>
  <TD width="300"><asp:CheckBox id="chkTest" runat="server"></asp:CheckBox></TD>
 </TR>
</table>



www.taxiroute.co.uk - Get a Fare Price!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom Module Settings Control ProblemCustom Module Settings Control Problem


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