I'm getting a strange error, the custom import of my module works well, however the implementation of the Import seems to be flawed. I'm getting a
"An error occurred during the import" Message... I proceeded to catch the exception in the import file by dotnetnuke and get this:
System.NullReferenceException: Object reference not set to an instance of an object. at Contento.DNN.Modules.Multipage.Business.MultipageController.ImportModule(Int32 ModuleID, String Content, String Version, Int32 UserId) at DotNetNuke.Modules.Admin.Modules.Import.ImportModule(Int32 ModuleId, String FileName, String Folder)
Now, Contento etc. is my Module which is otherwise working fine.. However I don't think any "DotNetNuke.Modules.Admin ..." etc. exists in the DNN dll?
I'm compiling the module .dll outside of any dotnetnuke installation and reference to the main dll's through VS' settings... Any idea?