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

  • 相关阅读:
    MS SQL执行大脚本文件时,提示“未能完成操作,存储空间不足,无法处理此命令”的解决办法
    一、Flux 是什么?
    for...in for..of
    循环总结
    javascript中几种this指向问题
    redux
    布局方式
    js获取前几个月的具体日期
    动态引入js文件
    获取页面url信息
  • 原文地址:https://www.cnblogs.com/smwikipedia/p/1438429.html
Copyright © 2011-2022 走看看