How to copy file/folder to some other location.
Hi,
i need to know , how to move or copy a file/folder to some other location.
say source is C:\MyFolder and destnation is D:\
now if i move MyFolder from C to D , i don't find any way or method in System.IO.Directory such as Copy, Move is provided but has the restriction of Volume( can't move to different volume, volume should remain same).
Please help me out
Thanx
Answers (2)
1
Hey Devendra
There might be any software glitches, take the backup of your database from the physical path located at
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
then reinstall the Sql Server again, then try attaching all your database.
Hope this helps :)
Accepted 2
Go to > Security > Logins > Right click to the user > Properties
On the left navigation move to > User Mapping > Check the database and in the "Database role membership for: <>" check "db_owner"
Or just restart the SQL service, sometime it also helps
1
@Rafnas, already tried, also restarted the service but :(
1
Thanks Daniel,
The error still exists as master/any database was also not accessible.
Logins section displays only builtin\users and sa
0
try running in administrator mode, to do that
right click on SQL Server Management Studio and select run as administrator