[Mono-bugs] [Bug 368516] Unable to run ASP.NET applications under XSP2 ( Windows XP 64bit)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 11 15:15:07 EDT 2008


User mhabersack at novell.com added comment

--- Comment #6 from Marek Habersack <mhabersack at novell.com>  2008-03-11 13:15:07 MST ---
(In reply to comment #5 from Alexander Tyutik)
> I don't know how to run XSP from command line (don't know required parameters).
> But this is not my first test application. Few months ago i tried similar
> application on mono 1.2.6 same way and it worked.
You don't need to pass any special command line parameter - just go to the
directory in which you have the application (inside the command line window)
and run mono --debug xsp2.exe (you need to have the mono bin/ directory in your
PATH environment variable for that to work -  you can modify the PATH variable
by right clicking on My Computer and editing your environment from there). Once
you have xsp2.exe running that way, you will be able to see all the messages it
prints to the console.

> Also i wrote about this problem to gmane.comp.gnome.mono.general (after 1.9.3
> released) and got a letter from user Ulrik Andersson with same problem. He
> wrote:
> "I have this exact same problem. Only It's a tiny .net 2.0 project built in
> vs2005 running on win 2003. I also get nothing but a blank page. Are there any
> additional settings that needs to be done? Did you solve this?"
> Also i have OpenSUSE 10.3 64bit machine, but i'm new to linux and have some
> problems with installing mono 1.9 using installer, so i'll check this problem
> only after mono will be avaialable in YaST. But, in any case, i need mono
You can add this repository to yast to get access to the 1.9 mono preview


> working under windows because i use VS for developing and can't run it on linux
> as you understand :-(
You don't really need mono on windows when developing. You can develop and test
your application on Windows with VisualStudio and .NET and then deploy it to
the Linux machine with Mono. The application should run without changes - if it
does not, then it's a bug in Mono and you should report it with a small test
case that triggers the bug. Deploying to Linux should be as easy as copying the
deployed application to your Linux machine. Make sure to keep in mind that,
unlike Windows, Linux is case sensitive for file names (i.e. you should use the
exact file name when referring to it from inside of your application code). You
can also run your application on Linux in a special mode which takes care of
(most) file case related problems. To switch Mono to that mode, make sure you
export the following variable to your Linux environment before running the

export MONO_IOMAP=all

(you can put it in your ~/.bashrc file)

or, if you use apache, put 

MonoSetEnv MONO_IOMAP=all

in your virtual server's config file.

hope that helps

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list