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's World: Othello</name>
<friendlyname>Dave's World: Othello</friendlyname>
<foldername>Othello</foldername>
<modulename>Dave's World: Othello</modulename>
<description>Dave'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