[Mono-bugs] [Bug 462681] New: Invalid error message if asmx file references to nonexisting assembly or class
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Dec 28 11:55:25 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=462681
Summary: Invalid error message if asmx file references to
nonexisting assembly or class
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 test.asmx file containing nonexisting things:
<%@ WebService Language="C#"
CodeBehind="Bad.dll"
Class="Bad.Bad" %>
2. Host this assembly under Apache/mod_mono. Try to open it in browser.
Observed:
Server Error in '/' Application
--------------------------------------------------------------------------------
An element with the same key already exists in the dictionary.
Description: HTTP 500. Error processing request.
Stack Trace:
System.ArgumentException: An element with the same key already exists in the
dictionary. at
System.Collections.Generic.Dictionary`2[System.Object,System.Object].Add
(System.Object key, System.Object value) [0x00000] at
System.Web.Compilation.BuildManager.AddToCache (System.String virtualPath,
System.Web.Compilation.BuildProvider bp) [0x00000] at
System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath
virtualPath, BuildKind buildKind) [0x00000] at
System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath
virtualPath) [0x00000] at System.Web.Compilation.BuildManager.GetCompiledType
(System.String virtualPath) [0x00000] at
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String verb, System.String url,
System.String filePath) [0x00000] at
System.Web.Script.Services.ScriptHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType, System.String url,
System.String pathTranslated) [0x00000] at
System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00000] at
System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] at
System.Web.HttpApplication+<Pipeline>c__Iterator5.MoveNext () [0x00000]
--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433
--
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