[Mono-list] mono mkbundle + xsp2.exe problem

XU, Jiangyan me at jxu.me
Fri Dec 17 10:58:45 EST 2010


Thanks, Robert.

I copied xsp2.exe to "--root" and the program was able to run.

By "deploying gmcs and dependencies" did you mean deploying them not as part
of the bundle?
I bundled gmcs.exe (and --deps) with my program but it cannot compile the
pages.

Exception:
===
System.ApplicationException: Error compiling application file
({webroot}/Global.asax).
at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext
context) [0x00000] in <filename unknown>:0
===

Best,
Jiangyan


On Wed, Dec 15, 2010 at 2:35 PM, Robert Jordan <robertj at gmx.net> wrote:

> On 15.12.2010 19:49, XU, Jiangyan wrote:
> > Hi all,
> >
> > I have tried to change $my_web_root to other values and it appears that
> the
> > program always tries to search for "xsp2.exe" under the path specified by
> > "--root".
>
> I don't believe mkbundle is able to fulfill ASP.NET's AppDomain
> requirements. Try to put xsp2.exe, Mono.WebServer2.dll and
> Mono.Security.dll into the bin-directory of the web application
> *and* under the path specified by --root.
>
> Note that if your site isn't pre-compiled you won't have much
> fun with it anyways, unless you're deploying gmcs + its
> dependencies as well.
>
> Robert
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20101217/feb3df46/attachment.html 


More information about the Mono-list mailing list