[Mono-list] Unable to Run Custom ASP.NET Applications on Apache

rugved rugvedmandrekar at hotmail.com
Tue Feb 18 15:47:01 UTC 2014


In order to run my ASP.NET application compatible on Linux machines, I
decided to use Mono.

Instead of installing Linux on a different partition on my hard drive, I
installed Linux on a virtual machine (VMware Player), specifically a Debian
VM image provided to us by Turnkey with Mono pre-configured with Apache
server.

To test the Apache server, I first created a sample Hello World ASP.NET
application in Windows and have copied it to the Apache root in Linux
(/var/www/). The name of my sample application is, Hello. However as I run
the application from Google Chrome in the host OS by entering its IP address
(http://192.168.1.146/Hello/Default.aspx), Chrome gives me the following
error: Server Error in '/' Application

I can run the sample ASP.NET applications provided to me by Mono by simply
entering my guest OS's (Debian Linux installed on VM) IP address
(http://192.168.1.146). Can anyone please tell me where exactly am I going
wrong? If I am not mistaken, I have to modify the apache2.conf file. Replies
at the earliest will be highly appreciated. Thank you in advance.



--
View this message in context: http://mono.1490590.n4.nabble.com/Unable-to-Run-Custom-ASP-NET-Applications-on-Apache-tp4661957.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list