[Mono-list] Compiler failed to produce the assembly. Output: ''
Andrus Moor
kobruleht2 at hot.ee
Tue Jun 16 13:38:01 EDT 2009
I'm compiling C# code dynamically in asmx web service.
Sometimes compiling stops working.
After that even service start page
http://mysite.com/demo/StockService.asmx
returns error
Compiler failed to produce the assembly. Output: ''
Restarting everything in mono control panel does not help.
After some time compiling continues to work automagically.
How to find the cause of this issue ?
How to force service to continue to work immediately after this error?
Andrus.
Output from http://mysite.com/demo/StockService.asmx is:
Server Error in '/demo' Application
--------------------------------------------------------------------------------
Compiler failed to produce the assembly. Output: ''
Description: HTTP 500. Error processing request.
Stack Trace:
System.Exception: Compiler failed to produce the assembly. Output: ''
at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch
(System.CodeDom.Compiler.CompilerParameters options, System.String[]
fileNames) [0x0033e] in
/root/src/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs:308
at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters options, System.String[]
fileNames) [0x00011] in
/root/src/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs:156
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile
(System.CodeDom.Compiler.CompilerParameters options, System.String[]
fileNames) [0x00014] in
/root/src/mcs/class/System/System.CodeDom.Compiler/CodeDomProvider.cs:119
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath,
System.CodeDom.Compiler.CompilerParameters options) [0x001db] in
/root/src/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:794
at System.Web.Compilation.AssemblyBuilder.BuildAssembly
(System.Web.VirtualPath virtualPath) [0x00000] in
/root/src/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:730
at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp,
Boolean debug) [0x0023a] in
/root/src/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:583
at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath
vp, Boolean debug) [0x0011c] in
/root/src/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:380
at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp)
[0x0004e] in
/root/src/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:326
at System.Web.Compilation.BuildManager.GetCompiledType (System.String
virtualPath) [0x00041] in
/root/src/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:749
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.String virtualPath, System.Type requiredBaseType) [0x0000c] in
/root/src/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:464
at System.Web.Services.Protocols.SoapDocumentationHandler..ctor
(System.Type type, System.Web.HttpContext context) [0x001bd] in
/root/src/mcs/class/System.Web.Services/System.Web.Services.Protocols/SoapDocumentationHandler.cs:116
at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String verb, System.String url,
System.String filePath) [0x00146] in
/root/src/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebServiceHandlerFactory.cs:164
at System.Web.Script.Services.ScriptHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType, System.String
url, System.String pathTranslated) [0x000a1] in
/root/src/mcs/class/System.Web.Extensions/System.Web.Script.Services/ScriptHandlerFactory.cs:63
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00055] in
/root/src/mcs/class/System.Web/System.Web/HttpApplication.cs:1641
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] in
/root/src/mcs/class/System.Web/System.Web/HttpApplication.cs:1622
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x0075f]
in /root/src/mcs/class/System.Web/System.Web/HttpApplication.cs:1256
--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433
Environment: Debian, Mono 2.4, mod_mono
More information about the Mono-list
mailing list