In some strange situation when the compiler breaks, the (temporary) dll doesn't get written.
The 404 File not found exception is misleading in that case, since the ASPX file is there. Better it would be a 500 Compilation error.


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Jorge Bastos
Gesendet: Mittwoch, 21. Dezember 2005 12:16
An: Mono-list@lists.ximian.com
Betreff: [Mono-list] Configuring virtualhost to use vb code

Hi people,
I've been for some weeks trying to use vb style code in a certein virtualhost, so i have in a file "d.aspx" the folowing:
---
<%@ Page Language="vb" %>
<% response.write("hi there its me!") %>
---
 
in the virtualhost i have:
 
MonoApplications demo2 "site.com:/:/home/alojamento/site.com"
MonoServerPath demo2 /usr/local/lib/xsp/2.0/mod-mono-server2.exe
 <Directory /home/alojamento/site.com/>
                MonoSetServerAlias demo2
                SetHandler mono
</Directory>
when i go to the browser, http://site.com/d.aspx, i get what i pasted below.
I think it is using the vb compiler from the information from below but, not working and from what i see from the 404 error seams something about path's, i may have something wrong in the configuration, how can help me?
 
Many thanks,
Jorge Bastos
 
 
 

Server error in '/' application


File not found

Description: Error processing request.

Error Message: HTTP 404. File not found

Stack Trace:

System.IO.FileNotFoundException: /tmp/www-data-temp-aspnet-0/342b47eb/50422.dll : /tmp/www-data-temp-aspnet-0/342b47eb/50422.dll
in <0x00000> <unknown method>
in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String assemblyFile)
in <0x00391> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
in <0x002f5> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea)
in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea)
in <0x0003c> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit e)
in <0x0014e> System.Web.Compilation.CachingCompiler:Compile (System.Web.Compilation.BaseCompiler compiler)
in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType ()
in <0x000fa> System.Web.Compilation.AspGenerator:GetCompiledType ()
in <0x00029> System.Web.UI.PageParser:CompileIntoType ()
in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context)
in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path)
in <0x001e6> System.Web.HttpApplication:GetHandler (System.Web.HttpContext context)
in <0x00b8a> System.Web.HttpApplication+<Pipeline>__1:MoveNext ()

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to