Copied to clipboard

Flag this post as spam?

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


  • Søren Kottal 410 posts 2504 karma points MVP c-trib
    Jan 23, 2017 @ 14:54
    Søren Kottal
    0

    Folder access denied

    Hi

    Trying to migrate some forms, but I get access denied on App_Plugins\UmbracoForms\Data.

    I tried adding rights manually to IIS_IUSRS, but no luck.

    Am I missing something?

    The solution is recently upgraded from 7.1.9 to 7.5.7. Could there be some config tweaks I need to do?

    ved System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) ved System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) ved System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) ved Umbraco.Core.IO.PhysicalFileSystem.AddFile(String path, Stream stream, Boolean overrideIfExists) ved Umbraco.Core.IO.PhysicalFileSystem.AddFile(String path, Stream stream) ved Umbraco.Core.IO.FileSystemWrapper.AddFile(String path, Stream stream) ved Umbraco.Forms.Core.Data.BaseFileSystemStorage`1.SaveToSpecificPath(T item, String id, String path) ved Umbraco.Forms.Data.Storage.FormStorage.UpdateForm(Form form, String directory) ved Umbraco.Forms.Data.Storage.WorkflowStorage.InsertWorkflow(Form form, Workflow workflow) ved Umbraco.Forms.Migration.MigrationService.Migrate(String connString) i c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:linje 134 ved Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) i c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:linje 23
    
  • Monali 1 post 71 karma points
    Mar 28, 2017 @ 10:51
    Monali
    0

    Hello Soren,

    I am facing the same problem. Did you find any solution for this?

    Surprisingly it created one form under Data folder. So I am unsure if this is a permissions issue anymore..

    My stacktrace -

    Oops something whent wrong

    Access to the path 'C:\Development\ASP-DOTNET-Projects\PHE\SA.Umb.web\App_Plugins\UmbracoForms\Data' is denied.

    at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITYATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Umbraco.Core.IO.PhysicalFileSystem.AddFile(String path, Stream stream, Boolean overrideIfExists) at Umbraco.Core.IO.PhysicalFileSystem.AddFile(String path, Stream stream) at Umbraco.Core.IO.FileSystemWrapper.AddFile(String path, Stream stream) at Umbraco.Forms.Core.Data.BaseFileSystemStorage`1.SaveToSpecificPath(T item, String id, String path) at Umbraco.Forms.Data.Storage.FormStorage.UpdateForm(Form form, String directory) at Umbraco.Forms.Data.Storage.WorkflowStorage.InsertWorkflow(Form form, Workflow workflow) at Umbraco.Forms.Migration.MigrationService.Migrate(String connString) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\MigrationService.cs:line 134 at Umbraco.Forms.Migration.ContourToForms.Button1_Click(Object sender, EventArgs e) in c:\Users\timgeyssens\Documents\Visual Studio 2013\Projects\Umbraco.Forms.Migration\Umbraco.Forms.Migration\ContourToForms.ascx.cs:line 23

    Thanks, Monali

  • Søren Kottal 410 posts 2504 karma points MVP c-trib
    Mar 29, 2017 @ 07:53
    Søren Kottal
    100

    Hi Monali

    I must have fixed it in some way - unfortunately I don't remember how (remember to document what you do to fix unknown problems :)).

    I think I completely deleted the old Forms version, and then installed the new. But not sure...

  • Pedro Fonseca 2 posts 71 karma points
    Apr 27, 2017 @ 15:33
    Pedro Fonseca
    0

    Monali, have you found a solution for this?

    Thank you

  • Chris Mahoney 161 posts 299 karma points
    1 week ago
    Chris Mahoney
    0

    I'm afraid I'm getting the same problem. I've upgraded an old Umbraco 6.2.5/Contour 3.0.17 site to Umbraco 7.5.14 and have removed Contour and installed Forms 4.4.6.

    However, when I do the migration, I get the same error about not being able to access App_Plugins\UmbracoForms\Data. I've tried the sledgehammer approach and have given "Everyone" full control to that folder but it still fails with the same error.

    Any ideas?

Please Sign in or register to post replies

Write your reply to:

Draft