Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Http CultureNotFoundException.NET核心2.1_Http_Web_.net Core_Runtime Error - Fatal编程技术网

Http CultureNotFoundException.NET核心2.1

Http CultureNotFoundException.NET核心2.1,http,web,.net-core,runtime-error,Http,Web,.net Core,Runtime Error,最近,我在Azure上发布了一个.NET 2.1核心Web应用程序,并成功部署。当我意识到我的网站上的图片无法加载时,我意识到我必须对我的代码进行更改,所以我这样做并成功地重新发布了。但是,这次我无法部署,因为我遇到了以下错误: CultureNotFoundException: Culture is not supported. Parameter name: name anguageVersionAttribute is an invalid culture identifier. Sys

最近,我在Azure上发布了一个.NET 2.1核心Web应用程序,并成功部署。当我意识到我的网站上的图片无法加载时,我意识到我必须对我的代码进行更改,所以我这样做并成功地重新发布了。但是,这次我无法部署,因为我遇到了以下错误:

CultureNotFoundException: Culture is not supported. Parameter name: name anguageVersionAttribute is an invalid culture identifier.

System.Globalization.CultureInfo.InitializeFromName(string name, bool useUserOverride)

有人知道如何解决这个问题吗?谢谢你的帮助和建议。

我解决了我的问题。我所要做的就是为我的web应用程序创建一个新的发布配置文件并重新发布到Azure