Hi All, I try to porting our web application ( aspx file ) to mono using mono-2.11 under centOS 6.2
i got issue while running our application under apache webserver that mcs wont create dll file on /tmp/apache-temp-aspnet-0/ xxxx.... it able to generate cs file but not the assembly file i have tried to debug by run the mcs manually using argument that generated by mcs/class/System/Microsoft.CSharp/CSharpCodeCompile.cs and it works , assembly dll file is successfully generated. here's the error message at client browser <!--[System.Exception]: Compiler failed to produce the assembly. Output: '' at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] in <filename unknown>:0 at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x00000] in <filename unknown>:0 at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 --> and xsp4 will not return this error testing environment - centos 6.2 - mono.2-11 ( i compile it with --prefix=/opt/mono - mod_mono-2.10 - xsp-2.10.2 apache configuration : MonoAutoApplication enabled MonoServerPath default "/opt/mono/bin/mod-mono-server4" MonoPath default "/opt/mono/bin/mono/4.0" MonoApplicationConfigDir default "/opt/mono/lib/mono/4.0" Did i miss something on the configuration ? or anyone can guide me how to debug this issue ? Regards, Anas
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
