点网核模块中出现异常 [英] got exception in dot net nuke module

查看:130
本文介绍了点网核模块中出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
当我在本地点网nuke中创建新模块时
并将其添加到页面
它显示一个异常

hi
when i create a new module in my local dot net nuke
and add it to a page
it show an 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 DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl()"



有谁知道如何解决这个问题
在此先感谢



can any have idea how to resolve this
thanks in advance

推荐答案

最后我得到了解决方案

在用户控件中继承PortalModuleBase类



问题解决了

cheerssssssssss
finally i got solution

inherit PortalModuleBase class in user control

and

problem solved

cheerssssssssss


这篇关于点网核模块中出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆