More in this section
Forums / Bugs & Issues / SiteFinity generated a password that broke SiteSync

SiteFinity generated a password that broke SiteSync

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Russell
    Russell avatar
    0 posts
    03 Feb 2017
    28 Apr 2017
    Link to this post

    I spend the last 4 day trying to fix an issue that thankfully Laurent from  your Support team was able to help solve. (00397752)
    SiteSync was inexplicably failing after many months of normal operation. I kept seeing this error: "Incorrect Basic Authentication formatting."

    This is Found inside ClaimsManager.cs > tryParseBasicAuth Method.

    if (strArray.Length != 2)
    throw new HttpException(400, "Incorrect Basic Authentication formatting.");

    The reason was that we had recently changed the password and SiteFinity had generated a password with a colon in it. For example : ABC:123 So the (base64 decoded) username and password string became: thunder.admin:ABC:123

    Therefore  if (strArray.Length != 2) will falsely return an error.

    I suggest you change this to  if (strArray.Length > 0)

1 posts, 0 answered