Msg 5120, Level 16, State 101, Line 1
Unable to open the physical file "\\servername\sharename\filename.mdf". Operating system error 5: (Access is denied.).
This is the error i get when trying to attach using script and through the GUI
running SQL 2005 enterprize service pack 2 build SQL Server 9.0.3152
Moving the database to a new server