Copied to clipboard

Flag this post as spam?

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


  • Scott 69 posts 146 karma points
    Aug 15, 2011 @ 15:53
    Scott
    0

    Access denied when transferring items

    Just installed courier 2.1.1 on top of existing 4.7 site.

    My scenario. Had a 4.7 site running on a vm. Cloned the vm, renamed the box all that fun stuff. Made a copy of my database so that it was a mirror of what I had before. Installed courier 2.1.1. So that left me with a full prod and staging setup with all ids and everything exactly the same.

    So my first attempt at transferring were met with failure. I get this:

    Application Error
    Application Error
    There was a problem with extracting database information for the item: Name:Master Page | Id:Master Page | Provider:Templates
    Error details

    Umbraco.Courier.Core.Exceptions.ExtractionManagerException: There was a problem with extracting database information for the item: Name:Master Page | Id:Master Page | Provider:Templates ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Access to the path 'C:\Website1\app_data\courier\revisions\__backup\scripts\jquery-ui.min.js' is denied.
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.TransferResources(ResourceTransfer[] resources, String user, String pass) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\webservice.cs:line 1094
    at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.TransferResources(ResourceTransfer[] resources) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\CourierWebserviceRepositoryProvider.cs:line 286
    at Umbraco.Courier.Core.ExtractionManager.ExtractItemResources(Item item, ResourceExtractionOrder order)
    at Umbraco.Courier.Core.ExtractionManager.ExtractItemRevision(Item item, Boolean isDependency)
    at Umbraco.Courier.Core.ExtractionManager.Œ()
    at Umbraco.Courier.Core.ExtractionManager.Œ()
    at Umbraco.Courier.Core.ExtractionManager.ExtractRevisions()
    --- End of inner exception stack trace ---
    at Umbraco.Courier.Core.ExtractionManager.ExtractRevisions()
    at Umbraco.Courier.UI.Dialogs.CommitItem.TransferAndExtractOnSelectedRepo(String repo)
    at Umbraco.Courier.UI.Dialogs.CommitItem.oneSteptransfer(Object sender, EventArgs e)
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Server was unable to process request. ---> Access to the path 'C:\Website1\app_data\courier\revisions\__backup\scripts\jquery-ui.min.js' is denied.

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Access to the path 'C:\Website1\app_data\courier\revisions\__backup\scripts\jquery-ui.min.js' is denied.
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.TransferResources(ResourceTransfer[] resources, String user, String pass) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\webservice.cs:line 1094
    at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.TransferResources(ResourceTransfer[] resources) in d:\TeamCity6\buildAgent\work\10d13058beb058ea\Umbraco.Courier.RepositoryProviders\WebserviceProvider\CourierWebserviceRepositoryProvider.cs:line 286
    at Umbraco.Courier.Core.ExtractionManager.ExtractItemResources(Item item, ResourceExtractionOrder order)
    at Umbraco.Courier.Core.ExtractionManager.ExtractItemRevision(Item item, Boolean isDependency)
    at Umbraco.Courier.Core.ExtractionManager.Œ()
    at Umbraco.Courier.Core.ExtractionManager.Œ()
    at Umbraco.Courier.Core.ExtractionManager.ExtractRevisions()

    -
    But I assumed it was somethign to do with windows security/app pool etc so I made sure that was all setup. So on my destination side, I can watch the folder that it is complaining about, and I see 4 or 5 other files get updated in there, but its just when it gets to this jquery-ui.min.js file that it throws the error. And that specific file is ok as far as security goes, I double checked it. I even deleted it and watched it copy back in there on one occasion.  I'm wondering if its not really a windows file security error but only manifesting itself that way. If I transfer with advanced options and only select to update existing items, but not dependencies or files, it seems to work ok. But obviously thats not going to work long term. Not sure where to turn at this point.

     

  • Scott 69 posts 146 karma points
    Aug 16, 2011 @ 14:30
    Scott
    0

    DOH! Easy fix. The file was read only. The file in question was originally put in place by hand because it was too big for the current application config settings. 

Please Sign in or register to post replies

Write your reply to:

Draft