Skip to content

X Posts

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

EdgeOSv1.10.6 – EdgeMax (EdgeRouter) installing vnstat to record bandwidth usage

I wanted to record how much bandwidth is being used during the month. I found these instructions to install vnstat, a traffic monitor.

  • open a ssh connection to your router
    • the credentials are the same that you use in the web admin portal
  • run the following lines to add the debian repo
    • configure
      set system package repository wheezy components 'main contrib non-free'
      set system package repository wheezy distribution wheezy
      set system package repository wheezy url http://http.us.debian.org/debian
      commit; save; exit
  • update cache
    • sudo apt-get update
  • install vnstat
    • sudo apt-get install -y vnstat vnstati
      • vnstati is a tool that creates images off of the data
  • run vnstat
    • sudo vnstat -i eth0
  • run this line to allow vnstat to start after reboot
    • ln -s /etc/init.d/vnstat /config/scripts/post-config.d/vnstat

More info can be found here:

http://tate.cx/edgeos-data-usage-monitor-using-vnstat
https://community.ubnt.com/t5/EdgeMAX-Feature-Requests/vnStat-vnStati-on-ERL/idi-p/819414

 

Leave a Comment

soyoustart – arm ufw error

If you get this error:

modprobe: ERROR: could not insert 'ip_tables': Exec format error
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Run this:
$ wget http://last.public.ovh.hdaas.snap.mirrors.ovh.net/ubuntu/pool/main/l/linux-modules-armada375/linux-modules-armada375_4.5.2-4_armhf.deb
$ dpkg -i linux-modules-armada375_4.5.2-4_armhf.deb

Found on: https://www.lowendtalk.com/discussion/comment/2806769/#Comment_2806769

Leave a Comment

Reset Ubuntu password in Windows 10

I forgot my password to the Ubuntu app in Windows. Here is the way I reset it.

  • close the app if you have it open
  • open a command prompt as administrator, open ubuntu has root
    • ubuntu config –default-user root
  • you’ll be logged in as root, now change the password for your user name
    • passwd username
  • exit ubuntu
  • reset ubuntu back to your username
    • ubuntu config –default-user username
  • exit ubuntu
  • re-launch ubuntu

Got the steps here: https://askubuntu.com/questions/772050/reset-the-password-in-linux-bash-in-windows

Leave a Comment

Sharepoint – Application Server Role, Web Server (IIS) Role – Configuration Error

When installing Sharepoint 2013 on a virtual machine running Windows Server 2012 R2 I keep getting a configuration error for the Application Server Role. After reading a bunch of material and trying to install Windows updates I’ve found that the only thing necessary is to make a copy of C:\Windows\System32\ServerManager.exe and rename the copy to C:\Windows\System32\ServerManagerCMD.exe. This seems to fix my installation problems.

Make sure to close the server manager window as well if you have it open. It seems to make the installation hang if its open.

Leave a Comment

Recover lost space on a USB drive

While doing some software installations for linux I had to shrink my flash drive to a partition of 32GB. The next time I stuck in my laptop I forgot I had done that and needed to use the entire 64GB that was available. Disk management wouldn’t allow me to delete the 32GB partition so I had do the following steps.

  • Insert your USB drive
  • Open a command prompt
  • Type in “diskpart”
  • Another window will open up, type “LIST DISK”. Not which disk is your USB drive.
  • Type in “SELECT DISK 1” or whatever disk was your USB drive.
  • Assuming you only had 1 partition on that drive, type in “SELECT PARTITION 1”.
  • Then type in “DELETE PARTITION”
  • That should be it, go back to Disk Management to complete the process of creating your partitions or formatting.
Leave a Comment

Restoring a DB to a different directory

RESTORE DATABASE [MyDatabase]
FROM DISK = N'E:\MyDatabase.bak'
WITH FILE = 1,
MOVE N'MyDatabase'
TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Data\MyDatabase.mdf',
MOVE N'MyDatabase_Log'
TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Data\MyDatabase.ldf',
NOUNLOAD, REPLACE, STATS = 10
GO

http://www.codeproject.com/Articles/708720/Solution-The-WITH-MOVE-clause-can-be-used-to-reloc

 

Leave a Comment

Twidere (Android) – Setting up Tabs from Twitter Lists

It wasn’t straightforward doing adding a list from my twitter account to a tab in Twidere. So here you go…

From Tabs click the + sign, press List Timeline. Press where it says “Select user list” and search for yourself. Select your account. You should now be displayed your private lists. Just press one and finish the process of adding it.

There you go.

Leave a Comment

My first PowerShell command – Rename Files

This is my first power shell command. I wanted to remove all spaces from the file names in my current directory.

Dir | Rename-Item –NewName { $_.name –replace " ","" }

Here is more information on the Rename-Item command.

http://technet.microsoft.com/en-us/library/hh849763.aspx

Leave a Comment

Cisco SPA303 – Dial Plan

I’m new to the SPA303 phone. I had trouble figuring out how to set it up so I don’t have to dial the area code for a phone number within the same area code. Below is an example I found.

 Original string:

(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)

 Modified string: (lets assume my area code is 999)

(*xx|[3469]11|0|00|<:1999>[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)

 

Leave a Comment