Problems with fresh installation (BE2.7) - Runtime Error

Topics: ASP.NET 2.0
Apr 16, 2013 at 3:05 AM
Edited Apr 17, 2013 at 4:12 AM
Hi guys,
I am new to BE and installed it (BlogEngine.NET 2.7 (web)) recently. After installation I get the error:

_Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine._
Apr 16, 2013 at 4:25 PM
You can Temporarily change your web.config to the setting below that will allow you to see what the real error is.
<customErrors mode="Off" defaultRedirect="~/error.aspx" redirectMode="ResponseRewrite">
  <error statusCode="404" redirect="~/error404.aspx"/>
Setting the mode to "Off" is what allows the real error to come through.
Apr 17, 2013 at 2:22 AM
Ok. The error is:

_Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS._