6 out of 6 rated this helpful - Rate this topic

Configure SQL Server for the Storage Emulator

Updated: June 7, 2012

The first time you run the Windows Azure storage emulator, an initialization process runs to configure the environment. The initialization process creates a database in Microsoft SQL Server 2012 Express LocalDB. You can use the DSInit Command-Line Tool to configure the storage emulator to run against a local instance of SQL Server, rather than against LocalDB.

  1. Click Start, point to All Programs, and then click Windows Azure SDK.

  2. Right-click Windows Azure SDK Command Prompt, and then click Run as administrator.

  3. In the Windows Azure SDK Command Prompt window, type the following command:

    DSInit /sqlInstance:<SQLServerInstance>
    

    Where <SQLServerInstance> is the name of the SQL Server instance.

    You can also use the following command, which uses the default instance:

    DSInit /sqlInstance:.
    
noteNote
You can use the DSInit Command-Line Tool at any time to configure the storage emulator to point to a different instance of SQL Server.

See Also

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.
facebook page visit twitter rss feed newsletter