I've created a backup from a site collection (Customer's SharePoint Server 2013 Std) and restored the contents in our development environment (SharePoint Server 2013 Ent). Both servers (small environment, single SP, separate SQL) are on same patch level.
The restore using PowerShell did work but threw an exception at the end (E_ACCESSDENIED). I cannot access the site using my SP-Admin account, which is farm admin and admin in other site collections.
I am able to access the site when logging on with the AppPool account but cannot change the site collection admins from site settings; people picker field cannot resolve the names I enter. The site is in read only or maintenance mode, displaying a red bar at the top. I assume the E_ACCESSDENIED error is thrown because the site could not be unlocked.
Setting site collection admins in Central Administration does not work since the restored site collection is not shown when selecting it's web application.
My Admin/Installation and Farm and AppPool account do have dbo rights in the content db (dev server, so no security issue). I already tried restoring to an existing content db using -Force parameter, with no luck.
The Get-SPSite or Get-SPWeb command can't find SPSite object.
Any ideas? Thanks in advance