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 ForumsForumForumCannot delete posts after module upgradeCannot delete posts after module upgrade
Previous
 
Next
New Post
9/19/2008 11:32 AM
 

Hello,

We just upgraded the forum module on our local intranet from v3.20.09 to v4.4.3.  Since this upgrade, I have been unable to delete posts.  When I try to delete them, I get the error message: "An error has occurred.  Delete Post is currently unavailable.".

I am an admin on our portal, as well as having "Edit Module", "Forum Admin" and "Global Moderator" checked on the module settings.  Is there somewhere else I need to assign rights?  Or is this a non-security issue with the module?

I would appreciate any suggestions, as this error is somewhat unclear.

Thank you!

 
New Post
9/22/2008 9:50 PM
 

First please read the Pinned thread " Fixes for List ..." !  

A 2nd issue can be that a previous iUpgradeable was not running.  Then a soulution is in this post http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/7/threadid/197003/scope/posts/Default.aspx

 
New Post
9/25/2008 9:23 AM
 

Matthias,

Thanks for your reply.  Unfortunately, I am still experiencing problems.

I ran the statement in the Pinned thread without errors.  When I then attempted to to delete a post (using the Host account), this is the error message that was displayed:

Error: Delete Post is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The parameter 'to' cannot be an empty string. Parameter name: to ---> System.ArgumentException: The parameter 'to' cannot be an empty string. Parameter name: to at System.Net.Mail.MailMessage..ctor(String from, String to) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, Mailformat Bodyformat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, Mailformat Bodyformat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword) at DotNetNuke.Modules.Forum.Utils.SendForumMail(Int32 ContentID, String URL, ForumEmailType EmailType, String Notes, Config ForumConfig, String ProfileURL, Int32 PortalID) at DotNetNuke.Modules.Forum.PostDelete.cmdDelete_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---

I then tried to run the statement in your 2nd solution, and got this error:

System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_Permission'. Cannot insert duplicate key in object 'dbo.Permission'. Violation of UNIQUE KEY constraint 'IX_Permission'. Cannot insert duplicate key in object 'dbo.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')

I would appreciate any futher thoughts you might have on how to resolve this issue.  Thanks again!

 
New Post
9/25/2008 2:18 PM
 

Karl,

 

have you try a restart of the IIS application?  Can be done over the Host settings.

 
New Post
7/19/2009 11:01 AM
 

I had the same problem restarting the application solved my problem...

Thanks Matthias

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumCannot delete posts after module upgradeCannot delete posts after module upgrade


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