Virtual Directory Error

Posted by Community Admin on 04-Aug-2018 17:02

Virtual Directory Error

All Replies

Posted by Community Admin on 09-Mar-2012 00:00

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...

ourcustomurl/.../Licensing

Any help would be great! Thanks

Posted by Community Admin on 09-Mar-2012 00:00

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!

Posted by Community Admin on 12-Mar-2012 00:00

Bump.

Need help with this very soon.

Posted by Community Admin on 14-Mar-2012 00:00

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

This thread is closed