[Mono-list] Problem porting web service to Ubuntu/Mono

blearyeye wleal at pobox.com
Wed Aug 27 01:31:06 EDT 2008

I'm a bit of a newbie, so apologies in advance. I've looked thru the forums
but haven't found anything. I have a simple web service written in C# that
I'd like to port to Ubuntu. It's running just fine under IIS on Vista.

I've installed Mono 1.2.6 (following the instructions at
http://blog.ruski.co.za/page/Install-Mono-126-on-Ubuntu-710.aspx), including
Mono XSP for Apache. I've copied all the files of the web service to the
appropriate spot under /var/www. 

When I access it in a browser
(http://localhost/testhub/DataHub/Service.asmx), I get error 500:
"System.Web.HttpException: Type Service not found". The Service.asmx file
contains the following single line:

<%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs"
Class="Service" %>

I've attached a zip file that has the whole web service in it. 

tia, Bill

http://www.nabble.com/file/p19174888/Datahub.zip Datahub.zip 
View this message in context: http://www.nabble.com/Problem-porting-web-service-to-Ubuntu-Mono-tp19174888p19174888.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list