New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

MVC Mmodule can't load into page

Return to previous page

  • 7/19/2017
  • 5148 Views

Question:

Harry Wong 7 years ago

On tring to load a MVC modue created by using the mvc module template provided by DNN Christoc, it show error below:

Error: ATest01 is currently unavailable. 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.Web.Mvc.Framework.ModuleDelegatingViewEngine.RunAgainstModuleViewEngines(ControllerContext controllerContext, Func`2 engineRequest) at System.Web.Mvc.ViewEngineCollection.<>c__DisplayClass6.<FindView>b__4(IViewEngine e) at System.Web.Mvc.ViewEngineCollection.Find(Func`2 lookup, Boolean trackSearchedPaths) at System.Web.Mvc.ViewEngineCollection.FindView(ControllerContext controllerContext, String viewName, String masterName) at DotNetNuke.Web.Mvc.Framework.ActionResults.DnnViewResult.ExecuteResult(ControllerContext context, TextWriter writer) at DotNetNuke.Web.Mvc.MvcHostControl.RenderModule(ModuleRequestResult moduleResult) at DotNetNuke.Web.Mvc.MvcHostControl.OnLoad(EventArgs e) --- End of inner exception stack trace ---


I use VS2015, DNN 8.01

the Server is Win2012 and DB server is SQL server 2012 Express.


Does anyone knows the solution?

Thanks.

MVC Mmodule can't load into page

Harry Wong
Harry Wong 7 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member