Quantcast
Viewing all articles
Browse latest Browse all 15889

Mssql 2008 attach on the network

Hi ı want to attach mdf/ldf file an anohter pc in the network. But sql say "failed with the operating system error 5(access is denied.)" the files are shared. How can ı do it? I use this code

GOCREATEDATABASE[X]ON( FILENAME = N'\\NetworkPath\Share\X.mdf'),( FILENAME = N'\\NetworkPath\Share\X_log.ldf')FOR ATTACH
GO

Please Help me


Viewing all articles
Browse latest Browse all 15889

Trending Articles