Microsoft
Software
Hardware
Network
Question : Can't Attach SQL mdf After Moving It
I created a database here:
C:\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS\
MSSQL\DATA
I detach it, then copy the .mdf and .ldf here: C:\FRCSW
Now when I try to attach the mdf at the new location, I get
"An error occurred when attaching the database(s). Click the hyperlink in the Message column for details". Then "Unable to open the physical file 'C:\FRCSW\FRCSW_log.ldf.' Operating system error 5: "5(Access is denied)". (Microsoft SQL Server, Error: 5120).
I'm not an advanced SQL guy. I can create the relational tables, write stored procedures, and develope them OK, but I can't seem to deploy them. I always get stuck on the security and permissions issues.
Thanks in advance
Answer : Can't Attach SQL mdf After Moving It
do your operating system vista or win7... if so launch Microsoft SQL Server Management Studio as Administrator and then attach the db
Random Solutions
Sucess Audit event id 540
'0' is not a valid value for 'value'. 'value' should be between 'minimum' and 'maximum'.
Need some help with printing PrintDialogbox
Using FTYPE COMMAND in a batch file how to include "%1" by escaping the % sign.
Companyweb keeps promoting administrator for username and password
Access 2007 Report Showing ID (Primary Key) - How Can I Show Value?
Declare variable in Microsoft SQL Server Management Studio
Trouble inserting date into Access 2003 database from Excel VBA using SQL
How do I differentiate font format within the same Text Box in a form using Access 2007?
Analysis services - MDX date calculation