Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  newbie: Error is currently unavailable
Previous Previous
 
Next Next
New Post 8/22/2006 5:05 AM
User is offline moonshiner
46 posts
10th Ranked


newbie: Error is currently unavailable 

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 6:55 AM
User is offline moonshiner
46 posts
10th Ranked


Re: newbie: Error is currently unavailable 

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 11:47 AM
User is offline Craig Walker
238 posts
9th Ranked


Re: newbie: Error is currently unavailable 

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 12:54 PM
User is offline moonshiner
46 posts
10th Ranked


Re: newbie: Error is currently unavailable 

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 1:31 PM
User is offline moonshiner
46 posts
10th Ranked


Re: newbie: Error is currently unavailable 

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  newbie: Error is currently unavailable
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP