DNN4.3.5 Starter Kit C# new Module
Last Post 10/29/2006 6:32 AM by Wolfgang Mena-Bruhn. 0 Replies.
Author Messages
Wolfgang Mena-Bruhn
Nuke Newbie
Nuke Newbie
Posts:1


--
10/29/2006 6:32 AM  

Hello to all, forgive me first for my english, it is not my native language.

I am using DNN 4.3.5 and the starter kit.

With this I add a C# module within Visual Studio 2005 full version.

The table of the module and the stored procedures are also created.

But when I add the module within DNN I got always the following message:

Error: WMBModuleTest is currently unavailable.
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 YourCompany.Modules.WMBModuleTest.ViewWMBModuleTest.lstContent_ItemDataBound(Object sender, DataListItemEventArgs e) in c:\Daten\projects\MITOSOFT\DNN\DotNetNuke435\Website\DesktopModules\WMBModuleTest\ViewWMBModuleTest.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.WMBModuleTest.ViewWMBModuleTest.Page_Load(Object sender, EventArgs e) in c:\Daten\projects\MITOSOFT\DNN\DotNetNuke435\Website\DesktopModules\WMBModuleTest\ViewWMBModuleTest.ascx.cs:line 115 --- End of inner exception stack trace ---

Doing the same steps with a VB module is working fine.

Please help me, because I have no more hairs to ...

Thank you very much in advance.

Greetings Wolfgang



---