[Mono-list] webservice errors.

Bryan Lee bryan at bryan.sg
Sat Feb 18 18:53:58 EST 2006


Hey all,

i'm fairly to new to this, have seen the docs and online
guides to setup webservices and asp.net on my FC4
linux machine. I'm running apache2 and trying to
load my webservice tho it doesnt to work:

This is what i added to httpd.conf:

LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so
Alias /test2 "/home/admin/test"
AddMonoApplications default "/test2:/home/admin/test"
<Location /test2>
   SetHandler mono
</Location>


The error i got was:
The requested URL /test2/MyService.asmx was not found on this server.


What lines do i need to add into httpd.conf (apache2) in order for my 
webservice below to work, here are my files

drwxr-xr-x  2 admin admin  4096 Feb 14 23:59 bin
-rw-r--r--  1 admin admin   526 Feb 15 00:02 businesstimespan.config
-rw-r--r--  1 admin admin   617 Feb 15 00:02 DeploymentInfo.config
-rw-r--r--  1 admin admin  2247 Feb 15 00:02 log4net.config
-rw-r--r--  1 admin admin    90 Feb 15 00:02 MyService.asmx
-rw-r--r--  1 admin admin  1139 Feb 15 00:02 MyService.cs
-rw-r--r--  1 admin admin  5520 Feb 15 00:02 new.Maestro
-rw-r--r--  1 admin admin 12839 Feb 15 00:02 Primary.model
-rw-r--r--  1 admin admin     0 Feb 15 00:02 project.Deployed
-rw-r--r--  1 admin admin   353 Feb 15 00:02 properties.config
drwxr-xr-x  2 admin admin  4096 Feb 14 23:59 reports
-rw-r--r--  1 admin admin  4933 Feb 15 00:02 web.config



More information about the Mono-list mailing list