Hi .I am using visual studio 2008 to connect sql server 2005 for my database..But in order for my database to work i need to add additional file called"AdventureWorks LT"because I am using silverlight 2 application for my project . In order for my project to work I need to use lin Q and wcf to connect to database and from then to silverlight 2 Application.But I try to attach this file"AdventureWorks LT"there is error..This is the error appear........
"Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\Data\AdventureWorksLT_Data.mdf"failed with operating system error5(Access is denied).
Cannot attach the fiel'C:\Program Files\Microsoft SQL Server\MSSQL.1\Data\AdventureWorksLT_Data.mdf' as database 'AdventureLT'.
Please help me with that error and how to attach that file without error..Thanks..
Waiting for you reply....
Best regards......