[Mono-bugs] [Bug 81655][Blo] New - Running page with Generated Local resources causes exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 17 10:58:52 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by chris.george at sysmedia.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81655

--- shadow/81655	2007-05-17 10:58:51.000000000 -0400
+++ shadow/81655.tmp.25104	2007-05-17 10:58:51.000000000 -0400
@@ -0,0 +1,66 @@
+Bug#: 81655
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: Windows XP Sp2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: chris.george at sysmedia.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Running page with Generated Local resources causes exception
+
+Trying to view a page in IE against XSP2 using mono 1.2.4 where my page has
+had a Local resource file generated (in visual studio), gives the following
+exception & stack trace:
+
+System.ArgumentException: parserDir cannot be empty  at
+System.Web.Compilation.AppResourceFilesCollection..ctor (System.String
+parserDir) [0x00000]   at System.Web.Compilation.AppResourcesCompiler..ctor
+(System.String virtualPath) [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.Compilation.TemplateControlCompiler.AssignPropertyFromResources
+(System.CodeDom.CodeMemberMethod method, System.Reflection.MemberInfo mi,
+System.String attvalue) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.AssignPropertiesFromResources
+(System.CodeDom.CodeMemberMethod method, System.Type controlType,
+System.String attvalue) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.AssignPropertiesFromResources
+(System.Web.UI.ControlBuilder builder, System.String attvalue) [0x00000]  
+at
+System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementFromAttribute
+(System.Web.UI.ControlBuilder builder, System.String id) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementsFromAttributes
+(System.Web.UI.ControlBuilder builder) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.CreateControlTree
+(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
+childrenAsProperties) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.CreateControlTree
+(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
+childrenAsProperties) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.CreateControlTree
+(System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean
+childrenAsProperties) [0x00000]   at
+System.Web.Compilation.TemplateControlCompiler.CreateMethods () [0x00000] ...
+
+
+To Reproduce:
+
+Create a simple page with a button on it.
+Select Tool->Generate Local Resource in visual studio
+Build, and run xsp2 on the resultant files.
+Browse IE to the page.
+
+This worked fine under Mono 1.2.3, and works before generating the local
+resource files.
+
+I can supply example published output on request.


More information about the mono-bugs mailing list