Troubleshooting error in cloud but not happen in local
2011-11-01 19:02
495 查看
**Enable Web Deploy for Windows Azure Web Roles
Limitation:
Your web role must only have a single running instance.
The changes that you make with Web Deploy are temporary. When the role instance is restarted, your changes will be gone.
Can only be used for development and testing. Not intended for updating applications in production.
http://blogs.msdn.com/b/cloud/archive/2011/04/19/enabling-web-deploy-for-windows-azure-web-roles-with-visual-studio.aspx
1. Check necessary assembly has been mark as "Copy Local". Such as : Microsoft.ServiceBus, Microsoft.IdentityModel, etc
2. Check all "configurationManagement.appsetting" are changed to "RoleEnvironment.GetConfigurationSettingValue"
3. Check we are using cloud storage not development storage
4. turn off "customErrors" in <system.web> in web.config
Limitation:
Your web role must only have a single running instance.
The changes that you make with Web Deploy are temporary. When the role instance is restarted, your changes will be gone.
Can only be used for development and testing. Not intended for updating applications in production.
http://blogs.msdn.com/b/cloud/archive/2011/04/19/enabling-web-deploy-for-windows-azure-web-roles-with-visual-studio.aspx
1. Check necessary assembly has been mark as "Copy Local". Such as : Microsoft.ServiceBus, Microsoft.IdentityModel, etc
2. Check all "configurationManagement.appsetting" are changed to "RoleEnvironment.GetConfigurationSettingValue"
3. Check we are using cloud storage not development storage
4. turn off "customErrors" in <system.web> in web.config
相关文章推荐
- Tree View works through VWD but not via local host or from a remote browser. /Server Error in '/' Application.
- Tree View works through VWD but not via local host or from a remote browser. /Server Error in '/' Application.
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv
- ES报错dangling index, exists on local file system, but not in cluster metadata, auto import to cluster
- ERROR: Repository not found. ////Git, but is not registered in the Settings.
- Error: "title_activity_hi" is translated here but not found in default locale [ExtraTranslation]
- What will happen if we begin transaction in hibernate but do not commit it?
- A new session could not be created. (Original error: Requested a new session but one was in progress) )错误解决办法
- Troubleshooting Out Of Memory error in Anlaysis Server
- A new session could not be created. (Original error: Requested a new session but one was in progress) (WARNING: The server did not provide any stacktrace information)
- [置顶] hexo init时出现 ERROR Local hexo not found in D:\Hexo
- Error:(34) Error: "xxx" is translated here but not found in default locale [ExtraTrans
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv
- Trouble shooting with Cloud Service publishing error.
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from...
- ubuntu出现ERROR: Could not find 'wxe_driver.so' in: /usr/local/bin/erlang/lib/wx-1.2/priv
- gdb的一个bug Internal error: 【pc 0xxxxxxx】 in read in psymtab, but not in symtab
- OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from...
- Troubleshooting Out Of Memory error in Anlaysis Server
- 编译OpenWRT时 #error GNU libiconv not in use but included iconv.h is from libiconv