2 posts, 0 answers
  1. Mark Kucera
    Mark Kucera avatar
    84 posts
    Member since:
    Sep 2009

    Posted 05 Mar 2013 Link to this post

    How do i trap this error.  What are my options. 

    RequestString: /Campaign/Controls/Telerik.Web.UI.DialogHandler.aspx?DialogName=ImageManager&UseRSM=true&Skin=Web20&Title=Image+Manager&doid=6634a678-568e-4966-ac3a-b35a54923776&dpptn=

    Server: EWHSERVER1291

    User Identity:


       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

       at System.IO.FileSystemEnumerableIterator`1.MoveNext()

       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

       at System.IO.DirectoryInfo.InternalGetDirectories(String searchPattern, SearchOption searchOption)

       at Telerik.Web.UI.Widgets.FileSystemContentProvider.DirectoryLister.GetDirectories(DirectoryInfo directory, String parentPath)

       at Telerik.Web.UI.Widgets.FileSystemContentProvider.DirectoryLister.GetDirectory(DirectoryInfo dir, String virtualName, String location, String fullPath, String tag)

       at Telerik.Web.UI.Widgets.FileSystemContentProvider.ResolveRootDirectoryAsTree(String path)

       at Telerik.Web.UI.RadFileExplorer.HasSubFolders(String virtualPath)

       at Telerik.Web.UI.RadFileExplorer.PopulateTreeNode(RadTreeNode currNode)

       at Telerik.Web.UI.RadFileExplorer.BindExplorer()

       at Telerik.Web.UI.RadFileExplorer.OnLoad(EventArgs e)

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Control.LoadRecursive()

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    This happens when a specific user clicks the image manager icon in the RadEditor.  It doesn't happen all the time, but it seems like it happens about once a day.  The entire call stack is isolated in code that i don't really have access to.  Are there any options for handling this?  I really don't believe the issue is that the path isn't found.  are there other reasons this error could be thrown?  Could it have to do with the number of items that are being requested?  it looks like there is a loop here in the call stack, but it's not possible to know if this error occured the first time through the loop or somewhere in the middle.  The image library for this account has a few sub-folders and almost 475 image files of various sizes.   Is it possible if we were able to cut down on the number of items in this folder (at least in the root) that this problem would go away?  I don't seem to have this issue with any other users, and i have 700+ active users who connect to upwards of 4000 different image library locations with no problems.

    Looking for help or suggestions here.  When this happens the image manager popup crashes and shows our generic error page on our site.  it sends us an email with the call stack and the relevant request / form /session variables.  We are using version 2012.2.912.40, but this problems seems like it's been happening for a while now for a few older versions. 

    One recent change that we did make was to change the security setting in IE to disable enhanced security configuration.  This actually did clear up a number of errors were were experiencing at random, even though the errors were happening in IIS.  one of the things that the enhanced security apparantly controls is access to UNC paths and shares and this setting seemed to have an impact on IIS.  I was hoping that it would also fix this error, but so far we're still seeing it about once a day.

    The image manager folder is a virtual directory in IIS7, that Virtual Directory is mapped to a custom folder on a NAS.  We have thousands of account specifc folders and none seem to be experiencing the issues that this one is.


  2. Rumen
    Rumen avatar
    12788 posts

    Posted 08 Mar 2013 Link to this post


    According to the call stack information there is a problem with the directories, which should be listed in the FileExplorer. There is some problem with the directories of this client and if you provide the whole error message and any additional information, we will get more clear picture and hopefully we will be able to provide a solution.

    You can override the ResolveRootDirectoryAsTree function of the RadEditor's FileSystemContent provider and wrap the base in try and catch clause.

    Best regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Telerik UI for ASP.NET Core is out
Back to Top