Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumException when trying to manage forumsException when trying to manage forums
Previous
 
Next
New Post
3/5/2008 9:25 AM
 

you can try this:

 

***Start script ***

DECLARE @ModuleDefID int
SELECT @ModuleDefID = ModuleDefID FROM {objectQualifier}ModuleDefinitions WHERE FriendlyName = 'Forum'

INSERT INTO {objectQualifier}Permission(PermissionCode, ModuleDefID, PermissionKey, PermissionName)
VALUES('FORUM_MODULE',@ModuleDefID,'FORUMADMIN','Forum Administrator')

INSERT INTO {objectQualifier}Permission(PermissionCode, ModuleDefID, PermissionKey, PermissionName)
VALUES('FORUM_MODULE',@ModuleDefID,'FORUMGLBMOD','Global Moderator')

GO

***End Script***

 
New Post
3/5/2008 9:43 AM
 

Yes, I did it as dbo.owner and had no errors on upgrade.

I executed your new script and now the error is this:

System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_Permission'. Cannot insert duplicate key in object 'Permission'. Violation of UNIQUE KEY constraint 'IX_Permission'. Cannot insert duplicate key in object 'Permission'. The statement has been terminated. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) DECLARE @ModuleDefID int SELECT @ModuleDefID = ModuleDefID FROM ModuleDefinitions WHERE FriendlyName = 'Forum' INSERT INTO Permission(PermissionCode, ModuleDefID, PermissionKey, PermissionName) VALUES('FORUM_MODULE',@ModuleDefID,'FORUMADMIN','Forum Administrator') INSERT INTO Permission(PermissionCode, ModuleDefID, PermissionKey, PermissionName) VALUES('FORUM_MODULE',@ModuleDefID,'FORUMGLBMOD','Global Moderator')

 
New Post
3/5/2008 11:04 AM
 

Now delete cache and restart the application.  ( Restart the application from the bottom of the Host settings! ) Then go to the Module settings and click update.  Then try to edit your Forums.

 
New Post
3/5/2008 11:27 AM
 

The same error :(

Here is the log exception:


PAGE LOAD EXCEPTION:

AssemblyVersion: 04.08.00
PortalID: 12
PortalName: xxxxxx.es
UserID: 1
UserName: host
ActiveTabID: 315
ActiveTabName: FORO
RawURL: /FORO/tabid/315/ctl/ForumEdit/mid/704/forumid/14/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.xxxxxxxxxxxxx.es/FORO/tabid/315/ctl/ForumManage/mid/704/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 419188ae-867b-46f6-b767-570be5e4430f
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Forum.Controls.ForumPermissionsGrid.SaveViewState
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: 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.Forum.Controls.ForumPermissionsGrid.SaveViewState()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Control.SaveViewStateRecursive()at System.Web.UI.Page.SaveAllState()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace --- 


MODULE LOAD EXCEPTION:

ModuleId: 704
ModuleDefId: 108
FriendlyName: Editar Foro
ModuleControlSource: DesktopModules/Forum/Forum_ForumEdit.ascx
AssemblyVersion: 04.08.00
PortalID: 12
PortalName: XXXXXXXX.es
UserID: 1
UserName: host
ActiveTabID: 315
ActiveTabName: FORO
RawURL: /FORO/tabid/315/ctl/ForumEdit/mid/704/forumid/14/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.XXXXXXXXXXXX.es/FORO/tabid/315/ctl/ForumManage/mid/704/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 30be4115-d918-4564-b6c1-64498a4a3847
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Forum.ForumEdit.PopulateForum
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.Forum.ForumEdit.PopulateForum()at DotNetNuke.Modules.Forum.ForumEdit.Page_Load(Object sender, EventArgs e)--- End of inner exception stack trace ---

 
New Post
3/5/2008 12:59 PM
 

Can you try please the default template.  And then Try please the standard blue skin for the portal.  Look if the issue still exist then.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumException when trying to manage forumsException when trying to manage forums


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out