Thursday, January 08, 2009
To start or answer a thread you will need to login...


Forum Guidelines

Please ensure you follow the bug-raising guidelines (e.g. post the full error from your Event Viewer) if you are raising a support call. To request a feature in a module, please use Feature Requests (unless you want to discuss it here in more detail first). If you have an urgent feature that you would like to see in the product then you should consider a Sponsored Enhancement.

 

First Time User? Make sure you have read the Module Config Guide in the documents folder of each module. Also check out this handy Module Deployment Guide (written by a Smart-Thinker customer!)

Configuration issues and no time to read the Forums/Documentation? See our DotNetNuke Premium Support Service.

 

We need your opinion! Please read our proposed new CrowdSourcing development method and let us know if you would be interested and if it might work.

 
 
  Forums  DotNetNuke  Smart-Thinker E...   I cannot access the module settings
Previous Previous
 
Next Next
New Post 6/25/2007 5:04 PM
  Wisam
3 posts
5th Level Poster


I cannot access the module settings  (N/A)
Modified By Wisam  on 6/25/2007 6:05:01 PM)

Hello,

I have encountered the following error while using "Smart-Thinker Events" module which preventing us with proceeding with it, can you please let me know what can I do to solve it.

When I click on the “Settings” of the module (from the page that I have it in), I get this message:

Error: Module 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 DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at SmartThinker.DNN.Modules.Events.MyEventsSettings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

DNN Version = 4.5.3

Module Version = 04.03.05

Thanks,

Wisam

 
New Post 6/27/2007 7:44 AM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: I cannot access the module settings  (N/A)

Hello  Wisam,

 

Ok, I have been trying to replicate this and have been unable to- I think what it may be related to is the order of actions when configuring the module. For example, the MyEvents module might rely on another view being on a page to set a default for a setting, and if it is not there the settings may be corrupted. This is of course a bug - it should be able to handle this scenario.

Can you please run this SQL script and change ModuleID to the ModuleID of the Settings module that is throwing the error (looks like MyEventSettings).

SELECT *
FROM MODULESETTINGS
WHERE ModuleID = <ModuleID>

and paste the results here.

I think this will reveal a blank value. After this we can change the value (I'll make a note of trying to track down the sequence of actions that causes this).

 

 


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 6/27/2007 2:18 PM
  Wisam
3 posts
5th Level Poster


Re: I cannot access the module settings  (N/A)

 Hi Rodney,

Thanks for your reply, here is the result;

Waiting for your feedback,
Wisam
 

ModuleID       SettingName                    SettingValue

449                EventDetailModuleID           447

449              EventDetailTabID                   84

(2 row(s) affected)

 
New Post 6/27/2007 2:42 PM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: I cannot access the module settings  (N/A)

Hi Wisam,

 

Hmm - that is not what I was expecting - it seems ok. There is the slight chance that TabID 84 and ModuleID 447 do not exist, hence the error.

To get this fixed as soon as poss, can you run the following script - it will delete all settings for ModuleID 449 (double check before executing please!)

DELETE FROM MODULESETTINGS
WHERE ModuleID = 449

Then when you load up the settings it will use the defaults again and you can reset them. I am hoping this will fix the problem...

 


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 6/27/2007 2:43 PM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: I cannot access the module settings  (N/A)

ps - after you run the script you will need to log in as Host and "Clear Cache" as the module settings are cached....


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 6/27/2007 3:25 PM
  Wisam
3 posts
5th Level Poster


Re: I cannot access the module settings  (N/A)

Hi Rodney,

I ran the SQL script and cleared the cache but the issue is still there (the same error shows up when I click on Settings). Any other thoughts or ideas?

Thanks.

 
New Post 6/30/2007 7:41 AM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: I cannot access the module settings  (N/A)

I'm sorry Wisam, this really is stumping me!

Out of interest, have you changed the Module definition names at all? (you should be able to, but just wondering).

And have you tried reinstalling the module? It is a long shot but you may have the latest .dll and an out of dat .ascx file.

Also - was this the first version of the Events module you have used or was it an upgrade? What is puzzling me is that there were some settings - which means either it was an upgrade or it worked at least once (saving settings).


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 10/15/2007 9:29 PM
  pestes
5 posts
5th Level Poster


Re: I cannot access the module settings  (United States)

I think I am seeing the same thing.  On the Smart-Thinker - Event module (which would be on the "My Events" page per the help file), when I click on "Settings" icon, I receive the message "An error has occurred. Error: Module is currently unavailable."

Also, when I click on an Event hyperlink in this module, it returns me to the blank homepage (as opposed to opening the event - as the "Upcoming Events" hyperlink does).

I have looked in as many places as I can find for online info for these symptoms/errors, but I can't find anything.  Any help is greatly appreciated.

 
New Post 10/15/2007 9:39 PM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: I cannot access the module settings  (Australia)

Hi,

Can you please post the full Event Viewer error so we can see if it is the same.

Also, can you run this SQL:

SELECT *
FROM MODULESETTINGS
WHERE ModuleID = <ModuleID>

and paste the results here.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 10/16/2007 3:01 PM
  pestes
5 posts
5th Level Poster


Re: I cannot access the module settings  (United States)
Modified By pestes  on 12/16/2007 1:16:59 AM)

Here's the full Event Viewer entry:

ModuleId: 400
ModuleDefId: -1
FriendlyName: Module
ModuleControlSource: Admin/Modules/ModuleSettings.ascx
AssemblyVersion: 04.05.03
PortalID: 0
PortalName:
UserID: 1
UserName:
ActiveTabID: 57
ActiveTabName: My Events
RawURL: /MyEvents/tabid/57/ctl/Module/ModuleId/400/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID:
InnerException: Object reference not set to an instance of an object.
FileName: C:\DNN\Source\Library\Components\Exceptions\Exceptions.vb
FileLineNumber: 121
FileColumnNumber: 13
Method: DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException
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.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) in C:\DNN\Source\Library\Components\Exceptions\Exceptions.vb:line 121 at SmartThinker.DNN.Modules.Events.MyEventsSettings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: EXDNNWEB


Here are the results from our SQL Queries:


 

 

 

 

1) SELECT     ModuleID, ModuleDefID, ModuleTitle, AllTabs, IsDeleted, InheritViewPermissions, Header, Footer, StartDate, EndDate, PortalID

FROM         Modules

WHERE     (ModuleTitle = 'Smart-Thinker - Event')

396

121

Smart-Thinker - Event

False

True

True

NULL

NULL

NULL

NULL

0

403

121

Smart-Thinker - Event

False

True

True

NULL

NULL

NULL

NULL

0

400

121

Smart-Thinker - Event

False

False

True

NULL

NULL

NULL

NULL

0

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

NULL

 2)

 

SELECT     ModuleID, SettingName, SettingValue

FROM         ModuleSettings

WHERE     (ModuleID = 400)

 

400

AddUserAddToEventsTabID

-1

400

AddUserAddToGroupsTabID

-1

400

AddUserAddToLeaguesTabID

-1

400

AddUserColsPerProfileView

5

400

AddUserDefaultMode

-1

400

AddUserLinkToUserProfile

54

400

AddUserMemberItemTemplate

&lt;span class=&quot;ITDisplayName&quot;&gt;[DISPLAYNAME]&lt;/span&gt; [USERONLINEIMAGE]&lt;br /&gt;&lt;a href=&quot;[STUSERPROFILEURL]&quot;&gt;[PROFILEIMAGE]&lt;/a&gt;&lt;br /&gt;

400

AddUserMemberItemTemplate2

 

400

AddUserMemberItemTemplate3

 

400

AddUserMemberItemTemplate4

 

400

AddUserMemberItemTemplate5

 

400

AddUserMemberItemTemplate6

 

400

AddUserMemberListTemplate

[DISPLAYNAME][FULLNAME][*C*Country]

400

AddUserPrivateMessagesTabID

-1

400

AddUserProfileCacheSeconds

120

400

AddUserRecordsPerPage

10

400

AddUserRoleIDFilterList

1

400

AddUserSearchProperties

[AllUsers][DisplayName][UserName][Email][Prefix][FirstName][MiddleName][LastName][Suffix][Unit][Street][City][Region][Country][PostalCode][Telephone][Cell][Fax][Website][IM][Biography][TimeZone][PreferredLocale]

400

AddUserShowAlphaFilter

-1

400

AddUserShowModeSelect

1

400

AddUserShowOnlineFilter

1