[Mono-bugs] [Bug 462465] New: Unexpected error message if webservice references to nonexisting assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 24 14:00:19 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=462465


           Summary: Unexpected error message if webservice references to
                    nonexisting assembly
           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: ---


To reproduce:

1. Create SOAP web service in VWD2008SP1

1.1 test.asmx

<%@ WebService Language="C#" 
CodeBehind="Business.dll" 
Class="Test" %>

1.2 Business.dll source:

using System.Collections.Generic;
using System.Linq;
using System.Web.Services;
using System;
using System.ComponentModel;
using System.Diagnostics;

[WebService()]
public class Test
{
    [WebMethod()]
    public List<Test> GetData()
    {
        var l = new List<Test>();
        l.Add(new Test() { Toode = "sssss" });
        return l;
        var r = new System.Data.EntityClient.EntityConnection();

    }
    public string Toode { get; set; }
}

2. Host this web service in Apache/mod_mono and call it.

Observed:

Error message does not contain missing assembly name:

Server Error in '/' Application

--------------------------------------------------------------------------------

Failed to create shadow copy (CopyFile).
Description: HTTP 500. Error processing request.

Stack Trace: 

System.ExecutionEngineException: Failed to create shadow copy (CopyFile).  at
(wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool) 
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000]  
at System.Web.UI.SimpleWebHandlerParser.AddAssembliesInBin () [0x00000]  

--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433 

Expected:

Error message must contain System.Data.Entity.dll name


-- 
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