Please or Register to create posts and topics.

Padding is invalide and cannot be removed

Salut Greg,

Petit souci lors de l'ajout d'une instance avec un login/pwd avec une longeur ou des caractères aléatoires.

L'ajout de serveur SQL Azure fonctionne bien.

L'ajout d'instance se connecte bien avec le login/pwd SQL sur le "Test Connection", mais lors que l'on fait "Apply" message d'erreur:

Padding is invalid and cannot be removed

L'explorateur de la partie gauche se vide.

Je ferme et réouvre Kankuru 1.4.9.1 et message systématique lorsqu'il tente de charger l'explorateur.

En base tout semble bon, bizarre.

Joins les screenshots.

Dispo comme d'hab pour tester avec toi.

Fred

Uploaded files:
  • Capture-d’écran-2020-04-04-à-10.07.50.png
  • Capture-d’écran-2020-04-04-à-10.07.34.png
  • Capture-d’écran-2020-04-04-à-10.07.22.png

Oups j'ai oublier la stack

 at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)

   at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)

   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()

   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)

   at System.IO.Stream.Close()

   at KankuruLL.KankuruCrypto.Decrypt(String cipherText)

   at KankuruLL.K_Instance.ChargerConstructeur()

   at KankuruWPF.TreeviewServeur.ChargerTreeView()

   at KankuruWPF.MainWindow.ChargerServerExplorer()

   at KankuruWPF.AddInstance.BuApply_Click(Object sender, RoutedEventArgs e)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.Controls.Primitives.ButtonBase.OnClick()

   at System.Windows.Controls.Button.OnClick()

   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Je n'ai pas les droits pour me connecter à ton instance, mais je vais quand meme pouvoir debug. Je te tiens au courant

 

Uploaded files:
  • fred.png