Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 29069 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 10748 [details]
Testproject VB and C#
since I have a Debian server version 2.10.2 of mono to mono version 3.10.0 updated, I get the following error message when calling all (* .asmx) files. When you upgrade to version 3.12.1 I get the same error message (see screenshot "VBCompileError").
The update was performed directly on checkout, compile and install from the Mono Git repository.
Meanwhile, I was able to bring it to the point that the error message only appears when a Global.asax file with Visual Basic codebehind is in the application directory. Located the same Global.asax file with C# codebehind in the application directory, function all (* .asmx) files again (see screenshot "CSharpWorks"). Even if the (* .asmx) files with Visual Basic were implemented. If you delete the Visual Basic code behind Global.asax file from the application directory, everything works again.
It seems right at the Global.asax processing in conjunction with Visual Basic to be a problem!
To adjust the problem, I still have a sample project for Visual Basic and C# created (see WebserviceMonoTestProject.zip).
System.Web.Compilation.CompilationException : Unhandled Exception:
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Details: : Unhandled Exception:
Error origin: Compiler
Error source file: ~/DefaultWsdlHelpGenerator.aspx
Exception stack trace:
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00365] in /opt/monobuild/mono/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:853
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00000] in /opt/monobuild/mono/mcs/class/System.Web/System.Web.Compilation/AssemblyBuilder.cs:731
at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00264] in /opt/monobuild/mono/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:838
at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, Boolean debug) [0x0011c] in /opt/monobuild/mono/mcs/class/System.Web/System.Web.Compilation/BuildManager.cs:461
2.10.2 => works fine
3.10.0 => error
3.12.1 => same error
Mono-Basic version: 3.8
Mod-Mono version: 3.8
Operating system: Debian GNU/Linux 7.8 (wheezy)
Thanks for the help in advance
Created attachment 10749 [details]
VB compile error message picture
Created attachment 10750 [details]
C# works picture