This project is read-only.

Nested BlogEngine.NET

Feb 28, 2014 at 2:09 PM

I'm trying to accomplish a fairly simple task of "nesting" my blog into my existing ASP.NET MVC website. I have a fairly simple structure setup on my local IIS and the blog seems to work fine, but when I go to any 'admin' section, I receive an error.

http://localhost/CorpSite - MVC application running under .NET 4.0 App Pool

Added an Application in IIS under /CorpSite to point to a directory called Blog and set that to run as a .NET 4.0 App Pool

When I visit http://localhost/CorpSite/Blog I'm able to see the blog just fine. I can even log into the admin area but once I click Content or Blog I get the following error:

HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.

Is this possible or am I just missing some simple configuration?

Detailed Error Information:
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x00000000
Requested URL http://localhost:80/CorpSite/Blog/admin/ Physical Path C:\inetpub\wwwroot\Blog\admin\ Logon Method BlogEngine.NET Custom Identity
Logon User admin
Feb 28, 2014 at 4:17 PM
I would suggest testing stand alone version before diving into nesting. Latest BE requires .net 4.5, but confusingly it usually .net 4.0 runtime in IIS with 4.5 in app pool, so that can be an issue.
Feb 28, 2014 at 4:19 PM
I've tried both .NET 4.0 and 4.5 App Pools. Also, this application works just fine standalone.

When I go to "http://localhost/Blog" I can access all the features successfully.