[Mono-bugs] [Bug 563813] New: [REGRESSION] AspNetForums: The file '~/Controls/Header.ascx' does not exist

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 10 18:00:08 EST 2009


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

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


           Summary: [REGRESSION] AspNetForums: The file
                    '~/Controls/Header.ascx' does not exist
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i586
        OS/Version: SLES 11
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test
           Blocker: ---


Description of Problem:
When you try to go to the admin page in AspNetForums, you get an HTTP 500 error
saying that '~/Controls/Header.ascx' doesn't exist.

This is a regression, because this worked in Mono 2.4.2.3.

This was found in Mono 2.6rc1.


Steps to reproduce the problem:
1. Install Mono 2.6rc1.
2. Install Mono_ASP.NET_MonoForums from Mono:Community
3. cd to /usr/share/mono/asp.net/apps/Mono_ASP.NET_MonoForums-0.7/AspNetForums
4. Run xsp2
5. Login with admin / admin
6. Click the "ASP.NET Forums" link at the top, this will reveal the "admin"
link
7. Click on the "admin" link
8. Notice the error as below


Actual Results:
Server Error in '/AspNetForums' Application
The file '~/Controls/Header.ascx' does not exist

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.Compilation.ParseException: The file '~/Controls/Header.ascx' does
not exist
  at System.Web.UI.BaseParser.ThrowParseException (System.String message,
System.Object[] parms) [0x00000] in <filename unknown>:0 
  at System.Web.UI.BaseParser.ThrowParseFileNotFound (System.String path,
System.Object[] parms) [0x00000] in <filename unknown>:0 
  at System.Web.UI.TemplateParser.RegisterCustomControl (System.String
tagPrefix, System.String tagName, System.String src) [0x00000] in <filename
unknown>:0 
  at System.Web.UI.TemplateControlParser.AddDirective (System.String directive,
System.Collections.Hashtable atts) [0x00000] in <filename unknown>:0 
  at System.Web.UI.PageParser.AddDirective (System.String directive,
System.Collections.Hashtable atts) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType
tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes)
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype,
System.String id, System.Web.Compilation.TagAttributes attributes) [0x00000] in
<filename unknown>:0 
  at System.Web.Compilation.AspParser.Parse () [0x00000] in <filename
unknown>:0 
  at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader,
System.String filename, Boolean doInitParser) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].Parse () [0x00000]
in <filename unknown>:0 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].get_LanguageName ()
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.TemplateBuildProvider.get_LanguageName () [0x00000]
in <filename unknown>:0 
  at
System.Web.Compilation.GenericBuildProvider`1[TParser].get_CodeCompilerType ()
[0x00000] in <filename unknown>:0 
  at
System.Web.Compilation.BuildManagerDirectoryBuilder.GetBuildProviderCodeDomType
(System.Web.Compilation.BuildProvider bp) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManagerDirectoryBuilder.AssignToGroup
(System.Web.Compilation.BuildProvider buildProvider,
System.Collections.Generic.List`1 groups) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManagerDirectoryBuilder.Build (Boolean single)
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp,
Boolean debug) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp)
[0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.GetCompiledType
(System.Web.VirtualPath virtualPath) [0x00000] in <filename unknown>:0 
  at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath
(System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x00000] in
<filename unknown>:0 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000]
in <filename unknown>:0 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
[0x00000] in <filename unknown>:0 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00000] in <filename
unknown>:0 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] in <filename unknown>:0 
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000] in
<filename unknown>:0 

Version information: Mono Runtime Version: tarball Thu Dec 10 17:09:20 UTC
2009; ASP.NET Version: 2.0.50727.1433


Expected Results:
No error and the admin page should show up.


How often does this happen? 
every time.

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