Skip to content

Month: June 2019

Sitecore Fix – XConnect/Xdb – The certificate was not found

Exception: System.InvalidOperationException
Message: The certificate was not found.
Source: Sitecore.Xdb.Common.Web

Was getting this error continuly on a setup we had. Somehow the certificate thumbprint was not the same as the XConnect web application thumbprint.

The fix was to verify that the certificate thumbprint matched what the XConnect application was expecting.

To fix the problem

My Setup: Sitecore 9+, Windows 10 Pro

  • Find your XConnect Client certificate
    • Open MMC, click Add/Remove Snap-In
    • Choose Certificates from available snap-ins and click Add
    • In the next window select “Computer Account”, click next
      • If you don’t see “Computer Account”, you might have to open MMC with Administrator privileges
    • Select Local Computer
    • Click Finish, then OK
    • Navigate to Certificates (Local Computer) -> Personal -> Certificates
    • Double click your XConnect Client certificate
    • Click on the “Details” tab in the certificate window
    • Scroll down in the Field list to Thumbprint
  • Verify that XConnect Client certificate Thumbprint with your XConnect AppSettings.config file located under App_Config in your XConnect website location
    • Verify with this field validateCertificateThumbprint. They should match. If it does not, try and update it with the thumbprint from the XConnect Client Certificate.
    • If updating, restart you XConnect web app after you’ve made the changes
Leave a Comment

Sitecore Fix – XConnect/Xdb Unauthorized Error

Exception: Sitecore.XConnect.XdbCollectionUnavailableException
Message: The HTTP response was not successful: Unauthorized
Source: Sitecore.Xdb.Common.Web

Was getting the error above during our SSO process. The solution for me was changing the SSL settings in IIS for the xconnect website from Ignore to Accept.

1 Comment

Unraid 6.7 – Backing up VMs (KVM)

This is short summary of Spaceinvader One’s video and a little more up to date. https://www.youtube.com/watch?v=ntjQphOSPPI

  1. Install Community Applications, if not already installed
    1. Forum with more information –
      https://forums.unraid.net/topic/38582-plug-in-community-applications/
    2. Direct Link to the plugin – https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
  2. Install CA User Scripts from Community Applications
  3. After its installed, click Settings in the top nav bar of UNRAID
  4. Go down to User Utilities, click on User Scripts
  5. Click Add New Script
  6. Call the script whatever you want, i.e. “Backup VMs”. Click ok.
  7. Click the title of the script you just added, you should see a popup.
  8. Edit Description if you’d like
  9. Click Edit Script and paste everything from this page
    https://raw.githubusercontent.com/danioj/unraid-autovmbackup/master/unraid-autovmbackup-0-4.sh to that window
  10. Follow the instructions in the file or in the video to set up the script

I’m using UNRAID 6.7.0, CA User Scripts 2019.06.16

Leave a Comment