Mono 安装Orchard&;单声道

Mono 安装Orchard&;单声道,mono,content-management-system,orchardcms,Mono,Content Management System,Orchardcms,我目前运行的是Ubuntu服务器12.10 我试着安装Orchard和mono。当我尝试启动mono时: MONO_IOMAP=all xsp4 我在CLI中遇到以下错误: Handling exception type ConfigurationErrorsException Message is No factory for host (/home/shto/sites/test/Orchard/Web.config line 13) IsTerminating is set to

我目前运行的是Ubuntu服务器12.10

我试着安装Orchard和mono。当我尝试启动mono时:

MONO_IOMAP=all xsp4
我在CLI中遇到以下错误:

    Handling exception type ConfigurationErrorsException
Message is No factory for host (/home/shto/sites/test/Orchard/Web.config line 13)
IsTerminating is set to True
System.Configuration.ConfigurationErrorsException: No factory for host (/home/shto/sites/test/Orchard/Web.config line 13)

Server stack trace: 
  at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadRemoveSection (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlReader reader) [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 

Exception rethrown at [0]: 

  at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
  at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
  at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet) [0x00000] in <filename unknown>:0 
  at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0 
处理异常类型配置错误异常
消息不是主机的工厂(/home/shto/sites/test/Orchard/Web.config第13行)
IsTerminating设置为True
System.Configuration.ConfigurationErrorsException:主机没有工厂(/home/shto/sites/test/Orchard/Web.config第13行)
服务器堆栈跟踪:
在System.Configuration.ConfigInfo.ThroweException(System.String text,System.Xml.XmlReader reader)[0x00000]中:0
在:0中的System.Configuration.SectionGroupInfo.ReadRemoveSection(System.Xml.XmlReader reader)[0x00000]处
在:0中的System.Configuration.SectionGroupInfo.ReadConfig(System.Configuration.Configuration cfg,System.String streamName,System.Xml.XmlReader reader)[0x00000]处
在:0中的System.Configuration.SectionGroupInfo.ReadConfig(System.Configuration.Configuration cfg,System.String streamName,System.Xml.XmlReader reader)[0x00000]处
在:0中的System.Configuration.Configuration.ReadConfigFile(System.Xml.XmlReader,System.String文件名)[0x00000]处
在0中的System.Configuration.Configuration.Load()[0x00000]处
在System.Configuration.Configuration.Init(IConfigSystem系统、System.String配置路径、System.Configuration.Configuration父级)[0x00000]中:0
在:0中的System.Configuration.Configuration..ctor(System.Configuration.InternalConfigurationSystem系统,System.String位置子路径)[0x00000]处
在:0中的System.Configuration.InternalConfigurationFactory.Create(System.Type typeConfigHost,System.Object[]hostInitConfigurationParams)[0x00000]处
在System.Web.Configuration.WebConfiguration Manager.OpenWebConfiguration(System.String路径、System.String站点、System.String位置子路径、System.String服务器、System.String用户名、System.String密码、布尔fweb)[0x00000]中:0
在[0]处重试异常:
at(包装器xdomain invoke)System.AppDomain:DoCallBack(System.CrossAppDomainDelegate)
at(带检查的包装器远程调用)System.AppDomain:DoCallBack(System.CrossAppDomainDelegate)
位于:0中的System.Web.Hosting.ApplicationHost.CreateApplicationHost(System.Type hostType、System.String virtualDir、System.String physicalDir)[0x00000]
位于:0中的Mono.WebServer.vpathtoost.CreateHost(Mono.WebServer.ApplicationServer服务器,Mono.WebServer.WebSource WebSource)[0x00000]
在Mono.WebServer.XSP.Server.RealMain(System.String[]args,布尔根,iaapplicationhost ext_apphost,布尔安静)[0x00000]中:0
在:0中的Mono.WebServer.XSP.Server.Main(System.String[]args)[0x00000]处

安装mono时,我使用了命令:
apt get install mono complete

Orchard当前未在mono中运行

“为了让Orchard正常工作,您需要上面提到的Mono版本之一和应用于Orchard源的几个补丁。通用Mono更改-引入对Mono调试信息文件(.mdb)的支持,并更改顶级Web.config以使其与Mono兼容。PostgreSQL支持-介绍了对PostgreSQL的支持,并不特定于Mono。“来源-我的观点是Orchard可以在Mono上工作/运行。请参阅此处的另一个示例(日期为2013年3月17日):。我的最终目标是让最后一个版本的Orchard在linux上运行。如果你知道其他方法,请告诉:)。原则上,是的,它可以,但实际上,我们需要一个对Mono足够了解并有足够动力使其工作的所有者。今天,它没有。我从来没有说过它不能。我们都希望它。如果你想成为那个人n、 这太棒了。我的印象是,你只是希望它能够开箱即用,因此我给出了答案。恐怕我帮不了你克服这个错误。看起来它在web.config中,在与Razor相关的行中中断了。我会从一个较小的测试应用程序开始,逐个尝试每个配置行。