Instructions

In order to be able to create threads and posts you need to register first.

 

 

HomeHomeGeneralGeneralGeneralGeneralAdd module errorAdd module error
Previous
 
Next
New Post
8/12/2010 2:36 PM
 

It seemed to install the zipped trial version (1.6.2) as a module definition\extension but when I try adding this installed module onto a page with a blank content pane (DNN 5.01.02 site on the network) I get the following error:

 

Object reference not set to an instance of an object.

 

What am I doing wrong?

 
New Post
8/12/2010 2:44 PM
 

Hello,

 

I'm not sure what's wrong. Can you look into Admin/Log Viewer to see if there is a more detailed error message and post it here?

 

Thanks,

Bogdan


Please support us back by writing a review for us on Snowcovered.
 
New Post
8/12/2010 2:51 PM
 

Here's the admin's event viewer log report:

 

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.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
8/12/2010 2:56 PM
 

This error is not relevant, it get thrown by DNN after the actual error happened. 

Isn't there another error below this one that contains NavXp somewhere in the message?

(you posted in the General forum, but I assume this error is about NavXp).

 

Thanks,

Bogdan


Please support us back by writing a review for us on Snowcovered.
 
New Post
8/12/2010 3:04 PM
 

Actually I thought I put this under MyTokens forum - my bad. Anyway here's the message for MyTokens before it:

 

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

 

FYI eventually what I am going to evaluate is whether or not I can: 

have like a privacy statement page with content set for many DNN sites come from 2 accessable network share locations - 1 for static sites, other for dynamic DNN sites.  Can MyTokens do this for me?

 
New Post
8/12/2010 3:20 PM
 

Sure, that's possible wit MyTokens, you need to create a file token then put HTML modules on you Privacy Statement pages and include the token you've created.

 

I'm sorry, but this error doesn't say much either. Try looking in the log if you find something that contains MyTokens.

 

Thanks,

Bogdan

 


Please support us back by writing a review for us on Snowcovered.
 
New Post
8/12/2010 3:38 PM
 

OK, that's all the error information I have.  So a module load exception athen the page load exception happens.  Perhaps there's an event that's not wired up to any code. 

 

As for MyTokens - can it read say contents from say an MS Excel or MS Word file put on the network share and translate them into HTML content for DNN?

 
New Post
8/12/2010 3:43 PM
 

Ok, thanks for the info. I will try to install it on 5.01.02 and see how it goes. But that is a poor version, lots of folks were having issues:

http://dotnetnuke.codeplex.com/releases/view/32337

 

Do you also have another DNN version you can try on?

 

MyTokens can read from a file, but doesn't know to do any conversions. You'll have to provide the content in html.

 

Bogdan


Please support us back by writing a review for us on Snowcovered.
 
New Post
8/12/2010 4:06 PM
 

It worked with no problems for me on 5.01.02.

 

Anyway, you should be able to do all management by accessing

www.yourwebsite.com/DesktopModules/avt.MyTokens/MyTokensStudio.aspx?portalid=0

The module you added just instructs how to access this page and to install a button under Admin.

 

Bogdan

 


Please support us back by writing a review for us on Snowcovered.
 
New Post
8/12/2010 4:11 PM
 

OK - I just tried it on a DNN site of version 5.1.4. I installed it.  Then I created a new page as a new tab which used a template from the site.   I then added this module onto the content pane.  Same error.  However, this site recorded one error before the same error and it happened at same time on same page - apparently I don't have access to the annoucements.ascx control. 

 

Message: System.UnauthorizedAccessException: Access to the path 'C:\DNN\dnntqa\APPLICATIONTEST\DesktopModules\Announcements\Announcements.ascx' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) at System.IO.File.AppendAllText(String path, String contents, Encoding encoding) at avt.MyTokens.MyTokensController.PatchControl(String moduleName, String version, String ctlKey, String ctrlPath) at avt.MyTokens.MyTokensController.PatchControls(Boolean bClearCache) at avt.MyTokens.Main.Page_Init(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
 

 
New Post
8/12/2010 4:22 PM
 

This makes sense. MyTokens tries to patch standard DNN module so they support tokens defined in MyTokens.

Can you make sure the Application Pool Identity has edit rights over the entire website folder?


Please support us back by writing a review for us on Snowcovered.
 
New Post
8/12/2010 4:41 PM
 

Got it, you were right the dnn folder and not just the dnn site itself needs full edit rights.  Specifically the DNN users group needs modify rights to the 'desktop modules' folder for your token file updates to work.

 
Previous
 
Next
HomeHomeGeneralGeneralGeneralGeneralAdd module errorAdd module error


See our DotNetNuke modules...