mod-mono

Mono 2.4, AutoHosting and MVC

Can mod_mono's AutoHosting be modified to support ASP.NET? ATM it doesn't really work: Link. / works, but the runtime ignores Global.asax altogether and doesn't follow the routing conventions. ...

MONO/ASP.NET Linux Hosts?

I was wondering if anyone knew of any webhosts that let you deploy asp.net applications to run under mono. edit: Ideally, the host would require little to no configuration on my part to deploy an ASP.NET application. ...

Mono (mod_mono) & Apache (httpd) on Fedora 10: failing to start correctly

Hi It seems I am one of the few trying to get Mono's mod_mono to run on httpd on Fedora 10. Mono is installed and the httpd is configured to use mod_mono.conf But when I do this: service httpd start I get this error: Starting httpd: [crit] (13)Permission denied: Failed to attach to existing dashboard, and removing dashboard file ...

Mod_Mono & Apache: Failed to create shared memory segment for backend

Hi I have successfully installed mod_mono 2.4 and httpd on Fedora 11 and got httpd to start. But when I add: <VirtualHost XXX.XXX.XXX.XXX:80> ServerName mydomain.com ServerAlias www.mydomain.com ServerAdmin [email protected] DocumentRoot /usr/lib64/xsp/test/ MonoServerPath mydomain.com "/usr/lib64/mono/2.0/mod-mono-server2...

Installing mod_mono for ASP.NET on MacOSX Leopard

I'm trying to get mod_mono built and installed so I can start learning and working with ASP.NET on my Mac. My machine is running Mac OSX Leopard 10.5.7. The mono site (http://www.mono-project.com) says I need to install xsp, mono and mod_mono. Mono is installed and working. xsp built and installed fine. My configure output for mod...

Httpd.conf multiple VirtualHost sections (was: Mono ASP.NET MVC AutoHosting issues)

I'm doing exactly this by trying to disable AutoHosting. However now I get "Failed to connect to mod-mono-server after several attempts to spawn the process." in the logs. The path is correct Here's my config: <VirtualHost *:80> ServerName myserver.com DocumentRoot /home/abe/html/ MonoServerPath myserver.com "/usr/loca...

HTTP 500 error in Apache/mod_mono but not in xsp

My ASP.NET MVC application has been successfully ported to Mono. It works very well in xsp on port 8080, including the OpenID authorization process which is relying on RPX. In the process, the website makes some calls to RPX API (https://rpxnow.com/api/v2/...) in the background. At first, it triggered a HTTP 500 error in xsp. The problem...

mod_mono stability issues

Hi, I've read several stablity issues with modmono under high load. The root of the problem is GC and the solution is restarting modmono every n hours, and n should be decreased based on error frequency. I'm planning to develop a heavy load site with mono (I've .net experience and a little java), and I've fears based on this issues lik...

mod_mono parallel requests dont't run in parallel

hi mono fans, I did something quite similar to this: http://stackoverflow.com/questions/1060539/parallel-asynchronous-ajax-requests-using-jquery We develop a public website, utilizing shopping apis from amazon,ebay etc. i have 3 requests going off in parallel ( I know they go off in parallel, because I pass in the client's current ti...

Is Joomla a good choice of CMS for Mono/ASP.NET?

I'm about to start hacking my own website, hosted by my QNAP Turbo NAS server. I want to take the opportunity to learn ASP.NET and since the QNAP runs Apache I'll have to look into the Mono project. Now, the qustion is, is Joomla a good CMS to use when ASP.NET is in the picture? I would really like to be able to design and code focused...

System.UnauthorizedAccessException on RHEL4/Mono x86_64

Hi, I am using mod_mono 2.4.2.3 and Apache 2 to host a web application. This application tries to generate a temp image on its temp folder, but it gives me this error: System.UnauthorizedAccessException: Access to the path "/opt/franquia/hlrgw/Frontend/tmp/ctl00_ContentPlaceHolder1_ZedGraphWeb1f3c01ca1-bb4f-4b5b-9063-eebf0bb3281b.png" i...

Does mod_mono need xsp to work or to work better?

I run an apache 2.2 web server to serve asp.net web applications with mod_mono. It works fine. But mono-xsp2 service running too.. Does mod_mono need xsp to work or to work better? I am asking that because xsp-server start running automatically on boot time. And I couldn't be sure if it is needed or not. Here is a screenshot of the p...

Can't send mails via SMTP with mod_mono

greetings, I have been trying to send emails using this source code string nome = receiverName; string email = receiver; string assunto = subject; string mensagem = message; string body = Common.GenerateBody(message); System.Net.Mail.MailAddress _sender= new MailAddress(sender, "T-Shirt da Gata"); System.Net.Mail.MailAddress _receive...

How do I fix the build for mod_mono when it cannot find strndup on FreeBSD?

I am installing mod_mono with Apache 2 on FreeBSD and I get the following error when Apache tries to load the mod_mono.so module. Cannot load /usr/local/apache/modules/mod_mono.so into server: /usr/local/apache/modules/mod_mono.so: Undefined symbol "strndup" The prefix I set for Apache is /usr/local/apache and I have PHP an...

HttpHandler to handle all kinds of URL's in Mono Apache/XSP in order to build a REST service

Hi, I want to develop my own REST service, so I've created a HttpHandler that is configured with verb="" and path="", the the application in "~/MyRESTsrv/" will handle any derivated URL. This approach works good in IIS7 with "integrated mode" and apparently in IIS6 if you map all the extensions to "aspnet_isapi.dll". Is this possible ...

Mono and Apache are serving files with no ASP.NET processing

On a new Rackspace Cloud Server box (Ubuntu 9.10), I've installed apache2, libapache2-mod-mono, and mod-mono-server2. I've disabled mod_mono and enabled mod_mono_auto, but whatever I do, requests for Default.aspx return the actual contents of Default.aspx (in this case, "This is a marker file generated by the precompilation tool, and sh...

Appdomain recycle settings on mod_mono & Apache

How does one control the application recycle settings for an ASP.NET application runnin on mod_mono & Apache ? On IIS6 & 7 there was an option to specify either a time period, a number of requests, etc. when the AppDomain would be recycled and the application would basically do an Application_End() / Application_Start(). I am seeing th...

Getting error that the database is locked when refreshing the page

I am running apache with mod mono and my asp.net app is using mono sqlite as its db. When i refresh the page twice i get the DB is locked error. The folder it is in is chmod 777. The webapp is creating sqlite.db and sqlite.db-journal but it doesnt seem to be able to delete the journal. Also it has problems when i load the page once. It d...

System.ArgumentException: Invalid hex character at DecryptAssemblyResource

My webapp is trowing these exceptions intermitently ever since we migrated to Mono + Apache: The error sounds more like a problem reading/processing some assembly, so I was wondering if I should be worried that there might be a problem with the hard-drive? System.ArgumentException: Invalid hex character at System.Web.Configuration.Mac...

Response.TransmitFile() on linux gets an IO error

I have a specific page with resources to see you must log in to. After checking i then do HttpContext.Current.Response.TransmitFile("/App_Data" + fn); This works under windows. When moving to mod_mono and apache i get the below. I tried chmod -R 777 App_Data just in case. Still no luck. I made sure to do a hard refresh (shift + refres...