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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Module Package CrashesCreate Module Package Crashes
Previous
 
Next
New Post
8/11/2009 1:24 AM
 

I am trying to create a package for the ASP custom control I have created. I have changed the manifest file to include all the files from the ASP Control project as well as the game engine project. The following is what the manifest file looks like:

<dotnetnuke version="5.0" type="Module">
  <folders>
    <folder>
      <name>Dave&apos;s World: Othello</name>
      <friendlyname>Dave&apos;s World: Othello</friendlyname>
      <foldername>Othello</foldername>
      <modulename>Dave&apos;s World: Othello</modulename>
      <description>Dave&apos;s World Othello module</description>
      <version>01.00.00</version>
      <resourcefile>Resources.zip</resourcefile>
      <businesscontrollerclass>FeatureController</businesscontrollerclass>
      <modules>
        <module>
          <friendlyname>Othello</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
              <src>DesktopModules/Othello/ViewOthello.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Edit</key>
              <title>Edit Content</title>
              <src>DesktopModules/Othello/EditOthello.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Settings</key>
              <title>Othello Settings</title>
              <src>DesktopModules/Othello/Settings.ascx</src>
              <type>Edit</type>
              <helpurl></helpurl>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
         <name>Othello.dll</name>
          </file>
        <file>
          <name>OthelloControl.dll</name>
        </file>
        <file>
          <name>OthelloEngine.dll</name>
        </file>
        <file>
          <name>DesktopModules/Othello/CanSelect.jpg</name>
        </file>
        <file>
          <name>DesktopModules/Othello/Empty.jpg</name>
        </file>
        <file>
          <name>DesktopModules/Othello/Player1Disc.jpg</name>
        </file>
        <file>
          <name>DesktopModules/Othello/Player2Disc.jpg</name>
        </file>
        <file>
          <name>DesktopModules/Othello/TurnOver.jpg</name>
        </file>
        <file>
          <name>DesktopModules/Othello/Unknown.jpg</name>
        </file>
      </files>
    </folder>
  </folders>
</dotnetnuke>

When I run the Create Package link I get an error with the following stack trace:

AssemblyVersion: 5.1.0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 18
ActiveTabName: Module Definitions
RawURL: /dnn/tabid/18/ctl/PackageWriter/rtab/18/packageId/86/mid/348/portalid/0/Default.aspx
AbsoluteURL: /DNN/Default.aspx
AbsoluteURLReferrer: http://localhost/dnn/tabid/18/ctl/PackageWriter/rtab/18/packageId/86/mid/348/portalid/0/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 31bfcea5-022f-4461-9cb1-3fad556a8513
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Admin.Extensions.PackageWriter.wizPackage_NextButtonClick
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.Modules.Admin.Extensions.PackageWriter.wizPackage_NextButtonClick(Object sender, WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String EVENT_ARGUMENT) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String EVENT_ARGUMENT) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String EVENT_ARGUMENT) 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: DAVED

What have I done wrong in creating my package that causes this crash? How do I fix it so I can produce a package to load to a real server?

 

Thank You,

David Demland

 
New Post
8/11/2009 10:39 AM
 

 Hey David,

I'm pretty sure you'll want to specify the fully qualified class name for your feature controller. This may be what is causing the issue.

For example: Engage.Dnn.Modules.YourModule.FeatureController (That's namespace + classname)

Also, shouldn't the manifest file be generated for you through the DNN wizard? are you modifying it as you go through the wizard?

Hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Module Package CrashesCreate Module Package Crashes


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