Getting this Error please give me the solution
Generate token by passing private key and jsonstring
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Getting this Error please give me the solution
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajkiran SwainRank #165 · 14.4K reputationPosted May 17, 2023, 6:59 AM EDT
The error message you are seeing, "Bad version of provider", typically indicates that the cryptographic provider you are using is not compatible with the version of the .NET Framework you are targeting.
Here are a few things you can check:
1. Make sure that the cryptographic provider you are using is compatible with the version of .NET Framework you are targeting. You can check the documentation for the provider to see which versions of .NET it supports.
2. Check that you have installed any necessary updates or patches for the .NET Framework.
3. Make sure that the private key you are passing is valid and that the JSON string you are using is well-formed.
4. If you are using a third-party cryptographic library, make sure that you have correctly installed and configured it.
If none of these solutions work, you may need to provide more information about the specific cryptographic provider you are using and the code you are using to generate the token.