What worked for me was the following:
use *db_name*
go
exec sp_addrolemember 'db_owner', 'NT AUTHORITY\NETWORK SERVICE';