2013-04-04 68 views
0

我目前正在运行Ubuntu Server 12.10。安装Orchard&Mono的问题

我试图安装Orchard以及单声道。当我尝试启动单:

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 

当我安装了单,我用命令:apt-get install mono-complete

回答

0

果园目前不运行单声道。

+0

“为了使Orchard能够正常工作,您需要上面提到的单声道版本以及一些应用到果园资源的补丁。 通用Mono更改 - 引入了对Mono调试信息文件(.mdb)的支持以及更改顶级Web.config使其与Mono兼容 PostgreSQL支持 - 引入了对PostgreSQL的支持,并且不是特定于Mono的。“来源 - http://orchard.codeplex.com/discussions/247340#post849907 – user1868906 2013-04-04 18:38:01

+0

你有什么意见?这篇文章是从2011年。 – 2013-04-04 20:12:35

+0

我的观点是,果园可以在单声道上工作/运行。请参阅此处的另一个示例(日期为2013年3月17日):http://blog.erikd.org/2013/03/17/run-asp-dot-net-mvc4-on-ubuntu-12-dot-10/。我的最终目标是让最后一个版本的Orchard在Linux上运行。如果你知道任何其他方式,请告诉:)。 – user1868906 2013-04-04 21:58:12