您的位置:首页 > 移动开发

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐