Info
   
Rent a Coder
   
Technorati

Add to Technorati Favorites
Click on sticker to add this blog to your popular blogs list.
   
Blog


Subscribe to My .NET Nuke Blog by Ismet Dumlupinar
04

Last week, i had some trouble with Module Settings section for some of Text HMTL modules, after digging more i applied a fix for the issue.

Go to admin\Modules directory and open up ModuleSettings.ascx.vb file. Go to line 242.

Replace

cboTab.DataSource = GetPortalTabs(PortalSettings.DesktopTabs, -1, False, True, False, False, True)

to

cboTab.DataSource = GetPortalTabs(PortalSettings.DesktopTabs, -1, False, True, False, True, True)

The problem should be fixed after saving ModuleSettings.ascx.vb file and uploading to Remote Server.

Applies to: DotNetNuke 4.5.5 (and previous versions)

Full Error Log:

ModuleId: 1188
ModuleDefId: -1
FriendlyName: Module
ModuleControlSource: Admin/Modules/ModuleSettings.ascx
AssemblyVersion: 04.05.05
PortalID: 0
PortalName: Mikroproje - İsmet Dumlupınar'ın Kişisel Websitesi
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Anasayfa
RawURL: /Anasayfa/tabid/36/ctl/Module/ModuleId/1188/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6d774ace-cdbd-4534-a5e4-d016eb750d08
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindData
StackTrace:
Message: 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 DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindData() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: P3SWH027

Posted in: DotNetNuke

Post Rating

Comments

Nick
# Nick
Friday, April 11, 2008 7:42 PM
How did you find this out!? Why does making the change fix the problem? I was starting to get really worried about how I was going to get around this issue. Thanks for posting this.
Ismet Dumlupinar
Sunday, April 13, 2008 12:50 AM
Your welcome, i hope the solution works correctly in your environment.

Regards.

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above:

   
Login | Terms Of Use | Privacy Statement | Copyright 2008 My .NET Nuke - www.mynetnuke.com