+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity 3.2 Beta

Sitefinity 3.2 Beta

14 posts, 0 answered
  1. Luc Baeten
    Luc Baeten avatar
    169 posts
    Registered:
    23 Sep 2005
    15 Feb 2008
    Link to this post
    Hello

    I installed the new beta version 3.2 of Sitefinity. First impressions:

    Installation is faster
    Creation of a new project is much faster
    Image & document library works great. That was the module I was very interested in.

    First problems I encountered:
    • - when adding an image from a image library from within RadEditor is not possible because the windows are not visible completely (there is no scrollbar so you are not able to select the 'I'm done' button)
    • - newsletter module is not visible yet
    • - I don't see any difference in the RadControls, Prometheus is not visible?!

    I will go one with testing this new version and will let you know my experiences

    regards
    Luc

  2. WebGeek
    WebGeek avatar
    186 posts
    Registered:
    20 Dec 2006
    15 Feb 2008
    Link to this post
    IIS Restart
    For everything to work for me, I had to restart IIS.

    Integration with Active Directory
    I was able to integrate it with Active Directory and it no longer pulls in all of my Active Directory users (5000), just the ones in the groups that I specify.  The only down side is that the login process is taking up to 2.5 minutes now.  Before it was just around 30 seconds.
  3. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    15 Feb 2008
    Link to this post
    Hello Luc Baeten,

    Thanks for your feedback.
    As fo the problems you reported, here is some information I hope you find useful:

    • This is true for the Generic Content control only. If you do the same in some of the modules, the problem does not exist
    • We removed this module at the last moment. Unfortunately, we omitted to update the What's new list in our forum announcement. Please excuse us for the inconvenience.
    • Refer to our reply to Tim's comments in the forum announcement.


      All the best,
      Rebecca
      the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. Luc Baeten
    Luc Baeten avatar
    169 posts
    Registered:
    23 Sep 2005
    15 Feb 2008
    Link to this post
    Hello rebecca

    Thanks for your information. I looked at the forum post of Tim:
    I restarted my computer to see if now the Prometheus controls are visisble. But still I don't see any difference. What must I do to work with the new RadEditor control?

    I will try to install the new version on a clean computer to see if that will help to see the new controls.

    regards
    Luc
  5. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    18 Feb 2008
    Link to this post
    Hello Luc Baeten,

    Following is the description of differences between the two generations of RadControls:

    •  “Prometheus” controls use a single assembly and shared scripts, whereas each control in RadControls for ASP.NET has its own assembly, scripts, resource file, etc. Theses shared resources and the simplified single assembly approach should make the controls easier to work with. The single assembly is Telerik.Web.UI.
    • RadControls “Prometheus” builds on top of ASP.NET AJAX and the client-side model of the controls is based on the framework, whereas RadControls for ASP.NET uses a custom implementation
    • “Prometheus” controls require ASP.NET AJAX in an application whereas RadControls for ASP.NET work independently of Microsoft’s framework.
    Other than the above-mentioned characteristics, there is no difference you should look for in the Prometheus controls. This also includes the visual appearance of the controls; you would find no visible difference.

    As stated in the forum post you have read, you can have both types of RadControls in the tolbox. You could find more information about that in the following Developers Manual Topic.

    All the best,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Yasen
    Yasen avatar
    121 posts
    Registered:
    18 May 2013
    19 Feb 2008
    Link to this post
    Hello James,

    When logging in, two methods could cause performance issues: GetAllUsers() from the ActiveDirectoryMembershipProvider class and GetRolesForUser() from the role provider. If the delay appears only on the dashboard, but not later when navigating through the administration, probably the GetAllUsers method is causing troubles. The reason is that paging is not applied, so all users are taken, not only 5 or 10. We are planning performance improvements on this for the release.

    If, however, the problem is on request for every administration page, the delay should come from the GetRolesForUser method. You could override it if you please in older to use a faster implementation. If you are interested, please open a support thread so we could provide you with some sample code for testing.

    In both cases it is strange that after reducing your users to a smaller container (not the whole DC) Sitefinity works slower.

    If you have any other questions, feel free to ask again, more information about the new AD role provider is available in the Developers Manual.

    Kind regards,
    Yasen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Randy
    Randy avatar
    19 posts
    Registered:
    13 Nov 2007
    27 Jan 2009
    Link to this post
    Has the GetAllUsers() issue been resolved?  We are using Sitefinity 3.5 and have 20,000 + users in AD.  We had to create our own provider and just to override this method.   Seems like some we should't have to do. 
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    28 Jan 2009
    Link to this post
    Hello Randy,

    This wasn't fixed in 3.5. In 3.5SP1 we have implemented some optimizations in the AD provider though.

    Kind regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. WebGeek
    WebGeek avatar
    186 posts
    Registered:
    20 Dec 2006
    28 Jan 2009
    Link to this post
    Randy,
    I just dropped the project after working on it for about two weeks.  Can you provide me some guidance on how you implemented your own provider?
  10. Jeff
    Jeff avatar
    27 posts
    Registered:
    18 Jun 2008
    28 Jan 2009
    Link to this post

    The provider itself wasn't hard to implement since thankfully your class wasn't sealed.

     

     

    public class InternalMembershipProvider : TelerikADMembershipProvider {

     

     

    public InternalMembershipProvider() {

     

    }

     

    public override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords) {

     

    totalRecords = 0;

     

    return new MembershipUserCollection();

     

    }

    }

    This took care of the issues we were having with the Sitefinity dashboard trying to retrieve the entire list of active directory users. Since we have no intention of administering the users from within Sitefinity it doesn't matter to us if we can see them at all in the users section of the admin.

    However, we also ran into another problem with the TelerikADRoleProvider later this afternoon after I took care of the membership provider. I had to reflect the Telerik.Security assembly to find where the problem was at. When the 2nd search happens (in the TelerikADRoleProvider.GetRolesForUser(string) method) the result is looking for the "samAccountName" in the properties, and it isn't verifying that the property does in-fact exist. Some of our other groups hook into older domains that do not contain that value when queried. When executing we kept getting an index out of range exception.

    That one should be an easy patch to take care of, just need to have it check if the result contains the key before attempting to use it.

  11. Randy
    Randy avatar
    19 posts
    Registered:
    13 Nov 2007
    28 Jan 2009
    Link to this post
    Jeff, can you give medicalwebgeek end to end instructions on how he could implement this in his site?
  12. Jeff
    Jeff avatar
    27 posts
    Registered:
    18 Jun 2008
    28 Jan 2009
    Link to this post
    1) Add a new file into your App_Code folder called InternalADMembershipProvider.cs
    2) Copy this code into that file:


    using System;
    using System.Web.Security;
    using Telerik.Security;

    public class MyADMembershipProvider : TelerikADMembershipProvider {
        public MyADMembershipProvider() {
        }

        public
    override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords) {
            totalRecords = 0;
            return new MembershipUserCollection

    ();
        }
    }

    3) Open your Web.config file in the Sitefinity project (not the one under the Sitefinity folder) and find the membership section.
    4) Change the type for the Sitefinity provider listed to:
        type="MyADMembershipProvider, App_Code"

    Keep in mind that if you are using web deployment projects and you are creating a single output assembly you will need to change App_Code (shown in step 4) to whatever assembly name you have chosen for yourself. Otherwise you will run into compilation errors that it cannot find the assembly specified in your config file.

  13. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    29 Jan 2009
    Link to this post
    Hi Jeff,

    Thank you very much for providing your solution. We have updated your account for that.
    Kind regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  14. WebGeek
    WebGeek avatar
    186 posts
    Registered:
    20 Dec 2006
    29 Jan 2009
    Link to this post
    Yes - thank you very much. 
Register for webinar
14 posts, 0 answered