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

  • 相关阅读:
    Elasticsearch集群优化实战
    Elasticsearch跨集群搜索(Cross Cluster Search)
    Elasticsearch集群运维
    Elasticsearch冷热集群搭建
    分布式系统事务一致性
    使用Vertx重构系统小结
    ThreadLocal原理分析与使用场景
    使用Vertx构建微服务
    使用 Python & Flask 实现 RESTful Web API
    Golang简单工厂方法demo
  • 原文地址:https://www.cnblogs.com/smwikipedia/p/1438429.html
Copyright © 2011-2022 走看看