Friday, September 05, 2008     | Register
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.

 
 
  Forums  DotNetNuke  Smart-Thinker U...  User Group module settings lead to an exception
Previous Previous
 
Next Next
New Post 3/19/2008 5:31 PM
  braulio
11 posts
4th Level Poster


User Group module settings lead to an exception   (Brazil)

Hi there!

i´ve succesfully configured the User Group Detais module.
I added a User Group module to a page and as I tried to get to the settings, I´ve encountered the following 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.UserGroup.Settings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace --- 

The event viewer showed:  

18/3/2008 20:45:55  Module Load Exception  host   ModuleId: 574; ModuleDefId: -1; FriendlyName ... 
 
I ran an SQL script (copied from other posts) and got a blank result.
Any idea of how I can solve that?
Thanks a lot

Braulio

 
New Post 3/20/2008 3:17 PM
  Rodney Joyce
2615 posts
www.DNNDir.com
1st Level Poster




Re: User Group module settings lead to an exception   (Australia)

Hi Braulio,

Sorry, I did not have time to look at this. I have not seen a problem with the UserGroup module settings before this.

Can you add the module to another test page and see if the same thing happens? When you run the SQL script - do you mean the one on the ModuleSettings (Make sure you have the correct ModuleID).


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/22/2008 10:24 AM
  braulio
11 posts
4th Level Poster


Re: User Group module settings lead to an exception   (Brazil)

Hi Rod.

I have checked the forum and actually there has already been a problem with the Group module . Please check the following thread: http://www.smart-thinker.com/Support/Forums/tabid/111/forumid/26/threadid/3696/scope/posts/Default.aspx

I have created a new page and have added the User Group module to it. As I click the settings option, I get the same problem, here is the log from event log:


   22/3/2008 10:13:28   Module Load Exception   host     ModuleId: 576; ModuleDefId: -1; FriendlyName ... 
ModuleId: 576
ModuleDefId: -1
FriendlyName: Module
ModuleControlSource: Admin/Modules/ModuleSettings.ascx
AssemblyVersion: 04.05.03
PortalID: 0
PortalName: Aplicamat - Portal de Matemática Aplicada
UserID: 1
UserName: host
ActiveTabID: 111
ActiveTabName: Teste Grupos
RawURL: /TesteGrupos/tabid/111/ctl/Module/ModuleId/576/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ac0dfc6c-4b26-4737-ac48-e395566c99e1
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
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) at SmartThinker.DNN.Modules.UserGroup.Settings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: DEDI540

I have run the following SQL:

SELECT *
FROM MODULESETTINGS
WHERE ModuleID = 576

and the result is blank.

I would give you full access to the site, if you would like. Perhaps that could speed up the solution to the problem.

Thanks

Braulio

 

 
New Post 3/24/2008 10:48 PM
  Rodney Joyce
2615 posts
www.DNNDir.com
1st Level Poster




Re: User Group module settings lead to an exception   (Australia)

Ok, please send me the Host details and I will take a look...


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 3/30/2008 8:26 PM
  Rodney Joyce
2615 posts
www.DNNDir.com
1st Level Poster




Re: User Group module settings lead to an exception   (Australia)

Ok, I think have found the problem and fixed it (it will go into the next  version but your site has the latest .dll so will work now). If anyone else gets this problem please let me know...


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

Smart-Thinker DotNetNuke Development Blog
 
New Post 4/2/2008 6:08 PM
  Rodney Joyce
2615 posts
www.DNNDir.com
1st Level Poster




Re: User Group module settings lead to an exception   (Australia)

For reference - running this SQL will identify the problem-

    SELECT dbo.vw_Modules.*  
    FROM dbo.vw_Modules
        INNER JOIN dbo.ModuleDefinitions as MD ON dbo.vw_Modules.ModuleDefID = MD.ModuleDefID
    WHERE ((PortalId = @PortalID) or (PortalId is null and
@PortalID is null))
          AND MD.FriendlyName = @FriendlyName
          AND IsDeleted = 0

 

In this case, FriendlyName would be 'Smart-Thinker - UserProfile - Profile'...


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

Smart-Thinker DotNetNuke Development Blog
 
Previous Previous
 
Next Next
  Forums  DotNetNuke  Smart-Thinker U...  User Group module settings lead to an exception
Top Threads
In the past 1 week, we have 14 new thread(s) and 27 new post(s)
The most popular thread has been Re: Can’t Configure SModule ettings
The most active thread has been UserList shows duplicate items
Smart-Thinker is powered by DotNetNuke - please support us and DotNetNuke - DotNetNuke Powered!
© 2008 Smart-Thinker   |  Privacy Statement  |  Terms Of Use