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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0newbie: Error <modulename> is currently unavailablenewbie: Error is currently unavailable
Previous
 
Next
New Post
8/22/2006 7:05 AM
 

Hey

I uses DNN Starter Kit to create a DNN (version 4.3.4) portal!

I added 1 module, compiled and everything works. But my problem occur when adding the second module. After successfully created the sesond module, I get this error message when I add this module to a DNN page:
"Error: Helloworld is currently unavailable
DotNetNuke.Services.Exception.ModuleLoadException: Object reference not set to an instance of an object -->  "

Both my modules are created in C#

Any ideas on how to solve this?

 
New Post
8/22/2006 8:55 AM
 

Some info about the computer I get this DNN error on:
Intel Pentium III 1133MHz
RAM 1GB

Any suggestions to what I should do to fix this "Helloworld is currently unavailable" error?

 
New Post
8/22/2006 1:47 PM
 

We'll need a little more information.  I presume this is a custom module... yes/no?  Are you dropping the same module on a page twice or is it two entirely different modules?  Do both of them work with on one on a page?  Are you logged in as Host (sometime you get better errors)?

If you need multiple instances of a module on a page, be sure you include ModuleID as one of your table fields and use it everytime you get/add/update/delete.

You could post some code and/or your db table structure as well.

 

 
New Post
8/22/2006 2:54 PM
 

Thanks for replying to my thread!

I have 2 custom made modules (created by the Starter Kit's module template). Each module is set to it's own page. The first module works great. But the second module gives this exception. I haven't done anything to do with ModuleID. I haven't done any modifications to the second module, I just let the vwd generate the module based on the Starter Kit's template

Any ideas?

 
New Post
8/23/2006 3:31 PM
 

I'm using a sqlserver 2005 as database and installed this module by running
the 01.00.00.SqlDataProvider in DesktopModules, I haven't done any changes
in the code, except changing the name of the 2 folders > "ModuleName"
changed to "Adm"
And also:
<codeSubDirectories>
  <add directoryName = "Ask" />
  <add directoryName = "Adm" />
</codeSubDirectories>

(strange is this that I don't have any problems with this Ask module, it's
the Adm module I have problems with)

Both my costom made modules are created in C#

Some stack trace info:
at YourCompany.Modules.Adm.ViewAdm.lstContent_ItemDataBound(Object sender,
DataListItemEventArgs e) in
c:\Inetpub\wwwroot\DotNetNukeWebsite\DesktopModules\Adm\ViewAdm.ascx.cs:line
136
   at
System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e)
   at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex,
ListItemType itemType, Boolean dataBind, Object dataItem)
   at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean
useDataSource)
   at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
   at System.Web.UI.WebControls.BaseDataList.DataBind()
   at YourCompany.Modules.Adm.ViewAdm.Page_Load(Object sender, EventArgs e)
in
c:\Inetpub\wwwroot\DotNetNukeWebsite\DesktopModules\Adm\ViewAdm.ascx.cs:line
115

Any suggestions?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0newbie: Error <modulename> is currently unavailablenewbie: Error is currently unavailable


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