I am currently working on my mcts exam, i amtrying to attach the adventure works database but for some reason i am getting all sorts of errors for example
unable to open the physical file --- operating system error 5 ( failed to retieve text for this error . reason 15105
can anyone provide me any tips on how to attach this database
Not necessarily a solution to your problem, but I would try to create a test database (in SSMS), detach it and then try to reattach it. If that succeeds, I would copy the AdventureWorks database to the same location and and use the same user to try to attach it.
While I didn't find any exact description of your problem, googling for 15105 seems to indicate that it is an error related to file system and permissions on files. Doing what I suggested above would help you figure out if it is indeed that.