Getting this Error please give me the solution
Loading
Getting this Error please give me the solution
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajkiran SwainPosted May 17, 2023, 10:59 AM
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.