As soon as you Detach an reattach the SCCM database in SQL, two properties are changed, and SCCM isn’t able to do certain operations, as importing drivers, or applications.
In my case I got this error when trying to import drivers to SCCM
Error: some drivers cannot be imported successfully
Solution:
Run the following queries:
1. ALTER DATABASE <ConfigMgr DB> SET TRUSTWORTHY ON
Also verify, that SA is still the owner of the database.
if not you can run this query:
EXEC sp_changedbowner 'sa'
Good luck!
Idit Bnaya – Senior IT consultant at Neway technologies