我无法通过VS Publish Tools上传我的MVC项目,它只接受FTP

时间:2016-12-29 21:52:31

标签: azure deployment ftp publishing webdeploy

我面对我的项目非常沮丧的问题,我曾经使用Visual Studio发布工具将任何Web应用程序或网站上传到Azure通过Visual Studio发布选项,

但是在我处理某个项目并尝试通过相同的选项Witch发布它之后,将网站发布到Azure。

应用程序给我一个错误,并显示有一些丢失的文件和目录。

但是当我在azure上连接到我的ftp帐户时,我可以通过Filezilla上传网站。问题是我已经处理过filezilla和任何其他工具,这些工具使得工作太慢而且效率低下。

我已在此链接上创建了一个关于azure的新网络应用http://testloai.azurewebsites.net/

这是我发布时的输出

1>------ Build started: Project: AwesomeMvcDemo, Configuration: Release Any CPU ------
1>  AwesomeMvcDemo -> C:\Users\loaia\Desktop\site_00061\site\AwesomeMvcDemo\bin\AwesomeMvcDemo.dll
2>------ Publish started: Project: AwesomeMvcDemo, Configuration: Release Any CPU ------
2>Auto ConnectionString Transformed Web.config into obj\Release\CSAutoParameterize\transformed\Web.config.
2>Auto ConnectionString Transformed Views\Web.config into obj\Release\CSAutoParameterize\transformed\Views\Web.config.
2>Copying all files to temporary location below for package/publish:
2>obj\Release\Package\PackageTmp.
2>Start Web Deploy Publish the Application/package to https://testloai.scm.azurewebsites.net/msdeploy.axd?site=testloai ...
2>Adding directory (testloai\bin).
2>Adding directory (testloai\Content).
2>Adding directory (testloai\Content\themes).
2>Adding directory (testloai\Content\themes\black-cab).
2>Adding directory (testloai\Content\themes\bui).
2>Adding directory (testloai\Content\themes\gui).
2>Adding directory (testloai\Content\themes\gui2).
2>Adding directory (testloai\Content\themes\gui3).
2>Adding directory (testloai\Content\themes\met).
2>Adding directory (testloai\Content\themes\start).
2>Adding directory (testloai\Content\themes\wui).
2>Adding directory (testloai\EDMX).
2>Adding directory (testloai\fonts).
2>Adding directory (testloai\Scripts).
2>Adding directory (testloai\Views).
2>Adding directory (testloai\Views\Account).
2>Adding directory (testloai\Views\AddNewStudent).
2>Adding directory (testloai\Views\AddNewTasmie).
2>Adding directory (testloai\Views\Classes).
2>Adding directory (testloai\Views\ClassesGridCrud).
2>Adding directory (testloai\Views\Error).
2>Adding directory (testloai\Views\Groups).
2>Adding directory (testloai\Views\GroupsGridCrud).
2>Adding directory (testloai\Views\Home).
2>Adding directory (testloai\Views\MasterDetailCrudDemo).
2>Adding directory (testloai\Views\MealCustomSearchLookup).
2>Adding directory (testloai\Views\Mosques).
2>Adding directory (testloai\Views\MosquesGridCrud).
2>Adding directory (testloai\Views\Permissions).
2>Adding directory (testloai\Views\PermissionsGridCrud).
2>Adding directory (testloai\Views\Shared).
2>Adding directory (testloai\Views\Shared\EditorTemplates).
2>Adding directory (testloai\Views\Sitemap).
2>Adding directory (testloai\Views\Students).
2>Adding directory (testloai\Views\StudentsGridCrud).
2>Adding directory (testloai\Views\SupervisionCenters).
2>Adding directory (testloai\Views\SupervisionCentersGridCrud).
2>Adding directory (testloai\Views\Tasmies).
2>Adding directory (testloai\Views\TasmiesGridCrud).
2>Adding directory (testloai\Views\Users).
2>Adding directory (testloai\Views\UsersGridCrud).
2>Adding ACL's for path (testloai)
2>Adding ACL's for path (testloai)
2>Adding file (testloai\bin\Antlr3.Runtime.dll).
2>Adding file (testloai\bin\AwesomeMvcDemo.dll).
2>Adding file (testloai\bin\EntityFramework.dll).
2>Adding file (testloai\bin\EntityFramework.SqlServer.dll).
2>Adding file (testloai\bin\ICSharpCode.SharpZipLib.dll).
2>Adding file (testloai\bin\Microsoft.AspNet.Identity.Core.dll).
2>Adding file (testloai\bin\Microsoft.AspNet.Identity.EntityFramework.dll).
2>Adding file (testloai\bin\Microsoft.AspNet.Identity.Owin.dll).
2>Adding file (testloai\bin\Microsoft.Owin.dll).
2>Adding file (testloai\bin\Microsoft.Owin.Host.SystemWeb.dll).
2>Adding file (testloai\bin\Microsoft.Owin.Security.Cookies.dll).
2>Adding file (testloai\bin\Microsoft.Owin.Security.dll).
2>Adding file (testloai\bin\Microsoft.Owin.Security.OAuth.dll).
2>Adding file (testloai\bin\Microsoft.Web.Infrastructure.dll).
2>Adding file (testloai\bin\Newtonsoft.Json.dll).
2>Adding file (testloai\bin\NPOI.dll).
2>Adding file (testloai\bin\NPOI.OOXML.dll).
2>Adding file (testloai\bin\NPOI.OpenXml4Net.dll).
2>Adding file (testloai\bin\NPOI.OpenXmlFormats.dll).
2>Adding file (testloai\bin\Omu.Awem.dll).
2>Adding file (testloai\bin\Omu.AwesomeMvc.dll).
2>Adding file (testloai\bin\Omu.ValueInjecter.dll).
2>Adding file (testloai\bin\Owin.dll).
2>Adding file (testloai\bin\System.Net.Http.Formatting.dll).
2>Adding file (testloai\bin\System.Web.Helpers.dll).
2>Adding file (testloai\bin\System.Web.Http.dll).
2>Adding file (testloai\bin\System.Web.Http.WebHost.dll).
2>Adding file (testloai\bin\System.Web.Mvc.dll).
2>Adding file (testloai\bin\System.Web.Optimization.dll).
2>Adding file (testloai\bin\System.Web.Razor.dll).
2>Adding file (testloai\bin\System.Web.WebPages.Deployment.dll).
2>Adding file (testloai\bin\System.Web.WebPages.dll).
2>Adding file (testloai\bin\System.Web.WebPages.Razor.dll).
2>Adding file (testloai\bin\WebGrease.dll).
2>Adding file (testloai\Content\awedemo.png).
2>Adding file (testloai\Content\bootstrap-rtl.css).
2>Adding file (testloai\Content\bootstrap.min.js).
2>Adding file (testloai\Content\circlelogo.jpg).
2>Adding file (testloai\Content\common.css).
2>Adding file (testloai\Content\jquery-1.12.4.min.js).
2>Adding file (testloai\Content\jquery-ui.css).
2>Adding file (testloai\Content\jquery-ui.min.js).
2>Adding file (testloai\Content\jquery.validate.min.js).
2>Adding file (testloai\Content\jquery.validate.unobtrusive.min.js).
2>Adding file (testloai\Content\js.cookie.min.js).
2>Adding file (testloai\Content\logo.png).
2>Adding file (testloai\Content\o.png).
2>Adding file (testloai\Content\prettify.css).
2>Adding file (testloai\Content\run_prettify.js).
2>Adding file (testloai\Content\themes\black-cab\awem.css).
2>Adding file (testloai\Content\themes\black-cab\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\black-cab\awe_icons.png).
2>Adding file (testloai\Content\themes\black-cab\loading.gif).
2>Adding file (testloai\Content\themes\black-cab\pm.png).
2>Adding file (testloai\Content\themes\bui\awem.css).
2>Adding file (testloai\Content\themes\bui\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\bui\awe_icons.png).
2>Adding file (testloai\Content\themes\bui\loading.gif).
2>Adding file (testloai\Content\themes\bui\pm.png).
2>Adding file (testloai\Content\themes\gui\awem.css).
2>Adding file (testloai\Content\themes\gui\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\gui\awe_icons.png).
2>Adding file (testloai\Content\themes\gui\loading.gif).
2>Adding file (testloai\Content\themes\gui\pm.png).
2>Adding file (testloai\Content\themes\gui2\awem.css).
2>Adding file (testloai\Content\themes\gui2\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\gui2\awe_icons.png).
2>Adding file (testloai\Content\themes\gui2\loading.gif).
2>Adding file (testloai\Content\themes\gui2\pm.png).
2>Adding file (testloai\Content\themes\gui3\awem.css).
2>Adding file (testloai\Content\themes\gui3\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\gui3\awe_icons.png).
2>Adding file (testloai\Content\themes\gui3\loading.gif).
2>Adding file (testloai\Content\themes\gui3\pm.png).
2>Adding file (testloai\Content\themes\met\awem.css).
2>Adding file (testloai\Content\themes\met\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\met\awe_icons.png).
2>Adding file (testloai\Content\themes\met\loading.gif).
2>Adding file (testloai\Content\themes\met\pm.png).
2>Adding file (testloai\Content\themes\start\awem.css).
2>Adding file (testloai\Content\themes\start\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\start\awe_icons.png).
2>Adding file (testloai\Content\themes\start\loading.gif).
2>Adding file (testloai\Content\themes\start\pm.png).
2>Adding file (testloai\Content\themes\wui\awem.css).
2>Adding file (testloai\Content\themes\wui\AwesomeMvc.css).
2>Adding file (testloai\Content\themes\wui\awe_icons.png).
2>Adding file (testloai\Content\themes\wui\editdel.png).
2>Adding file (testloai\Content\themes\wui\loading.gif).
2>Adding file (testloai\Content\themes\wui\pm.png).
2>Adding file (testloai\EDMX\Model1.edmx.diagram).
2>Adding file (testloai\f.ico).
2>Adding file (testloai\fonts\glyphicons-halflings-regular.eot).
2>Adding file (testloai\fonts\glyphicons-halflings-regular.svg).
2>Adding file (testloai\fonts\glyphicons-halflings-regular.ttf).
2>Adding file (testloai\fonts\glyphicons-halflings-regular.woff).
2>Adding file (testloai\Global.asax).
2>Adding file (testloai\packages.config).
2>Adding file (testloai\Scripts\awem.js).
2>Adding file (testloai\Scripts\AwesomeMvc.js).
2>Adding file (testloai\Scripts\Site.js).
2>Adding file (testloai\Scripts\utils.js).
2>Adding file (testloai\Views\Account\Delete.cshtml).
2>Adding file (testloai\Views\Account\Edit.cshtml).
2>Adding file (testloai\Views\Account\Index.cshtml).
2>Adding file (testloai\Views\Account\Login.cshtml).
2>Adding file (testloai\Views\Account\Manage.cshtml).
2>Adding file (testloai\Views\Account\Register.cshtml).
2>Adding file (testloai\Views\Account\UserGroups.cshtml).
2>Adding file (testloai\Views\Account\UserPermissions.cshtml).
2>Adding file (testloai\Views\Account\_ChangePasswordPartial.cshtml).
2>Adding file (testloai\Views\Account\_SetPasswordPartial.cshtml).
2>Adding file (testloai\Views\AddNewStudent\AddNewStudent.cshtml).
2>Adding file (testloai\Views\AddNewStudent\Index.cshtml).
2>Adding file (testloai\Views\AddNewTasmie\AddNewTasmie.cshtml).
2>Adding file (testloai\Views\AddNewTasmie\Index.cshtml).
2>Adding file (testloai\Views\Classes\Create.cshtml).
2>Adding file (testloai\Views\Classes\Index.cshtml).
2>Adding file (testloai\Views\ClassesGridCrud\Create.cshtml).
2>Adding file (testloai\Views\Error\ErrorPartial.cshtml).
2>Adding file (testloai\Views\Error\Expected.cshtml).
2>Adding file (testloai\Views\Error\ExpectedPartial.cshtml).
2>Adding file (testloai\Views\Error\HttpError401.cshtml).
2>Adding file (testloai\Views\Error\HttpError404.cshtml).
2>Adding file (testloai\Views\Error\HttpError505.cshtml).
2>Adding file (testloai\Views\Groups\Create.cshtml).
2>Adding file (testloai\Views\Groups\Index.cshtml).
2>Adding file (testloai\Views\GroupsGridCrud\Create.cshtml).
2>Adding file (testloai\Views\Home\About.cshtml).
2>Adding file (testloai\Views\Home\Index.cshtml).
2>Adding file (testloai\Views\MasterDetailCrudDemo\Index.cshtml).
2>Adding file (testloai\Views\MealCustomSearchLookup\SearchForm.cshtml).
2>Adding file (testloai\Views\Mosques\Create.cshtml).
2>Adding file (testloai\Views\Mosques\Index.cshtml).
2>Adding file (testloai\Views\MosquesGridCrud\Create.cshtml).
2>Adding file (testloai\Views\Permissions\Create.cshtml).
2>Adding file (testloai\Views\Permissions\Index.cshtml).
2>Adding file (testloai\Views\PermissionsGridCrud\Create.cshtml).
2>Adding file (testloai\Views\Shared\Delete.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Boolean.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\ButtonGroupCheckbox.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\ButtonGroupRadio.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\ColorDropdown.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Combobox.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Hidden.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Int32.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\LookupDropdown.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\MealsOdropdown.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\MultiLookupDropdown.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Multiselect.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Odropdown.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\ReadOnly.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Single.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\Textarea.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\TimePicker.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\TimePickerm.cshtml).
2>Adding file (testloai\Views\Shared\EditorTemplates\_FieldLayout.cshtml).
2>Adding file (testloai\Views\Shared\Error.cshtml).
2>Adding file (testloai\Views\Shared\LoginLayout.cshtml).
2>Adding file (testloai\Views\Shared\_LoginPartial.cshtml).
2>Adding file (testloai\Views\Sitemap\Index.cshtml).
2>Adding file (testloai\Views\Sitemap\parent.cshtml).
2>Adding file (testloai\Views\Students\Index.cshtml).
2>Adding file (testloai\Views\StudentsGridCrud\Create.cshtml).
2>Adding file (testloai\Views\SupervisionCenters\Create.cshtml).
2>Adding file (testloai\Views\SupervisionCenters\Index.cshtml).
2>Adding file (testloai\Views\SupervisionCentersGridCrud\Create.cshtml).
2>Adding file (testloai\Views\Tasmies\Create.cshtml).
2>Adding file (testloai\Views\Tasmies\Index.cshtml).
2>Adding file (testloai\Views\TasmiesGridCrud\Create.cshtml).
2>Adding file (testloai\Views\TasmiesGridCrud\LunchDetail.cshtml).
2>Adding file (testloai\Views\Users\Create.cshtml).
2>Adding file (testloai\Views\Users\Index.cshtml).
2>Adding file (testloai\Views\UsersGridCrud\Create.cshtml).
2>Adding file (testloai\Views\Web.config).
2>Adding file (testloai\Views\_ViewStart.cshtml).
2>Adding file (testloai\Web.config).
2>Adding ACL's for path (testloai)
2>Adding ACL's for path (testloai)
2>Publish Succeeded.
2>Web App was published successfully http://testloai.azurewebsites.net/
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

但在此成功之后,该网站也无法使用azure

你对此有什么解决方案吗?

1 个答案:

答案 0 :(得分:1)

你有错误的屏幕截图吗?

我不确定以下链接是否有帮助 - http://www.mihirmone.com/post/error-while-publishing-your-web-app-to-azure-using-visual-studio