Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member
    Join Date
    Jun 2008
    Posts
    8

    Question Web deploy & Error : Web deployment task failed

    Hello, I have share-server and use Enkompass™ Version 2.4.0.43
    In account I turn on role "WebDeploy Access"
    I can upload files to server, but can't upload services, have this error:

    Code:
    *Start Web Deploy Publish the Application/package to
    https://site.com:8172/msdeploy.axd?site=site.com ...*
    *Starting Web deployment task from
    source:manifest(C:\Users\Bob\documents\visual studio
    2010\Projects\SimpleWCFService\SimpleWCFApplication\obj\Debug\Package\SimpleWCFApplication.SourceManifest.xml)
    to Destination:auto().*
    *Adding sitemanifest (sitemanifest).*
    *Updating createApp (site.com/Services).*
    *Adding contentPath (site.com/Services).*
    *Adding dirPath (site.com/Services).*
    *Adding child dirPath (site.com/Services\bin).*
    *Adding setAcl (site.com/Services).*
    *Adding setAcl (site.com/Services).*
    *C:\Program Files
    (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5):
    Error : Web deployment task failed. (Make sure you have appropriate
    permissions on the server to publish IIS settings. Alternatively, exclude
    settings that require administrative permission on the server.*
    *Error details:Could not mark the folder as an application on the
    destination server. This can occur if the server administrator has not
    authorized this operation for the user credentials that you are using.
    http://go.microsoft.com/fwlink/?LinkId=178035*
    *)*
    How I can fix this error, that it was safe for other accounts on this server?

  2. #2
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    355

    Default Re: Web deploy & Error : Web deployment task failed

    If I'm reading the error correctly, you will need to convert the directory to an application. This function will be available in the next major release of Enkompass, but you can use this workaround for now.

    Create Virtual Directory for an application - cPanel General Blog

  3. #3
    Member
    Join Date
    Jun 2008
    Posts
    8

    Default Re: Web deploy & Error : Web deployment task failed

    Hello,

    Working. Thank you.
    But have security hole. Users can get list files, and maybe create and remove on all HDD

    If use this code:
    Code:
    var files = System.IO.Directory.GetFiles( @"c:\").ToList();
    files.Add(Directory.GetCurrentDirectory());
    return string.Join(" ", files);
    can get files on C:\

    How to increase security?

    Can I use this solution?:

    http://stackoverflow.com/questions/4...pplication-sti

    This is compatible with Enkompass?
    Last edited by knyaz2020; 12-26-2011 at 11:32 AM.

  4. #4
    Member
    Join Date
    Jun 2008
    Posts
    8

  5. #5
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    355

    Default Re: Web deploy & Error : Web deployment task failed

    We are checking on this.

  6. #6
    Member
    Join Date
    Jun 2008
    Posts
    8

    Default Re: Web deploy & Error : Web deployment task failed

    Have you any news about this solution?

  7. #7
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    355

    Default Re: Web deploy & Error : Web deployment task failed

    Not at this time. Most of our developers are on holiday. It may be several more days before I have an answer.

  8. #8
    Member
    Join Date
    Jan 2012
    Posts
    7
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: Web deploy & Error : Web deployment task failed

    Any news related to this thread?

  9. #9
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    355

    Default Re: Web deploy & Error : Web deployment task failed

    We are still investigating. No update at this time.

  10. #10
    Member
    Join Date
    Jun 2008
    Posts
    8

    Default Re: Web deploy & Error : Web deployment task failed

    Have you any news about this solution?

  11. #11
    Support Manager cPanelEric's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    488
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Web deploy & Error : Web deployment task failed

    Howdy,

    The issue is the user who the app pool runs as has these permissions. You can lower your trust level to keep the user out of these areas. We are going to harden this in a future release of Enkompass.

    Thanks!

  12. #12
    Member
    Join Date
    Jun 2008
    Posts
    8

    Default Re: Web deploy & Error : Web deployment task failed

    Hello,

    Tell me please, in what release number expected this functionality?

    Thank you.

  13. #13
    Member
    Join Date
    Jan 2012
    Posts
    7
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: Web deploy & Error : Web deployment task failed

    Any news about new version? Maybe you can tell some estimates?

  14. #14
    Member
    Join Date
    Jan 2012
    Posts
    7
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: Web deploy & Error : Web deployment task failed

    I'm sorry for persistence, but any updates?

  15. #15
    cPanel Staff cPanelSalinas's Avatar
    Join Date
    Feb 2009
    Posts
    355

    Default Re: Web deploy & Error : Web deployment task failed

    Permissions should be updated in the next release, but I don't have a release date at this time.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 08-11-2009, 06:31 AM
  2. Tomcat: Getting .war deployment and web.xml to work properly
    By RisingHost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-10-2003, 11:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube