[Mono-bugs] [Bug 578586] New: Cannot compile ASP page using Microsoft Chart Control

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 9 21:43:20 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=578586

http://bugzilla.novell.com/show_bug.cgi?id=578586#c0


           Summary: Cannot compile ASP page using Microsoft Chart Control
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i686
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jason.height at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=341657)
 --> (http://bugzilla.novell.com/attachment.cgi?id=341657)
Self contained website example of problem

Description of Problem:

System.Web.Compilation.PageCompiler cannot compile a "simple" website featuring
the Microsoft Chart Control.

Steps to reproduce the problem:
1. Unzip attached website. Right click on website directory and select "XSP 2.0
Web Server Here 2.6"
2. Open Browser and hit the xsp url

I have confirmed that the charting assemblies do not contain p/invoke calls etc
using moma.

Actual Results:

Error page is prsented:
Server Error in '/' Application

Method not found: 'Default constructor not found...ctor() of
System.Web.UI.DataVisualization.Charting.SeriesYValueTypeConverter'.
Description: HTTP 500. Error processing request.
Stack Trace: 

System.MissingMethodException: Method not found: 'Default constructor not
found...ctor() of
System.Web.UI.DataVisualization.Charting.SeriesYValueTypeConverter'.
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename
unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.GetConverterForMember
(System.Reflection.MemberInfo member) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.GetExpressionFromString
(System.Type type, System.String str, System.Reflection.MemberInfo member)
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.AddCodeForPropertyOrField
(System.Web.UI.ControlBuilder builder, System.Type type, System.String
var_name, System.String att, System.Reflection.MemberInfo member, Boolean
isDataBound, Boolean isExpression) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.ProcessPropertiesAndFields
(System.Web.UI.ControlBuilder builder, System.Reflection.MemberInfo member,
System.String id, System.String attValue, System.String prefix) [0x00000] in
<filename unknown>:0 
  at
System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementFromAttribute
(System.Web.UI.ControlBuilder builder, System.String id) [0x00000] in <filename
unknown>:0 
  at
System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementsFromAttributes
(System.Web.UI.ControlBuilder builder) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.CreateControlTree
(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
childrenAsProperties) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.CreateControlTree
(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
childrenAsProperties) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.CreateControlTree
(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
childrenAsProperties) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.CreateControlTree
(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
childrenAsProperties) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.CreateControlTree
(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
childrenAsProperties) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateControlCompiler.CreateMethods () [0x00000]
in <filename unknown>:0 
  at System.Web.Compilation.PageCompiler.CreateMethods () [0x00000] in
<filename unknown>:0 
  at System.Web.Compilation.BaseCompiler.ConstructType () [0x00000] in
<filename unknown>:0 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode ()
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode
(System.Web.Compilation.AssemblyBuilder assemblyBuilder) [0x00000] in <filename
unknown>:0 
  at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp,
Boolean debug) [0x00000] in <filename unknown>:0      

Version information: Mono Runtime Version: tarball; ASP.NET Version:
2.0.50727.1433 

Expected Results:

Page should display that presents a chart.

How often does this happen? 
Always.


Additional Information:

-- 
Configure bugmail: http://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