简体   繁体   English

将Azure SDK升级到2.9.6时生成错误-无法获取设置值参数名称:profileName

[英]Build Error on upgrading Azure SDK to 2.9.6 - Unable to get setting value Parameter name: profileName

After upgrading the Azure SDK version to 2.9.6 from 2.5, while running the application getting error "Unable to get setting value Parameter name: profileName". 将Azure SDK版本从2.5升级到2.9.6后,在运行应用程序时出现错误“无法获取设置值参数名称:profileName”。

I have followed this Link and it does not resolve my issue. 我已遵循此链接 ,但无法解决我的问题。

Any help is appreciated! 任何帮助表示赞赏!

I can repro it if there is no serviceConfiguration.Local.cscfg with azure sdk 2.9.6. 如果没有带有Azure sdk 2.9.6的serviceConfiguration.Local.cscfg,我可以对其进行复制。

在此处输入图片说明

I have followed this Link and it does not resolve my issue. 我已遵循此链接 ,但无法解决我的问题。

If it is not existing or correct serviceConfiguration.Local.cscfg . 如果不存在,请更正serviceConfiguration.Local.cscfg I resolved the issue by copy the serviceConfiguration.Cloud.cscfg and rename the copy file to the serviceConfiguration.Local.cscfg . 我通过复制的解决了这个问题serviceConfiguration.Cloud.cscfg和重命名的文件复制到serviceConfiguration.Local.cscfg The following is my detail steps, hope it is useful. 以下是我的详细步骤,希望对您有用。

If the solution has [work role] and [web role], please have a try to make sure both of the projects have corresponding serviceConfiguration.Local.cscfg file. 如果解决方案具有[工作角色]和[网络角色],请尝试确保两个项目都具有对应的serviceConfiguration.Local.cscfg文件。

  1. Right click the Cloud Service and select the [Manage configurations..] option. 右键单击Cloud Service,然后选择[管理配置..]选项。

在此处输入图片说明

  1. We can remove ,copy and rename the configuration file with popup windows 我们可以使用弹出窗口删除,复制并重命名配置文件

在此处输入图片说明

  1. After that it works correctly 之后,它可以正常工作

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure:升级到Azure SDK v2.1 - Azure: Upgrading to Azure SDK v2.1 值不能为空。 参数名称:entitySet,当我略微更改模型时出现此错误 - Value cannot be null. Parameter name: entitySet, I get this error when i changed my model slightly 在 azure devops 中为 mvc 应用程序设置构建时出现问题(找不到类型或命名空间名称“mvc”) - Problem Setting up a build in azure devops for mvc appliaction(The type or namespace name 'mvc' could not be found) System.ArgumentNullException: '值不能是 null。 参数名称:实体'我在使用 POST 方法时收到此错误 - System.ArgumentNullException: 'Value cannot be null. Parameter name: entity' i get this error while using POST methode MVC 所有 DropdownListsFor 都返回错误:“值不能为 Null,参数名称:项目”POST 后,在 GET 时完美填充 - MVC All DropdownListsFor are returning Error : "The value Cannot be Null, Parameter name:Items" After POST, Works Perfectly populating when GET 值不能为空。 参数名称:MVC5中的项目错误 - Value cannot be null. Parameter name: items error in MVC5 值不能是null。参数名称:实体错误 - Value cannot be null. Parameter name: entity error 收到错误值不能为null或为空。 参数名称:URL - Getting an error Value cannot be null or empty. Parameter name: URL 错误:值不能为null。 参数名称:来源 - Error:Value cannot be null. Parameter name: source MVC 脚手架错误:“值不能是 null。 参数名称:source” - MVC Scaffolding error: “Value cannot be null. Parameter name: source”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM