This project is read-only.

Exception loading sample module

Jun 20, 2013 at 6:54 PM
I was able to build the DnnMvcBridge library with the SampleMvcModule in Release mode, and got the .zip Source package in the install folder.
In DNN, I create a new page and try to add my sample module. I get this exception:
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 System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters)
at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration)
at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl()
--- End of inner exception stack trace --
My DNN 7.0.4 install is fresh new, and I didn't change anything in the bridge or sample projects.

Anyone successfully installed the sample project?
Jul 6, 2013 at 1:42 AM
I have not tested the sample module, it's just a reference to get an idea of how to use the bridge. With that said you need to make sure you have all the MVC 4 and Razor 2 dll's copied to your DNN bin directory.