integrating blogengine to existing site

Topics: ASP.NET 2.0
Jan 23, 2008 at 9:02 PM
Edited Jan 23, 2008 at 9:41 PM
Is it possible to install blogengine into a subfolder of an existing site? this site has its own membership provider using sql server, and I've been able to mockup the theme of be to match, but when a user is logged into the main site, and goes from say site.com/account to site.com/blogengine, they are no longer logged in. I know this is probably because of it being a separate virtual directory, but is there any way to make them integrate together?
Jan 23, 2008 at 9:44 PM
Hi, would this thread be useful to you as well? Here's a snippet:

Option 1: Remove the conflicting module(s) in the BlogEngine web.config:
<httpModules>
   ...
   <remove name="ConflictingModuleInYourParentApp"/>
   ...
</httpModules>
If you're sure that none of your subfolders / child applications depend on your root web.config, then you might consider this alternative:

Option 2: Block inheritance of (and in) root web.config:
<location path="." inheritInChildApplications="false">
   <system.web>
   ...
   </system.web>
</location>

Jan 23, 2008 at 9:47 PM
Hmm, just noticed you updated the title and post - hope my earlier snippet is still applicable.
Jan 23, 2008 at 9:57 PM
lol yeah i'm sorry I figured no one had read it yet, but yes actually this is pretty much what I did, many many thanks!! any ideas on my new problem?
Jan 24, 2008 at 12:28 AM
lol, busted ;-) - but on a more serious note, I'm not familiar with SQL Membership providers -at all-
Perhaps http://www.nyveldt.com/blog/post/BlogEngineNET-Screencast-SQL-Membership-and-Roles-Providers.aspx might help you?

Else: Anyone can help SelArom with his (updated ;-) question?