Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Failed to Load Module on a Page.Failed to Load Module on a Page.
Previous
 
Next
New Post
4/22/2011 11:12 PM
 
Hi,
I have created a small module that talks to WCF and brings data. Everything is working fine except when i try to use that module in my page in DNN.
The I have created my module in VS 2010. Here is the error detail that i am getting . DNN version is 5.6.1

AssemblyVersion: 5.6.1
PortalID: 2
PortalName: TestCompany
UserID: 3
UserName: admin_ds
ActiveTabID: 104
ActiveTabName: CompanyProfile
RawURL: /dnndev/ds/Home/CompanyProfile.aspx
AbsoluteURL: /DNNDEV/Default.aspx
AbsoluteURLReferrer: http://localhost/dnndev/ds/Home/CompanyProfile.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; FDM; .NET4.0C; MS-RTC LM 8; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 1a0e55a8-1aca-49ca-81a6-269b95ea13b4
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Modules.ModuleController.AddModule
StackTrace:
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.Entities.Modules.ModuleController.AddModule(ModuleInfo objModule) at DotNetNuke.UI.ControlPanel.AddModule.DoAddNewModule(String title, Int32 desktopModuleId, String paneName, Int32 position, Int32 permissionType, String align) at DotNetNuke.UI.ControlPanel.AddModule.cmdAddModule_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: DEVMACHINE


Any pointer is highly appreciated .

Thanks.
 
New Post
4/23/2011 1:08 PM
 
Without knowing a lot more about how u  have created the module its hard to know really what is going on.

Is the module based on WSP or WAP principles - and have you properly inherrited from portalmodulebase

Westa
 
New Post
5/16/2011 9:30 AM
 
Tabish, did you ever resolve this issue?
If so, please share details...
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Failed to Load Module on a Page.Failed to Load Module on a Page.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out