Windows Azure 项目笔记#1
2011年05月06日
刚完成自己的第一个Windows Azure + Silverlight项目的phase 01,回头来看,经历不少曲折,现一一记录,作为备忘。
1。异常信息"SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used"
问题:上手这个项目时,还没来的及系统学习最新的Windows Azure Training Kit , 需求中用到了Blob Storage Service, 搜索到的示例代码运行时遇到异常 SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used。问题源自SDK1.3以来的一些breaking changes (目前最新的sdk为1.4)。
解决:来自msdn的一篇blog
2. Storage 模拟器无法启动问题:
Windows Azure SDK提供了模拟器可供在开发机上调试,Storage 服务同样也有一个Storage模拟器,启动VS调试Cloud项目时会自动启动该模拟器。
问题:模拟器无法启动,VS Output窗口信息如下:
Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance 'localhost\SQLExpress' could not be found. Please configure the SQL Server instance for Development Storage using the 'DSInit' utility in the Windows Azure SDK.
原来Storage模拟器默认需要SQLExpress实例。我的开发机上没有SQLExpress,而是安装了SQL 2008R2,实例名为默认名称MSSqlserver。
解决:
Windows Azure SDK提供了一个工具DSInit.exe (C:\Program Files\Windows Azure SDK\v1.4\bin\devstore), 可用于配制Storage模拟器的数据库。直接运行,配置失败:
搜索到msdn论坛中的的一篇帖子,提到了DSInit的命令行及参数使用,使用如下命令,配置成功:
3. Blob Storage Service中的container有一些命名限制,其中一条是必须为小写
4. Windows Azure Tools for VS提供了一个Storage 浏览器
发表评论
-
Windows Azure 基本概念浅析
2012-01-20 09:26 533Windows Azure 基本概念浅析 2011年04月1 ... -
SDK Manager:failed to install
2012-01-20 09:26 498SDK Manager:failed to install ... -
Windows Azure AppFabric Caching入门简介
2012-01-20 09:26 547Windows Azure AppFabric Caching ... -
windows程序设计相关思想
2012-01-20 09:25 537windows程序设计相关思想 ... -
墨子对儒家“三年之丧”的批判及两家之歧见
2012-01-19 14:27 668墨子对儒家“三年之丧”的批判及两家之歧见 2011年12月2 ... -
孟子三答
2012-01-19 14:27 566孟子三答 2011年12月24日 孟子许多天没上朝,这天 ... -
《论语》解读之3-26《无礼之状乱不忍观》
2012-01-19 14:27 668《论语》解读之3-26《无礼之状乱不忍观》 2012年01月 ... -
javascript 的 try catch用法
2012-01-17 04:15 536javascript 的 try catch用法 2011年 ... -
javascript使用全集2
2012-01-17 04:15 613javascript使用全集2 2011年04月08日 ... -
js try catch 用法
2012-01-17 04:15 985js try catch 用法 2011年03月23日 ... -
【FlashCS5】【莫名其妙】之变量 ComponentShim 未定义
2012-01-17 04:15 800【FlashCS5】【莫名其妙】之变量 ComponentSh ... -
JavaScript--异常处理
2012-01-17 04:15 516JavaScript--异常处理 2010 ... -
最高境界的赞美
2012-01-16 03:04 652最高境界的赞美 2009年09月17日 爱美之心,人皆有 ... -
会说话的女人最出色!
2012-01-16 03:04 609会说话的女人最出色! 2 ... -
女人最出色的地方―说话《二》
2012-01-16 03:04 632女人最出色的地方―说话《二》 2011年05月03日 对 ... -
有一种赞美令人心痛
2012-01-16 03:04 550有一种赞美令人心痛 20 ... -
e最著名的形容美女的词语
2012-01-16 03:04 385e最著名的形容美女的词 ...
相关推荐
Windows Azure
第1 章和第2 章包括云计算的基础知识和windows azure 平台的概述、计费模式和商业案例。第3 章到第7 章,通过完整的示例项目系统地介绍windows azure(计算服务、存储服务和部署调试)、sql azure 和windows azure ...
全书共12章,内容包括云计算概论、云计算技术概观、初探Windows Azure、Windows Azure应用程序开发基础、Windows Azure应用程序开发:Table存储服务、Windows Azure应用程序开发:BLOB存储服务、Windows Azure应用...
Windows Azure 概述
Build, deploy and manage cloud solutions using combination of Windows Azure Pack, System Center and Hyper-V Impress your peers at work by learning to build applications that can leverage the cloud to ...
第1章和第2章包括云计算的基础知识和Windows Azure 平台的概述、计费模式和商业案例。第3章到第7章,通过完整的示例项目系统地介绍Windows Azure(计算服务、存储服务和部署调试)、SQL Azure 和Windows Azure ...
Windows Azure入门教学系列
《Windows Azure从入门到精通》针对微软的云计算平台windows azure,循序渐进地介绍了如何构建和管理云端的可扩展应用,一次一个知识点,同时辅之以适当的练习,可帮助读者轻松掌握基本的编程技能,掌握windows ...
简要描述Windows Azure最新的功能、特色和主要的服务
70-583 PRO: Windows Azure 题库
Windows Azure使用入门 第二课:建立自己的网站.pdf
windows azure
Windows Azure用户注册流程 非常详细
Cloud Computing with the Windows Azure Platform Azure电子书 第一本详细介绍Azure的书籍.共363页 文字版,可打印
1. 准备 Azure Batch Account 1.在 config.py 中将相关参数替换为前述步骤记录的参数 2.执行 azurebatchdemo.p
Windows Azure云平台概述.pdf
WIP 如何用好 Azure Kubernetes Service - 概述前段时间做了 OpenHack for Container 后, 重新学习了一下 A
Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure Windows Azure 公有云平台是 微软 云操作系统愿景的三大重要组成部分之一,这平台将会转变 ...
Windows Azure从入门到精通含源代码,接受微软的云服务平台Windows Azure帮助包含源代码
Windows Azure快速入门——为什么选择Windows Azure