[Mono-bugs] [Bug 377915] New: Changes to ascx-files registered in web. config not picked up

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 8 08:02:14 EDT 2008


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


           Summary: Changes to ascx-files registered in web.config not
                    picked up
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Changes to ascx-files registered in web.config are not being picked up. And
when the a page containing such a control is recompiled, an exception ("The
imported type `ASP.mycontrol_ascx' is defined multiple times") is thrown and
the app needs to be restarted.

Recipe for reproduction:
========================

- extract the attached test case
- start xsp2 in app dir
- request http://localhost:8080
- change MyControl.ascx
- request http://localhost:8080
=> no change

- touch index.aspx
- request http://localhost:8080
=> exception:

======
Server Error in '/' Application
Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Compiler Error Message: CS0433: The imported type `ASP.mycontrol_ascx' is
defined multiple times

Source Error:

Line 1: <%@ Page %>
Line 2: <test:MyControl runat="server" />


Source File: /home/js/testapp/index.aspx  Line: 2
======

Without app restart, the page will not recompile.


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