Hello, I get this on a regular basis when trying to add new custom modules with DNN 9. In Chrome Dev tools I see:
/API/internalservices/controlbar/AddModule which links to "The requested resource does not support http method 'GET'" and in the server logs I see...
DotNetNuke.Web.InternalServices.ControlBarController - System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Entities.Modules.ModuleController.AddModule(ModuleInfo module)
at DotNetNuke.Web.InternalServices.ControlBarController.DoAddNewModule(String title, Int32 desktopModuleId, String paneName, Int32 position, Int32 permissionType, String align)
at DotNetNuke.Web.InternalServices.ControlBarController.AddModule(AddModuleDTO dto)
Are there any guidelines as to what custom modules must contain? Sometimes if I use the "Create Package" then use the "Install Extension" method, the same module will work. But the one I'm currently working with will not. Thanks.