Mohit Kumar
Mohit Kumar

Reputation: 1975

Getting error in attach AdventuresWorks database in SQL Server (Using window 7)

I am newbie in Sql Server.I am trying to attach AdventureWorks database with Sql Server 2008(Window 7).following Error -

alt text

Can anyone tell me that how I can solve this problem?

Thanks in advance.

Upvotes: 0

Views: 217

Answers (2)

sh_kamalh
sh_kamalh

Reputation: 3901

You are trying to attach AdventureWorksDB.msi. First run this msi file, it will extract its contents somewhere. Then you will need to attach a file with extension .mdf.

Upvotes: 0

ceth
ceth

Reputation: 45295

This is the installer package (msi). You must run it from explorer firstly.

Upvotes: 1

Related Questions