This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
SQL Express command
Started by
kittu_s
, Oct 19 2005 17:21
3 replies to this topic
Posted 19 October 2005 - 17:21
We have a requirement that our setup should attach a database at the end of the installation. We are using SQL express 2005.
I am executing "osql -E -S <servername> -q "sp_attach_db <dbname>,<mdf file path>"" in a custom action.
while execuiting this command it will create a LDF log file. At this moment if i give mdf path other than windows temp folder it is failes with message "Acess denied"
Please suggest if any alternatives
Thanks
Krishna.s
Posted 20 October 2005 - 20:38
Are you logged on as administrator when running the setup?
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 October 2005 - 09:03
Thanks a log Stefan
Yes we logged as Administrator. Is there any settings need to do in the setup for prviliges?
Thanks
krishna.s
Yes we logged as Administrator. Is there any settings need to do in the setup for prviliges?
Thanks
krishna.s
Posted 23 October 2005 - 15:10
I don't know the permission system of SQL Express 2005, sorry.
Stefan Krüger
InstallSite.org twitter facebook