I’v got an error on a local copy of DNN with 2sxc – unable to resolve service for type

The live website is working fine. I tried to make a local copy of a DNN 9.13.2 with 2sxc 19.7 installed on it. So when I tried to login on the website (intranet, so I need to log in first) I immediately get an Application Error with a querystring:

error=Unable+to+resolve+service+for+type+’ToSic.Sxc.Dnn.Web.DnnJsApiHeader’+while+attempting+to+activate+’ToSic.Sxc.Dnn.Web.DnnClientResources’.&content=0

Any idea how to solve this one?