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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
 


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.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

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