zoukankan      html  css  js  c++  java
  • Windows Azure and _NOT_ SQLExpress

    I've been very excited recently by the release of Windows Azure, and rest of the Microsoft suite of cloud based services.  I downloaded all of the sdk's, signed up for all the invitation tokens I could, and began writing code.  The Visual Studio templates for Windows Azure projects makes getting your first Azure project up and running super simple.  I did run into one issues with the project templates setting up my first project.

    Basically, the DevelopmentStorage.exe.config for windows Azure expects you to have SQLExpress installed on your machine.  I know it probably says it in quite a few places in the documentation, but instructions and documentation are for after the first faliure ;).  I don't have SQLExpress installed on my machine.  I run SQL2008 Dev...  Now, it would not be very tough to go out and download SQLExpress, but I don't want to (a bit of laziness is good for all developers, without it your code would never be DRY).  So, I just went into the DevelopmentStorage.exe.config, and editted the refs for SQLExpress, and just replaced it with localhost (I have an unnamed instance), and all was well in the world of Azure DB Objects.  You should be able to find your DevelopmentStorage.exe.config at C:\Program Files\Windows Azure SDK\v1.0\bin.

    I hope you have clear blue skys ahead of you!

    UPDATE: I noticed that my development storage was not starting the table service for me.  I reflected out the developmentstorage.exe and found that I was not supplying a proper dbName in the configuration file.  I doctored up my DevelopmentStorage.exe.config configuration file to look like this:

    <service name="Table" url="http://127.0.0.1:10002/" dbServer="localhost" dbName="developmentstoragedb"/>

    原文:

    http://azurecoding.net/blogs/icbtw/archive/2008/11/02/windows-azure-and-not-sqlexpress.aspx

  • 相关阅读:
    ubuntu
    long long 的输入输出问题
    hdu 4135 a到b的范围中多少数与n互质(容斥)
    hdu4757 可持续化01字典树+LCA
    E
    bzoj4260 求两个不相交的区间各自异或后相加的最大值。
    hdu4638 问一段区间能组成多少段连续的数
    hdu4637 计算俩运动对象的时间交
    hdu4632 回文子序列
    hdu4635 有向点双
  • 原文地址:https://www.cnblogs.com/smwikipedia/p/1438429.html
Copyright © 2011-2022 走看看