[Mono-list] Error in ASP.NET with XSP2

Frederik Carlier frederik.carlier at carlier-online.be
Fri Apr 13 13:59:53 EDT 2007


Is this, by any chance, a website written in VB.NET? If so, support for
VB.NET in ASP.NET web applications in Mono isn't fully complete yet
(there remain some quirks in the compiler and CodeDOM to be worked out).

Frederik.

Thempra schreef:
> Hi,
>
>   I'm try to port an application ASP.NET <http://ASP.NET> of Visual
> Studio 2005 to mono, but when I run it, I get an error, ths directory
> is created, but the assemblies is not here. Where is the problem???
>
> Thanks.
> Thempra
>
>
>   Server error in '/' application
>
> ------------------------------------------------------------------------
> *Description: *Error processing request.
>
> *Error Message: *HTTP 500.
>
> *Stack Trace: *
> ||
> System.BadImageFormatException: Could not load file or assembly '/tmp/root-temp-aspnet-0/95ad3c42/App_Code.40f9d8e5.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
>
> File name: '/tmp/root-temp-aspnet-0/95ad3c42/App_Code.40f9d8e5.dll'
>   at <0x00000> <unknown method>
>   at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
>   at 
> System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] 
>   at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
>
>   at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
>   at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile
>  (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
>   at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.String virtualPath, System.CodeDom.Compiler.CompilerParameters
>  options) [0x00000] 
>   at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.CodeDom.Compiler.CompilerParameters options) [0x00000] 
>   at System.Web.Compilation.AppCodeAssembly.Build (System.String[] binAssemblies) [0x00000] 
>
>   at System.Web.Compilation.AppCodeCompiler.Compile () [0x00000] 
>   at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000] 
>   at System.Web.HttpApplicationFactory.GetApplication
>  (System.Web.HttpContext context) [0x00000] 
>   at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x00000] 
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>   



More information about the Mono-list mailing list