Copied to clipboard

Flag this post as spam?

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


  • Chris Houston 530 posts 957 karma points admin c-trib
    Jan 18, 2011 @ 21:27
    Chris Houston
    0

    Using uComponents on 4.6.1 is causing an error, any ideas?

    Hi All,

    We have had uComponents installed and working on a 4.5.2 solution which we have just upgraded to 4.6.1

    The majority of the solution has upgraded perfectly and known bugs are gone, but, an error is now occuring in the content section with a uComponent data type we are getting the following:

    [UnauthorizedAccessException: Access to the path 'C:\inetpub\OurClientSiteName\packages\uComponents' is denied.]
    System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9726046
    System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj) +9497018
    System.IO.DirectoryInfo.Create() +15
    uComponents.Core.Shared.Settings.get_BaseDir() +61
    uComponents.Core.Shared.Tree.CustomTreeControl..cctor() +65

    [TypeInitializationException: The type initializer for 'uComponents.Core.Shared.Tree.CustomTreeControl' threw an exception.]
    uComponents.Core.Shared.Tree.CustomTreeControl..ctor() +0
    uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.CreateChildControls() +40
    System.Web.UI.Control.EnsureChildControls() +102
    uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.OnInit(EventArgs e) +22
    System.Web.UI.Control.InitRecursive(Control namingContainer) +140
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
    System.Web.UI.ControlCollection.Add(Control child) +79
    umbraco.cms.businesslogic.datatype.AbstractDataEditorControl.OnInit(EventArgs e) +117
    System.Web.UI.Control.InitRecursive(Control namingContainer) +140
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
    System.Web.UI.ControlCollection.Add(Control child) +79
    umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +3679
    umbraco.controls.ContentControl.CreateChildControls() +561
    System.Web.UI.Control.EnsureChildControls() +102
    umbraco.controls.ContentControl.OnInit(EventArgs e) +32
    System.Web.UI.Control.InitRecursive(Control namingContainer) +140
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
    System.Web.UI.ControlCollection.Add(Control child) +79
    umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1253
    System.Web.UI.Control.InitRecursive(Control namingContainer) +140
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480

    I have checked the permissions of this folder ( it didn't exist.. so I created it in case it needed it ) I have tried giving Everyone full permissions and still I receive this error, does anyone have any ideas?

    Cheers,

    Chris

  • Chris Houston 530 posts 957 karma points admin c-trib
    Jan 18, 2011 @ 22:58
    Chris Houston
    1

    Hi All,

    In case anyone else comes across this issue, it turned out it was a permissions issue.

    Although I had checked the directories were not read only and that network service had permissions for that folder via windows explorer it still was not working. I have just tried checking the same permissions via IIS and miraculously it's started to work.

    Cheers,

    Chris

  • Rob Watkins 337 posts 585 karma points
    Apr 04, 2014 @ 17:59
    Rob Watkins
    0

    I just came across this running a long boring upgrade path to the nest version on a very old site.

    Again, still didn't work after creating the /umbraco/plugins/ucomponents folder and granting the app pool full permissions on it; but after restarting the website in IIS it worked fine.

Please Sign in or register to post replies

Write your reply to:

Draft