Ismet Dumlupinar posted on August 04, 2007 05:33
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