VS2013和天青 - 部署模板验证失败,虽然我没有编辑不包括任何模板,也没有项目属性 [英] VS2013 and Azure - deployment template validation failed, although I haven't edited neither template nor project properties

查看:292
本文介绍了VS2013和天青 - 部署模板验证失败,虽然我没有编辑不包括任何模板,也没有项目属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想部署我的网站从Visual Studio到Azure上。这是一个pretty标准的网站,没有什么棘手的它,我使用点击从Visual Studio 2013的前preSS部署(HA!)方法。
但是,我甚至不得到尽可能创建Web应用。 关于微软的Azure创建Web应用当我命名应用程序,创建一个资源组并选择DBSERVER和服务计划,并显示以下消息后,单击创建对话框失败:

I'm trying to deploy my website to azure from visual studio. It's a pretty standard website, nothing tricky to it, and I'm using the "one click" (HA!) method of deployment from Visual Studio 2013 express. However, I don't even get as far as creating the web-app. The "create web-app on microsoft azure" dialog fails when I click create after naming the application, creating a resourcegroup and selecting a dbserver and service plan, with the following message:

请求<一个href=\"https://management.azure.com/subscriptions/8ffb8793-a03d-45d4-88b5-647f5baf0fa0/resourcegroups/raocresourcegroup/deployments/website_deployment?api-version=2014-04-01\">https://management.azure.com/subscriptions/8ffb8793-a03d-45d4-88b5-647f5baf0fa0/resourcegroups/raocresourcegroup/deployments/website_deployment?api-version=2014-04-01 PUT失败的错误请求400(错误请求)

Request to https://management.azure.com/subscriptions/8ffb8793-a03d-45d4-88b5-647f5baf0fa0/resourcegroups/raocresourcegroup/deployments/website_deployment?api-version=2014-04-01 PUT failed BadRequest 400 (Bad Request)

部署模板验证失败:'提供的价值为
  模板参数SKU在行16和列17是无效的。

Deployment template validation failed: 'The provided value for the template parameter 'sku' at line '16' and column '17' is not valid.'.

我的主要问题是,我不知道是什么Visual Studio是议论纷纷。我用Google搜索部署模板验证失败,我找不到太多关于这个错误。我用Google搜索部署模板看什么,实际上是,和pretty多无疾而终了。我不知道参数SKU可能代表着什么。当然,我没有任何地方它进行编辑。我还没有改变过这件事情上的项目属性。

My main problem is that I have no idea what visual studio is talking about. I googled "deployment template validation failed" and I couldn't find much about the error. I googled "deployment template" to see what that actually is, and came up with pretty much nothing. I have no Idea what the parameter "sku" might stand for. I certainly have not edited it anywhere. I haven't even ever changed the project properties on this thing.

如果有人可以点我在正确的方向,所以我至少有一个想法从哪里开始和寻找什么,我更AP preciate它。

If somebody could point me in the right direction so I at least have an idea where to start and what to look for, I would much appreciate it.

推荐答案

既然没有人回答和谷歌却迟迟没有任何详细信息,但我仍然不知道有什么部署模板是完全或者是什么参数SKU确实。

Since no one replied and google wasn't forthcoming with any more information, I still don't know what deployment templates are exactly or what the parameter "sku" does.

我现在知道的是,这个问题可以通过在蔚蓝的门户网站创建一个空的web应用程序配置文件,然​​后部署到该配置文件,跳过在Visual Studio中创建配置文件部分绕行。

What I DO know now is that the problem can be circumnavigated by creating an empty web-app profile through the azure portal and then deploying to that profile, skipping the profile creation part in visual studio.

这篇关于VS2013和天青 - 部署模板验证失败,虽然我没有编辑不包括任何模板,也没有项目属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆