I created a script to create an empty database. When I ran it on another machine, it created the database, but gave me errors also. The first one is as below:
Cannot find the user ‘NT AUTHORITY\NETWORK SERVICE’, because it does not exist or you do not have permission.
I got this on 5th CREATE SCHEMA line.
It may be relevant that this database is used by ASP.NET.
Thanks