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

Rolf Bjarne Kvinge rolflists at ya.com
Mon Apr 16 15:24:07 EDT 2007



>From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Thempra
>Sent: viernes, 13 de abril de 2007 17:56
>To: mono-list at lists.ximian.com
>Subject: [Mono-list] Error in ASP.NET with XSP2
>
>Hi,
>
>  I'm try to port an application ASP.NET of Visual Studio 2005 to mono, but
when I run it, I get an error, the directory is created, but the assemblies
is not here. Where is the problem??? 

This should be fixed now, you can use SVN HEAD to try it out until the next
version is released.

Rolf

>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] 
________________________________________




More information about the Mono-list mailing list