Notifications
Clear all
[Solved] Error: Length of the data to decrypt is invalid.
Support
4
Posts
2
Users
1
Reactions
9,149
Views
0
2016-11-21 00:10
Topic starter
New install of CP
Server 2012 R2
Exchange 2016 CU2
WHen trying to log in for first time get Error: Length of the data to decrypt is invalid.
Answer
Add a comment
Anonymous Topic starter
2016-11-21 00:11
[CryptographicException: Length of the data to decrypt is invalid.] System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) +5047816 CloudPanel.Base.Security.DataProtection.Decrypt(String cipherString, String key) +215 RazorOutput.RazorView.Execute() +7024 Nancy.ViewEngines.Razor.NancyRazorViewBase`1.ExecuteView(String body, IDictionary`2 sectionContents) +123 System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3(CallSite site, T0 arg0, T1 arg1, T2 arg2) +268 Nancy.ViewEngines.Razor.<>c__DisplayClass2b.<RenderView>b__2a(Stream stream) +971 Nancy.Hosting.Aspnet.NancyHandler.EndProcessRequest(Task`1 task) +186 System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +178 System.Web.AsyncStepCompletionInfo.ReportError() +41 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +408 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137
Add a comment
3 Answers
1
2017-01-27 15:31
That is the issue. The password has to be encrypted. You need to access the /CloudPanel/admin/settings page from the server CloudPanel is installed on. If you are using host headers you may need to take those off to access the page.
Add a comment
Add a comment
0
2016-11-21 09:11
How did you populate the settings? Did you manually edit the settings.xml or did you go to /CloudPanel/Admin/Settings ?
Add a comment
Add a comment
0
2016-11-21 23:58
Topic starter
I Manually entered the setting. could not reach the settings page initially?
Add a comment
Add a comment
Forum Information
- 5 Forums
- 714 Topics
- 3,630 Posts
- 0 Online
- 254 Members
Our newest member: Grverelom
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed