Error code 5 is an access denied message. It means that the account that your SQL Server service is running under doesn't have access to the location where you have placed your database files.
System error codes can be looked up here:
http://msdn.microsoft.com/en-gb/library/windows/desktop/ms681382(v=vs.85).aspx