Andrus Moor wrote:
> I have the following files hosted in apache + Mono 2.4 +  Debian :
> 
> ~/www/htdocs/demo/StockService.asmx
> ~/www/htdocs/demo/Bin/Myapp.Service.dll

Try to rename "Bin" to "bin".

> StockService.asmx contains:
> 
> <%@ WebService Language="C#" Debug="True" CodeBehind="MyApp.Service.dll"
> Class="MyApp.Service.StockService" %>

CodeBehind is usually specifying the *.cs with the implementation.
But this is probably not the issue.

> If those files are placed directly to htdocs folder, all is OK.
> I need to host multiple mono web applications.
> How to place service to subfolder ?

If renaming "Bin" didn't help, try to turn off autohosting [1]
and declare your apps as described here [2].

[1] http://mono-project.com/AutoHosting
[2] http://mono-project.com/Mod_mono

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to