Permission problems with sp_attach_db during installation
i install sql express silently.
then try following
-s .\instance -q "sp_attach_db 'attach_as_name', 'c:\program files\app_name\sqldata\app_db.mdf'"
this works...sometimes. many times wll permissions error on folder "c:\program files\app_name". if go , give "everyone" "full permission" folder...it works fine.
my questions are:
1) system users need access (and @ level) folder attach? because giving full access bad.
2) there better method deploying populated database application this?
SQL Server > SQL Server Express
Comments
Post a Comment