London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Problem with FolderBrowserProperty from meridium

Vote:
 

I get the following error when trying to list the pages of my VPP using Meridiums FolderBrowserProperty:

System.Web.CachedPathData.GetConfigPathData(String configPath) +459 System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +132 System.Web.Configuration.RuntimeConfig.GetConfig(VirtualPath path) +110 System.Web.Security.UrlAuthorizationModule.CheckUrlAccessForPrincipal(String virtualPath, IPrincipal user, String verb) +477 EPiServer.Security.PrincipalInfo.HasPathAccess(String path) +88 EPiServer.Web.Hosting.VersioningDirectory.getDirectories() +229 EPiServer.Web.Hosting.VersioningDirectory.GetDirectories() +35 EPiServer.Web.WebControls.FileSystemItem.getChildren() +92 EPiServer.Web.WebControls.FileSystemItem.get_HasChildren() +5 System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) +3652 System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) +3752 System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) +3752 System.Web.UI.WebControls.TreeView.DataBindNode(TreeNode node) +347 System.Web.UI.WebControls.TreeView.PerformDataBinding() +305 System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +82 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70 System.Web.UI.WebControls.TreeView.DataBind() +4 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82 System.Web.UI.WebControls.TreeView.OnPreRender(EventArgs e) +43 System.Web.UI.Control.PreRenderRecursiveInternal() +86 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Control.PreRenderRecursiveInternal() +170 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

 

It seems to be a access problem, but we have pretty much checked everything...

More information about the property can be found here: 

https://www.coderesort.com/p/epicode/wiki/FolderBrowserProperty 

 

Any help would be very much appreciated

#33469
Oct 14, 2009 10:31
Vote:
 

Hi,

what is the acual exception thrown?

/johan

#33471
Oct 14, 2009 10:42
Vote:
 

Server Error in '\' Application.

Unhandled Execution Error

Exception Details: System.Web.HttpException

[HttpException (0x80004005)

<stacktrace here>

#33475
Oct 14, 2009 11:01
Vote:
 

Problem was solved.

http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=34458&epslanguage=en

Something with the directory names on a certain page was somehow producing this error. None of the directory names contained a "." though, but deleting the directories and creating them with the same names did somehow solve the problem...

#34792
Nov 16, 2009 16:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.