AdventureWorks2008 & AdventureWorksSW2008 - msi files
-
2010年1月22日 下午 05:23I cannot locate AdventureWorks2008.msi and AdventureWorksDW2008.msi files. Can someone send me a link where the files are located? I have already downloaded the Sample Databases, however, they do not have these files.
PLEASE HELP!!!!1
所有回覆
-
2010年1月22日 下午 05:45版主
You will not see .msi files after downloading. An MSI file is simply an installation mechanism and is not included in the download. What you should see in the folder that you downloaded to are files such as "AdventureWorks2008_Data.mdf and AdventureWorks2008_Log.ldf. In addition, you should see the AdventureWorks2008 and AdventureWorksDW2008 databases from the Object Explorer in SQL Server Management Studio.
If you cannot see the databases in Object Explorer or find the .mdf and .ldf files in a folder, then the download was unsuccessful. I recommend that you run the installation process again from here: http://msftdbprodsamples.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=37109 This link takes you to a revised installation process (an .exe) that is much more reliable and will tell you if you are missing any prerequisites that may cause the installation to fail. Please read the Database Prerequisites first. It will save you time and frustration.
Regards,
Gail
Gail Erickson [MS] This posting is provided "AS IS" with no warranties, and confers no rights -
2010年1月22日 下午 07:57
Gail - Thank you for your response. I ran the above routine and it was all successfull. However, when I wrote the Query - below & the message that I got after executing the Query. I am not an expert on SQL and am learing SQL by using MS SQL 2008 Step-By-Step book and following the instructions as they are listed in it. I would appreciate your guidance.
Thanks
Syed
EXEC
sp_configure 'filestream_access_level',2;
GO
RESTORE
DATABASE AdventureWorks FROM DISK='C:\program files\Microsoft SQL Server\100\Tools\Samples\Adventureworks2008.bak' WITH RECOVERY;
GO
RESTORE
DATABASE AdventureWorks FROM DISK='C:\program files\Microsoft SQL Server\100\Tools\Samples\AdventureworksDW2008.bak' WITH RECOVERY;
GO
I get the below message.
Configuration option 'filestream access level' changed from 2 to 2. Run the RECONFIGURE statement to install.
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\program files\Microsoft SQL Server\100\Tools\Samples\Adventureworks2008.bak'. Operating system error 2(The system cannot find the file specified.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\program files\Microsoft SQL Server\100\Tools\Samples\AdventureworksDW2008.bak'. Operating system error 2(The system cannot find the file specified.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.
-
2010年1月22日 下午 10:59版主Ah, that's helpful information. Evidently that particular book was based on a pre-release version of AdventureWorks2008 in which we included a .bak file. Due to some difficulties associated with that method, the .bak file was removed from the final release of the AdventureWorks2008 samples.
For now, you need to forget about the installation steps in that book and use the link I supplied above. When you run the .exe from that link, it will download the necessary files and create the databases for you. There will be no need to restore from backup.
Hope that helps,
Gail
Gail Erickson [MS] This posting is provided "AS IS" with no warranties, and confers no rights -
2012年7月7日 下午 06:38
Hello,
I am using the same book and am at the same part as Syed, but I can't seem to find these downloads on the Codeplex website. Are these downloads still available? If not, can you provide some suggestion on how to proceed?
-
2012年7月7日 下午 07:21
hello Scott
which version do you need ?
the one for SQL Server 2008 or the one for SQL Server 2008 R2 ?
please read the following sticky thread about AdventureWorks sample db:
Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.
- 已編輯 Daniel_Steiner 2012年7月7日 下午 07:24
- 已提議為解答 Scott Ol 2012年7月7日 下午 07:51
- 已標示為解答 Mr. WhartyMicrosoft Community Contributor, Moderator 2012年7月30日 上午 01:27
-
2012年7月7日 下午 07:51
Hi Daniel,
Thanks for the reply and the sticky. I need the version for SQL Server 2008.
Thanks,
Scott
Scott Olander
-
2012年7月8日 上午 09:51
hi Scott
in this case look at the last posting from Derrick in the above link which contains a link to the script for installing AdventureWorks on SQL Server 2008.
http://msftdbprodsamples.codeplex.com/releases/view/89502
Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.

