2 out of 6 rated this helpful - Rate this topic

DSInit Command-Line Tool

Updated: June 7, 2012

The DSInit Command-Line Tool (DSInit.exe) initializes Windows Azure storage emulator in the local environment. This tool runs automatically the first time storage emulator is started. You can also run DSInit explicitly. After you initialize the local environment, it is not necessary to call DSInit again.

If you installed the Windows Azure SDK in the default location, DSInit can be found at C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\devstore.

DSInit [/sqlinstance:<DatabaseInstanceName> | /server:<Machine name> | /autodetect] [/silent] [/forcecreate]

To view the most current option list, type DSInit /? at the command prompt from the installed location.

 

Option Description

/autoDetect

Tells DSInit to try detecting which server to use for Windows Azure storage emulator in the local environment. Not compatible with /server or /sqlInstance.

/forceCreate

Recreates the database and causes all existing data in the local Blob and Queue services to be removed.

/server:<Machine name>

Specifies the name of the machine that is running the instance of SQL Server to use for Windows Azure storage emulator in the local environment. Use <Machine Name>\<Instance Name> to specify the SQL instance to run on machine. Not compatible with /autoDetect or /sqlInstance.

/silent

Automatically dismisses the Storage Emulator Initialization dialog box once the initialization is complete. If you do not include this parameter, you must manually dismiss the dialog.

/sqlInstance:<DatabaseInstanceName>

Use the name of the SQL Server instance without the server qualifier (for example, MSSQL instead of .\MSSQL) to refer to a named instance. Use "." to denote an unnamed or default instance of SQL Server. Not compatible with /autoDetect or /server.

You can run DSInit at any time to configure the storage emulator to point to a different instance of SQL Server.

/INSTALL

Reserved.

/FASTTIMEOUT

Reserved.

/NOGUI

Reserved.

/URI

Reserved.

/USER

Reserved.

To use the storage emulator with LocalDB, in Control Panel, open Programs and Features and confirm your computer meets these prerequisites:

  • Microsoft SQL Server 2012 Express LocalDB is installed.

  • Microsoft .NET Framework 4 is equal to or higher than version 4.0.2.

For download links, setup information, and troubleshooting help for both LocalDB and .NET Framework 4.0.2., see Troubleshoot SQL Server 2012 Express LocalDB.

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