Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jaimster08 4 posts 74 karma points
    Aug 13, 2021 @ 08:58
    Jaimster08
    0

    Umbraco V8 deploying to AWS problem

    I've basically built my whole site on .net framework and it uses Umbraco as the CMS. I'm getting the following error when deploying to AWS through VS:

    Could not open Source file: Could not find a part of the path 'C:\inetpub\wwwroot(ProjectName)(ProjectName)\AppPlugins\UmbracoForms\Data\Web.config;\AppPlugins\UmbracoForms\Data\Web.config'

    I've found the following that I thought would help: https://our.umbraco.com/forum/using-umbraco-and-getting-started/81565-getting-an-error-during-the-deploying-webapplication-could-not-open-source-file-could-not-find-a-part-of-the-path

    Although the problem is that I don't have this: /Properties/PublishProfiles/XXXXX - Web Deploy.pubxml - I actually don't have any pubxml files in my project. Any ideas?

  • Mike Ryan 5 posts 75 karma points
    Nov 22, 2021 @ 19:54
    Mike Ryan
    0

    You can manually create a publish profile, and under the Build menu, Publish, select to import a publish profile you created. This is an example of a publish profile using WebDeploy (you can also use Azure, Docker, FTP, or Folders)

    <?xml version="1.0" encoding="utf-8"?>
    <!--
    This file is used by the publish/package process of your Web project. You can customize the behavior of this process
    by editing this MSBuild file. In order to learn more about this please visit https://go.microsoft.com/fwlink/?LinkID=208121. 
    -->
    <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <PropertyGroup>
        <WebPublishMethod>MSDeploy</WebPublishMethod>
        <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
        <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
        <LastUsedPlatform>Any CPU</LastUsedPlatform>
        <SiteUrlToLaunchAfterPublish>........</SiteUrlToLaunchAfterPublish>
        <ExcludeApp_Data>False</ExcludeApp_Data>
        <MSDeployServiceURL>........</MSDeployServiceURL>
        <DeployIisAppPath>........</DeployIisAppPath>
        <RemoteSitePhysicalPath />
        <SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
        <MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
        <EnableMSDeployBackup>True</EnableMSDeployBackup>
        <UserName>........</UserName>
        <_SavePWD>........</_SavePWD>
      </PropertyGroup>
    </Project>
    
Please Sign in or register to post replies

Write your reply to:

Draft