[Mono-bugs] [Bug 536138] New: Local Resource object not found for precompiled web sites

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 1 20:45:01 EDT 2009


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


           Summary: Local Resource object not found for precompiled web
                    sites
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: chrisbrown76 at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=316284)
 --> (http://bugzilla.novell.com/attachment.cgi?id=316284)
Test case source code for simple single page site

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.2)
Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)

Using explicit resource localization to set default label text returns the
error 'A resource object was not found at the specified virtualPath' when using
a precompiled web site. Using SVN head 140997.

Reproducible: Always

Steps to Reproduce:
1. Precompile the attached test case using aspnet_compiler
2. Copy to Mono environment and run under xsp2 e.g xsp2 --port 8081 --address
127.0.0.1
3. Browse to http://localhost:8081:/
Actual Results:  
Following error message and stack trace:

Server Error in '/' Application
A resource object was not found at the specified virtualPath.

Description: HTTP 500. Error processing request.

Stack Trace:

System.Resources.MissingManifestResourceException: A resource object was not
found at the specified virtualPath.
  at System.Web.Compilation.DefaultResourceProvider.GetObject (System.String
resourceKey, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Web.HttpContext.GetLocalObjectFromFactory (System.String
virtualPath, System.String resourceKey, System.Globalization.CultureInfo
culture) [0x00000] 
  at System.Web.HttpContext.GetLocalResourceObject (System.String virtualPath,
System.String resourceKey, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Web.HttpContext.GetLocalResourceObject (System.String virtualPath,
System.String resourceKey) [0x00000] 
  at System.Web.UI.TemplateControl.GetLocalResourceObject (System.String
resourceKey) [0x00000] 
  at ASP.index_aspx.__BuildControlLabel1 () [0x00000] 
  at ASP.index_aspx.__BuildControlform1 () [0x00000] 
  at ASP.index_aspx.__BuildControlTree (ASP.index_aspx __ctrl) [0x00000] 
  at ASP.index_aspx.FrameworkInitialize () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 
  at ASP.index_aspx.ProcessRequest (System.Web.HttpContext context) [0x00000] 
  at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000] 
  at System.Web.HttpApplication.Tick () [0x00000] 

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




Expected Results:  
'This is my local string' should appear as Label1 text property.

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