Hi Juan, This problem I solved. Problem was in fact that I had used old version of mod_mono (it was 1.1.13) with mono 1.1.18. Upgrading mod_mono solved these strange " XML Parsing..." problems. And I have removed code from App_code to seperate assembly.
But currently I have question. How to compile aspx.cs files in root directory, so that on server would not be any .cs files. Problem is in fact that for asp.net 2.0 there is used partial classes and compiler doesn't look up for definitions in aspx files. MS has some tool called aspnet_compile.exe, Is such tool for mono? Thanks, Madars On 11/16/06, Juan Cristóbal Olivares <[EMAIL PROTECTED]> wrote:
When I said xsp, I wanted to say xsp2 :) On 11/16/06, Juan Cristóbal Olivares <[EMAIL PROTECTED]> wrote: > > Hi Madars: > > Even when the support for ASP.NET 2 is not complete, you can run most of > the applications with xsp. > > - You need to compile all the source (.cs) files. I use a Makefile for > my website. > - You should include the dll files in the bin/ directory > - You should include the web.config, global.asax and other application > files in the application root directory > - You can include the .aspx files in any directory within the > application (not bin/) > > The error you sent seems to be generated for the web browser ???? So the > server is printing the aspx source or the aspx form is printing a XML?? > > Juan C. Olivares > www.juancri.com > > On 10/24/06, Madars Vitolins < [EMAIL PROTECTED]> wrote: > > > Hi Sirs, > > > > Is somewhere manual how to do this? I am using VS 2005 for > > building apps. Some time ago I tried to run ASP.NET 1.1 apps and all > > was OK. But with asp.net 2.0 and "App_Code" stuff it seems that it > > doesn't work. > > > > To run ASP.NET 2.0 I need to fully compile all the source in binary > > dll manually? (* aspx.cs files too?). > > And What are file paths should be used? > > ./bin for dll? > > . - for aspx, and other stuff, like web.config.... > > > > Running the uncompiled VS2005 created project with XSP2 I got > > following error: > > > > XML Parsing Error: no *element* found > > Location: http://127.0.0.1:1234/Default.aspx > > Line Number 1, Column 1: > > > > Thanks a lot in advance, > > Madars. > > > > _______________________________________________ > > Mono-list maillist - [email protected] > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > -- > Juan Cristóbal Olivares > -- Juan Cristóbal Olivares
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
