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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Registration errorRegistration error
Previous
 
Next
New Post
7/28/2015 5:54 PM
 

When I also try to delete the unverified registered user, though it deletes, I get the following error message:

Error: User Accounts is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: The input data is not a complete block. ---> System.Security.Cryptography.CryptographicException: The input data is not a complete block. at System.Security.Cryptography.CapiSymmetricAlgorithm.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.Read(Byte[] buffer, Int32 offset, Int32 count) at DotNetNuke.Security.FIPSCompliant.DecryptAES(String encryptedText, String passPhrase, String salt, Int32 iterations) at DotNetNuke.Entities.Host.Host.get_SMTPPassword() at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String senderAddress, String toAddress, String subject, String body) at DotNetNuke.Services.Mail.Mail.SendEmail(String fromAddress, String toAddress, String subject, String body) at DotNetNuke.Entities.Users.UserController.DeleteUser(UserInfo& user, Boolean notify, Boolean deleteAdmin) at DotNetNuke.Modules.Admin.Users.UserAccounts.DeleteUser(Int32 userId) --- End of inner exception stack trace ---

 

 
New Post
7/28/2015 7:56 PM
 
there seem to be an issue with emails most likely with the SMTP Password.
I suggest reentering it in Host Settings or use https://dnnscript.codeplex.com/releas... in order to fix it.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/29/2015 4:48 AM
 

I'M very optimistic the scripts would do it. I have applied every single one without error until I got to the last: AdjustDNNContentItem. The error below, what do I do?

System.Data.SqlClient.SqlException (0x80131904): The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows.
   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)
ClientConnectionId:59229a61-8988-41be-aec2-7d00d5b685b7
Error Number:8672,State:1,Class:16

/* Validate and Fix ContentItems for DesktopModules
   ================================================ */
-- Get ContentType:
DECLARE @ContentType Int = (SELECT ContentTypeID FROM dbo.[ContentTypes] WHERE ContentType = N'DesktopModule');

-- remove orphaned contentItems:
DELETE FROM dbo.[ContentItems]
 WHERE ContentTypeID = @ContentType AND Content NOT IN (SELECT [FriendlyName] FROM dbo.[DesktopModules]);

-- remove invalid ContentItemIDs:
MERGE INTO dbo.[DesktopModules] M
USING dbo.[ContentItems] C ON (C.ContentItemID = M.ContentItemID)
 WHEN NOT Matched BY Source AND M.ContentItemID != -1 THEN UPDATE SET ContentItemID = -1;

-- add missing content items:
MERGE INTO dbo.[ContentItems] C
USING dbo.[DesktopModules] M ON (C.ContentTypeID = @ContentType AND C.Content = M.FriendlyName)
 WHEN MATCHED AND IsNull(M.FriendlyName,'') != IsNull(C.Content,  '') THEN UPDATE
  SET Content = M.FriendlyName, LastModifiedByUserID = M.LastModifiedByUserID, LastModifiedOnDate = M.LastModifiedOnDate
 WHEN NOT MATCHED THEN INSERT
        (Content,         ContentTypeID, TabID, ModuleID, CreatedByUserID,   CreatedOnDate,   LastModifiedByUserID,   LastModifiedOnDate)
 VALUES (M.FriendlyName, @ContentType,      -1,     -1, M.CreatedByUserID, M.CreatedOnDate, M.LastModifiedByUserID, M.LastModifiedOnDate);

-- update references:
MERGE INTO dbo.[DesktopModules] M
USING dbo.[ContentItems] C ON (C.ContentTypeID = @ContentType AND C.Content = M.FriendlyName)
 WHEN Matched AND IsNull(M.ContentItemID, -1) != C.ContentItemID THEN UPDATE SET ContentItemID = C.ContentItemID;
 
DELETE FROM dbo.[ContentItems_MetaData]
 WHERE ContentItemID IN (SELECT ContentItemID FROM dbo.[ContentItems] WHERE ContentTypeID = @ContentType);

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Registration errorRegistration error


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