Category Archives: banana-pi

Can’t get Mono to work with Apache

I'm trying to display .Net websites with my Home Server using Apache and Mono. I've been trying for a week but always ended up in the folder hierarchy. After trying a little bit I finally got Apache to show atleast this error site:

Application Exception System.Xml.XmlException Document element did not appear. Line 1, position 1.

Description: HTTP 400.Error processing request. Details: Non-web exception. Exception origin (name of application or object): System.Xml. Exception stack trace:

    at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlReader.MoveToContent () [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.Load () [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in <filename unknown>:0 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in <filename unknown>:0 
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password, Boolean fweb) [0x00000] in <filename unknown>:0 

So, what's wrong with my Apache/Mono?

Btw. I'm running the server on Arch Linux on a Banana Pi (Allwinner A20 ARM CPU)