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

Thempra thempra at ieee.org
Fri Apr 13 11:56:08 EDT 2007


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

  ------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070413/388e15b9/attachment.html 


More information about the Mono-list mailing list