How to fix exception when trying to get SecureStoreage in .NET MAUI

Luciano Nicolas SPONTON 1 Reputation point
2023-11-11T16:26:15.5466667+00:00

When I try to get the second SecureStoreage I have and exception (see photo) and this happen only when I try to acceso to the second, because the first works perfectly I can get it. And if a change the order, I mean, try to get "password" at first it works but with "user" (now is the second) happends the same error. So the problem is trying to acceses more than once securestoreage at the same time or in the life line?Captura de pantalla 2023-11-11 13235122

Captura de pantalla 2023-11-02 211526

Developer technologies .NET .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Luciano Nicolas SPONTON 1 Reputation point
    2023-11-22T22:36:17.8433333+00:00

    Hi, I solved it just changing the "Page" where a I was working. This exception was happening in a Popup page (toolkit:Popup) and I dediced to use a ContentPage instead of it and it works

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.