Over a million developers have joined DZone.
Platinum Partner

Windows Azure Development Storage and StorageServerException (Error 500)

· Cloud Zone

The Cloud Zone is brought to you in partnership with Iron.io. Discover how Microservices have transformed the way developers are building and deploying applications in the era of modern cloud infrastructure.

When preparing my Sinergija12 code examples I ran into an interesting problem. Windows Azure local development storage hangs for about minute and gives StorageServerException stating that there was problem in web server. A little surf in search engines gave me solution.

For me this error happened with default settings of development storage. Everything started working normally when I created storage database to my local SQL Server. MSDN library has good article about steps to take:How to Configure SQL Server for the Storage Emulator:

  • Click Start, point to All Programs, and then click Windows Azure SDK.
  • Right-click Windows Azure SDK Command Prompt, and then click Run as administrator.
  • 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.

Before running these commands shut down Storage Emulator. You can run it when you are done on Azure command-line.

The Cloud Zone is brought to you in partnership with Iron.io. Learn how to build and test their Go programs inside Docker containers.

Topics:

Published at DZone with permission of Gunnar Peipman , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}