3

I have a project with the following structure:

Console Application

  • Console Application (Handles entities and db)
  • WCF Application

It works when i deploy it on localhost, but i want to publish it on azurewebsites.net.

I've created a free account and downloaded the publish profile. Using this profile, i tried to publish my project, when i get following errors.

Error 2 The 'Connection String' argument cannot be null or empty. 0 0

Error 3 Web deployment task failed. (Could not complete an operation with the specified provider ("dbDacFx") when connecting using the Web Management Service. This can occur if the server administrator has not authorized the user for this operation. dbDacFx http://go.microsoft.com/fwlink/?LinkId=178034 Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER.).

4

1 回答 1

3

我有一个包含一个网站项目和多个 Web 作业项目的解决方案。当我尝试将我的任何 Web 作业发布到 Azure 时出现此错误。Build All当我在尝试该项目之前对我的解决方案或Build单个 Web 作业项目进行操作时,不知何故会导致该问题Publish

解决方案:只要我右键单击我的项目并执行一个Clean然后立即运行一个Publish as Azure Webjob...我的项目就会正确发布。

于 2015-09-13T02:29:39.217 回答