[Mono-devel-list] xsp-0.4 + mono-0.25 on win32?

Pelle Johnsen pelle.johnsen at mail.dk
Mon Jun 30 17:55:35 EDT 2003


Has anyone managed to get the latest released xsp + mono functioning on
win32?

When I try to access the index page I keep getting errors from mcs.exe when
it tries to compile the generated .cs file (stack trace beelow).

As far as I can tell Mono.CSharp.CSharpCodeCompiler puts single quotes (')
around all argument values - this might be a problem on win32?

Another thing I noted is that mcs.exe is run by .NET not mono even though
xsp was started with mono ... weird.


 -Pelle

--------------
mcs.exe trace:

Unhandled Exception: System.NotSupportedException: The given path's format
is no
t supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path,
Boo
lean needFullPath)
   at System.Security.Util.StringExpressionSet.AddExpressions(String[] str,
Bool
ean checkForDuplicates, Boolean needFullPath)
   at
System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionA
ccess access, String[] pathList, Boolean checkForDuplicates, Boolean
needFullPat
h)
   at
System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess
access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.Path.GetFullPath(String path)
   at Mono.CSharp.Location.AddFile(String name)
   at Mono.CSharp.Driver.CompileFiles(String spec, Boolean recurse)
   at Mono.CSharp.Driver.MainDriver(String[] args)
   at Mono.CSharp.Driver.Main(String[] args)

---------------
xsp.exe trace:

System.IO.FileNotFoundException: File
'C:\DOCUME~1\pelle\LOCALS~1\Temp\tmp2cf94b11.dll' not found.in (unmanaged)
06 System.Reflection.Assembly:LoadFrom (string)in <0x00004> 06
System.Reflection.Assembly:LoadFrom (string)in <0x00387> 00
Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters,string[])in <0x0030e> 00
Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[]
)in <0x0005b> 00 Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)i
n <0x0013d> 00 System.Web.Compilation.CachingCompiler:Compile
(System.Web.Compilation.BaseCompiler)in <0x00064> 00
System.Web.Compilation.BaseCompiler:GetCompiledType ()in <0x0013a> 00
System.Web.Compilation.AspGenerator:GetCompiledType ()in <0x00068> 00
System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
(string,System.Web.HttpContext)in <0x00045> 00
System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)in
<0x00031> 00 System.Web.HttpApplicationFactory:InitializeFactory
(System.Web.HttpContext)in <0x000c4> 00
System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)in
<0x00142> 00 System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)




More information about the Mono-devel-list mailing list