[Mono-bugs] [Bug 463371] New: mod_mono_server: svc files cannot served
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Jan 3 09:38:37 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=463371
Summary: mod_mono_server: svc files cannot served
Product: Mono: Class Libraries
Version: SVN
Platform: x86
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web.Services
AssignedTo: atsushi at ximian.com
ReportedBy: kobruleht2 at hot.ee
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Description of Problem:
WCF services described in .SVC files are not processed
Steps to reproduce the problem:
1. Create file Service1.svc containing
<%@ ServiceHost Language="C#" Debug="true"
Service="Business.StockService.StockService" CodeBehind="Business.dll" %>
2. Host this file using apache + mod_mono in Vista.
Add
AddType application/x-asp-net .svc
to apache config.
3. In browser, type
http://localhost/Service1.svc
Actual Results:
Browser returns file contents:
<%@ ServiceHost Language="C#" Debug="true"
Service="Business.StockService.StockService" CodeBehind="Business.dll" %>
apache error log contains:
..
[Sat Jan 03 16:34:29 2009] [warn] SERVER_SIGNATURE:
[Sat Jan 03 16:34:29 2009] [warn] SERVER_SOFTWARE: Apache/2.2.10 (Win32)
mod_mono/1.9
[Sat Jan 03 16:34:29 2009] [warn] SERVER_NAME: localhost
[Sat Jan 03 16:34:29 2009] [warn] SERVER_ADDR: 127.0.0.1
[Sat Jan 03 16:34:29 2009] [warn] SERVER_PORT: 80
[Sat Jan 03 16:34:29 2009] [warn] REMOTE_ADDR: 127.0.0.1
[Sat Jan 03 16:34:29 2009] [warn] DOCUMENT_ROOT: I:/SilverlightApplication4_Web
[Sat Jan 03 16:34:29 2009] [warn] SERVER_ADMIN: kobruleht2 at hot.com
[Sat Jan 03 16:34:29 2009] [warn] SCRIPT_FILENAME:
I:/SilverlightApplication4_Web/Service1.svc
[Sat Jan 03 16:34:29 2009] [warn] REMOTE_PORT: 50490
[Sat Jan 03 16:34:29 2009] [warn] Command received: SET_CONFIGURATION (13)
[Sat Jan 03 16:34:29 2009] [warn] Command received: SET_STATUS (8)
[Sat Jan 03 16:34:29 2009] [warn] Command received: SET_RESPONSE_HEADERS (2)
[Sat Jan 03 16:34:29 2009] [warn] Headers length: 150
[Sat Jan 03 16:34:29 2009] [warn] Command received: SEND_FILE (12)
[Sat Jan 03 16:34:29 2009] [warn] Command received: CLOSE (4)
[Sat Jan 03 16:34:29 2009] [warn] Done. Status: 0
Expected Results:
Browser should show error message from mod_mono_server.
How often does this happen?
Always.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list