-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Invalid Token" using NLog.Mongo in .Net Core #70
Comments
jairosoftjay
changed the title
"Invalid Token" using NLog.Mongo
"Invalid Token" using NLog.Mongo in .Net Core
Jul 2, 2021
"Invalid Token" is returned from MongoDb. Do you have an NLog.config or other example of how you configure the NLog Target? Have you checked the NLog InternalLogger for clues? |
@snakefoot Also below is the sample Nlog.config that is being used:
|
Googled it for you, and this came up: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upon using the NLog.Mongo in .Net Core Class Library and use it as a reference in a console app it returns the "Invalid Token".
The solution is just the same as what you can see here in the Console test App and setup is just the same.
But when you use this in a .Net Framework Class Library it returns fine.
The text was updated successfully, but these errors were encountered: