Dotcom Support Forums

To post in the forums you need to register and log in .

HomeHomeLicence MasterLicence MasterConfiguration &...Configuration &...Add Application - error being loggedAdd Application - error being logged
Previous
 
Next
New Post
04/10/2010 20:02
 

Hi,

Installed 1.0.6 on a fresh DNN 5.5. Added the module to a new page and it shows up ok, but clicking the Add Application link or selecting Add Application from the action menu logs this error and the page just refreshes with no change:
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 Dotcom.Modules.LicenceMaster.ViewApplications.ModuleAction_Click(Object sender, ActionEventArgs e) at DotNetNuke.UI.Containers.Container.ModuleAction_Click(Object sender, ActionEventArgs e) at DotNetNuke.UI.Containers.ActionBase.OnAction(ActionEventArgs e) at DotNetNuke.UI.Containers.ActionBase.ProcessAction(String ActionID) at DotNetNuke.UI.Containers.ActionButton.Action_Click(Object sender, ActionEventArgs e) at DotNetNuke.Entities.Modules.Actions.ActionEventHandler.Invoke(Object sender, ActionEventArgs e) at DotNetNuke.UI.Containers.ActionButtonList.OnAction(ActionEventArgs e) at DotNetNuke.UI.Containers.ActionButtonList.ActionButtonClick(Object sender, ActionEventArgs e) at DotNetNuke.UI.Containers.ActionCommandButton.OnAction(ActionEventArgs e) at DotNetNuke.UI.Containers.ActionCommandButton.OnButtonClick(EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.RaiseClick(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
 
New Post
05/10/2010 09:39
 

Hi Dan,

Thanks for reporting this. I have been able to reproduce it, and it turns out that it only occurs on a fresh 5.5.1 instance. On an upgraded 5.5.1 instance, I am able to install the module, add it to a page, and enter data as expected.

Will investigate further and report a solution here.


Dotcom Technical Support
 
New Post
05/10/2010 10:23
 

Dan,

The error is being caused by a missing configuration setting and only affects localhost installations. It will however affect upgraded installations as well as fresh ones.

I will fix this in the next release of the module (will let you know when it's available). In the meantime you can work around the problem by running the SQL script below. Note you need to edit it to supply the PortalID of the portal in which you have installed Licence Master. After you have run the script, restart DNN from the Host -> Host Settings page to make sure the setting is picked up.

INSERT INTO [dbo].[LicenceMaster_Settings]
([DesktopModuleID]
,[PortalID]
,[SettingName]
,[SettingValue]
,[CreatedByUserID]
,[CreatedOnDate])
SELECT
DesktopModuleID
,<PortalID, int,>
,'LicenceKey'
,'12341234'
,1
,GETDATE()
FROM dbo.DesktopModules dm
WHERE dm.FriendlyName = 'Licence Master'


Dotcom Technical Support
 
New Post
05/10/2010 12:11
 

Dan,

Licence Master 1.0.7 fixes this issue. You can download it here.


Dotcom Technical Support
 
Previous
 
Next
HomeHomeLicence MasterLicence MasterConfiguration &...Configuration &...Add Application - error being loggedAdd Application - error being logged



 Search   Home