Having 500 Server Error when trying to install BE in a sub directory /blog

May 1, 2013 at 2:13 AM
Hi All,

I have been having a major issue trying to install BE 2.8.0.0 in a sub directory /blog

Have a website.

Http://MainWebSite.com

That website web.config is set to not inherit in child applications.

<location path="." inheritInChildApplications="false">

Goal is to install BE as a virtual application with its own app_pool

Http://MainWebSite.com/blog

When I installed it here I keep getting non specific 500 Server Errors.

Custom Errors is set off.
Elmah is installed
Logger is set to record

Not getting any detail errors in either elmah or logger.

Getting these types of 500 Errors

HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.

Module AspNetInitializationExceptionModule
Notification BeginRequest
Handler StaticFile

Error Code 0x00000000

HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Detailed Error Information
Module AspNetInitializationExceptionModule
Notification BeginRequest
Handler PageHandlerFactory-Integrated-4.0

Error Code 0x00000000

HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Detailed Error Information
Module AspNetInitializationExceptionModule
Notification BeginRequest
Handler ExtensionlessUrlHandler-Integrated-4.0

Error Code 0x00000000

I installed the checker and got all green lights.

It is set as asp.net 4.0

Been trying everything for about 3-4 days and no luck.



Really need help!

:)


Thanks,

Brian Davis
May 2, 2013 at 8:49 PM
Hello out there,

Can any body help me with this :)

Thanks,

Brian Davis
May 2, 2013 at 9:15 PM
Have you created the application in IIS Manager pointing to the directory containing BE?
Coordinator
May 2, 2013 at 9:52 PM
This is tough one, basically I read it as "when installed under another specific app it throws generic error". Not a whole lot of hints for a detective work :) You can probably comment out most of the web.config in the parent app and check if it will make any difference. I would guess that something in parent config conflicts with BE web.config. If so, you could then add it back block at a time eventually finding a line that breaks application.
May 3, 2013 at 12:36 AM
Hi Rtur and Michelemottini,

It must be the web.config of the root site.

I installed BE in a sub directory on a different domain and it worked ok.

Only issue now on sub directory is /admin/elmah.axd

Is throwing a 404 error not found .


Is there anything that has to be changed on a

www.MainSite.Com/blog/admin/elmah.axd

Set up to get it to work?

Now just got to get the author issued fixed :)

I believe it is my custom code that is causing the issue.


Thanks,

Brian Davis
Apr 12, 2015 at 12:04 AM
Hello KB, I was having the same 500 Internal Server Error when attempting to implement BE 3.1 within ASP.NET 4.5 Web Forms Application.

As Rtur suggested there is a web.config conflict between the web.config in the application and the web.config in BE.

Within the root application, I commented out and it worked: <add namespace="Microsoft.AspNet.Identity" />