The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Installing the Northwind Sample Database

To complete the LightSwitch Guided Tour lessons, you must download and install the Northwind sample database.

To install the Northwind database

  1. Download the Northwind and pubs Sample Databases for SQL Server 2000 from the Microsoft Download Center.

  2. When prompted to run or save the file, click Save, and then select a file directory, such as C:\Temp.

  3. In Windows Explorer, navigate to the directory where you saved the file and double-click SQL2000SampleDb.

    The Microsoft SQL Server 2000 Sample Database Scripts wizard appears.

  4. Click Next to continue.

  5. On the License Agreement page, read the agreement, click I Agree if you agree to the terms, and then click Next.

  6. On the Choose Installation Options page, click Next.

  7. On the Confirm Installation page, click Next.

  8. Respond to any prompts by accepting, and when the Installation Complete page appears, click Close.

    The sample database is installed in the C:\SQL Server 2000 Sample Databases directory.

  9. In Windows Explorer, navigate to the C:\SQL Server 2000 Sample Databases directory, right-click the instnwnd.sql file, and then click Edit.

    The SQL script file opens in Notepad.

  10. Replace the contents of the file with the following.

    USE [master]
    ( FILENAME = N'C:\SQL Server 2000 Sample Databases\NORTHWND.MDF' )
  11. Save the file and close it.

  12. From an elevated command prompt, switch to the C:\SQL Server 2000 Sample Databases directory and type sqlcmd –S .\SQLExpress –i instnwnd.sql.

    The Northwind sample database will be installed in SQL Server Express and will be available for use from LightSwitch.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft