[Mono-list] Web service cannot find assembly when placed to subfolder
robertj at gmx.net
Fri Jun 5 14:01:55 EDT 2009
Andrus Moor wrote:
> I have the following files hosted in apache + Mono 2.4 + Debian :
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 
and declare your apps as described here .
More information about the Mono-list