[Mono-list] ASP.NET 2.0, apache2 and mod-mono-server2.exe
Fredrik Elestedt
fredrik at elestedt.com
Sat Nov 26 12:03:08 EST 2005
Christopher Bergström wrote:
> On Wed, 2005-11-23 at 23:10 +0100, Fredrik Elestedt wrote:
>
>>
>>
>>> and finally the error log:
>>> Unhandled Exception: System.Web.Compilation.ParseException: Unknown
>>> attribute: Master
>>> in <0x0003c> System.Web.UI.BaseParser:ThrowParseException (System.String
>>> message)
>>>
>>
>>
>> Make sure that mod-mono-server2.exe is the one running. Also try to run
>> your application from the command line using xsp2 to verify that it
>> works.
>>
>>
>>
> Try this inside your vhosts or appropriate section..
>
> MonoApplications "/:/your/site"
> MonoDocumentRootDir "/your/site"
> MonoPath "/usr/lib/mono"
> MonoExecutablePath "/usr/bin/mono"
> MonoServerPath "/usr/lib/xsp/2.0/mod-mono-server2.exe"
>
>
> I'm not going to post the errors I get on my pages, but if it's a webapp
> I suspect you can tell by looking at lines 1-8 if it 2.0. Someone
> correct me if I'm wrong..
>
> Line 1: //
> ------------------------------------------------------------------------------
>
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Mono Runtime Version: 2.0.50727.42
> Line 5: // Line 6: // Changes to this file may cause incorrect
> behavior and will be lost if Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
>
> C.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
Thanks - got it working with a simple homepage.
But when I try a more complex i get:
Unhandled Exception: System.Web.Compilation.CompilationException:
Exception of type System.Web.Compilation.CompilationException was thrown.
in <0x000db> System.Web.Compilation.BaseCompiler:CheckCompilerErrors
(System.CodeDom.Compiler.CompilerResults results)
Any ideas? Recompiling doesn't help and there are no complilation errors
- only a couple of warnings about variables not being used.
// Fredrik
More information about the Mono-list
mailing list