# Exception to Login

**URL:** <https://community.auth0.com/t/exception-to-login/9437>\
**Category:** Get Help\
**Tags:** error-page, login-auth0, error\
**Created:** [February 8, 2018, 3:50am UTC](https://community.auth0.com/t/exception-to-login/9437 "2018-02-08T03:50:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alboy060694](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@alboy060694](https://community.auth0.com/u/alboy060694)\
**Post date:** [February 8, 2018, 3:50am UTC](https://community.auth0.com/t/exception-to-login/9437/1 "2018-02-08T03:50:17Z")

</div>

hi Guys,

I am now desperately trying to get the sample running in Github Fork for a few days now.  
Unfortunately, the big problem with the thing is that I get the error every time:

"  
Unhandled exception occurred while processing the request.  
XmlException: ‘.’, Hexadecimal value 0x00, is an invalid character. Line 1, position 1.  
System.Xml.XmlTextReaderImpl.Throw (Exception e)

CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the internal exception for more information.  
Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect (Byte ] plaintext) “”

The exact error I add as an attachment because he is too long otherwise.  
The settings are as standard as you get in Guthub Fork.  
Only my app data is registered.

I hope there is a solution because we already use it successfully with a UWP app.  
However, this should be followed by a website on a Linux server demnäch UWP would be important.  
Thank you soo Mutch  
[link text][1]

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 9, 2018, 7:06pm UTC](https://community.auth0.com/t/exception-to-login/9437/2 "2018-02-09T19:06:56Z")

</div>

Which sample are you trying to run? Could you share a snippet of code from the failing authentication?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 9:52am UTC](https://community.auth0.com/t/exception-to-login/9437/3 "2019-07-25T09:52:51Z")

</div>


