More in this section

Forums / Developing with Sitefinity / Virtual Directory Error

Virtual Directory Error

4 posts, 0 answered
  1. Juan Sola
    Juan Sola avatar
    28 posts
    Registered:
    08 Jan 2007
    09 Mar 2012
    Link to this post
    We have implemented a virtual directory under our Sitefinity site which will host a protected member area. We want to share the Forms Authentication between both Sitefinity and the Virtual Directory so we have implemented single sign-on between the 2 .net applications.

    We are running into an issue where after we login through Sitefinity and access the virtual directory Sitefinity is redirecting us to a Licensing page and we have no idea why...

    http://ourcustomurl/private/Sitefinity/Licensing?ReturnUrl=%2fprivate%2flogin.aspx%3fReturnUrl%3d%252fmembercenter%252f

    Any help would be great! Thanks
  2. Juan Sola
    Juan Sola avatar
    28 posts
    Registered:
    08 Jan 2007
    09 Mar 2012
    Link to this post
    Still no luck, we have messed with it all day. Sitefinity is redirecting the Virtual Directory somehow and can't figure it out.

    We have added

    void Application_Start(object sender, EventArgs e)
        {
            // Code that runs on application startup
            Telerik.Sitefinity.Abstractions.Bootstrapper.Initialized += new EventHandler<Telerik.Sitefinity.Data.ExecutedEventArgs>(Bootstrapper_Initialized);
        }
     
        void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs e)
        {
            // used to ignore the member center on dev and prod
            System.Web.Routing.RouteTable.Routes.Ignore("membercenter");
        }

    With no luck.

    Any help would be awesome!
  3. Juan Sola
    Juan Sola avatar
    28 posts
    Registered:
    08 Jan 2007
    12 Mar 2012
    Link to this post
    Bump.

    Need help with this very soon.
  4. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    24 Sep 2012
    14 Mar 2012
    Link to this post
    Hello Juan,

     Is the site under your virtual directory a Sitefinity website? If it is not, then it won't be possible to use the single sign-on as it supports only Sitefinity websites. Also, mind that for any applications in virtual directories, the Sitefinity web.config would be inherited, so if you want to run the independently, you will have to clear all the inherited settings in the child web.config.

    Greetings,
    Svetoslav Petsov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered