mono: application not running when web.config in subfolder

Posted by Quandary on Server Fault See other posts from Server Fault or by Quandary
Published on 2010-03-13T20:39:01Z Indexed on 2010/03/13 20:45 UTC
Read the original article Hit count: 743

Filed under:
|
|
|
|

I run asp.net on mono.

I wanted to run blogengine:
http://www.dotnetblogengine.net/

I downloaded, put it in /var/www/blogengine, on the console went to /var/www/blogengine and started xsp2. I went to http://localhost:8080, and it ran without problems.

Then I stopped xsp2, went to /var/www and started xsp2.
I went to http://localhost:8080/blogengine
It ended with a strange error:

The section <blogProvider> can't be defined in this configuration file (the allowed definition context is 'MachineToApplication'). (/var/www/blogengine/Web.Config line 9)



The problem seems to be that it stops working as soon as the xsp2 root folder is anything else than the application root folder...

Do I have to config anything ? Or what else is wrong ?

© Server Fault or respective owner

Related posts about ASP.NET

Related posts about blogengine