RadFileExplorer / Custom FileBrowswerContentProvider / EC2

2 posts, 0 answers
  1. ChrisH
    ChrisH avatar
    1 posts
    Member since:
    Oct 2006

    Posted 20 Sep 2013 Link to this post

    I'm getting an odd situation here. I am using a Custom FileBrowserContentProvider (the DB provider that was given as a sample). Everything works great in development and on our staging servers. But on our EC2 server (Windows 2008 Datacenter sp2), whenever you attempt to browse to the FileExplorer, the CPU shoots up to 100% and stays there. It looks like it is when it is requesting the Dialog aspx page that this is occuring. I have to kill the process in order to recover.

    I can't figure out why this would only happen on that server. We are using the 2012.3.1308.35 build of the controls.

    Has anyone ever heard of this occurring? I can't find any reference to it in my searches.

    This is the factory class we use to get the contentProviderTypeName:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Telerik.Web.UI.Widgets;
    namespace NovusAgenda.Storage.ImageLibrary
        /// <summary>
        /// Used to determine which image library this client is using
        /// </summary>
        public class ImageLibraryFactory
            /// <summary>
            /// Returns the Reflection path to the appropriate provider.
            /// This is meant to be passed to RadEditor.ImageManager.ContentProviderTypeName
            /// </summary>
            /// <returns></returns>
            public static string GetImageLibraryCustomProviderTypeName()
                if (SystemSettings.UseCustomImageHandler)
                    return "NovusAgenda.Storage.ImageLibrary.DatabaseImageLibraryContentProvider, NovusAgenda";
                    //return SystemSettings.CustomImageHandlerStore;
                    return null;
            //public FileBrowserContentProvider GetImageLibraryCustomProvider()
            //    return new Storage.ImageLibrary.DatabaseImageLibraryContentProvider();

  2. Vessy
    Vessy avatar
    2127 posts

    Posted 24 Sep 2013 Link to this post

    Hello Chris,

    I have just answered your support ticket on the subject, for convenience I am pasting my answer here as well:

    I am afraid that the provided information is not enough for us to determine what is causing the issue on your side. I would suggest you to debug the provider, especially the methods called in the initial loading of the control - you can see the order of calling different methods on the provider's common operations in the end of this help article: Using custom FileBrowserContentProvider

    For example, you could try setting breakpoint here:
    this.dataServer = NovusAgenda.GetDatabase();
    or here:
    DirectoryItem directory = dataServer.GetImageLibraryDirectoryItem(path, true);

    Veselina Raykova
    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 the blog feed now.
Back to Top