[Mono-bugs] [Bug 495019] New: aspx file having duplicate asp:Literal ID throws server error on browser
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 15 03:35:17 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=495019
Summary: aspx file having duplicate asp:Literal ID throws
server error on browser
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x AddOn CD
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: amahabaleshwar at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
With mono 2.4 runtime, any duplicate asp:Literal ID throws server error on
browser. Even if the duplicate ID is in
<div class="ServerIP">
<%= GetString("LOGINIFOLDERSERVER") %>
<asp:Literal ID="ServerUrl" runat="server" />
</div>
<!-- <div class="ServerIP">
<%= GetString("LOGINIFOLDERSERVER") %>
<asp:Literal ID="ServerUrl" runat="server" />
</div> -->
Original URL: https://192.168.101.16/admin
Returned URL :
https://192.168.101.16/admin/Error.aspx?ex=System.Web.Compilation.CompilationException:+CS0111:+A+member+`ASP.login_aspx.__BuildControl_ServerUrl()'+is+already+defined.+Rename+this+member+or+use+different+parameter+types%0a++at+System.Web.Compilation.AssemblyBuilder.BuildAssembly+(System.Web.VirtualPath+virtualPath,+System.CodeDom.Compiler.CompilerParameters+options)+[0x00000]+%0a++at+System.Web.Compilation.AssemblyBuilder.BuildAssembly+(System.Web.VirtualPath+virtualPath)+[0x00000]+%0a++at+System.Web.Compilation.BuildManager.GenerateAssembly+(System.Web.Compilation.AssemblyBuilder+abuilder,+System.Collections.Generic.List`1+buildItems,+System.Web.VirtualPath+virtualPath,+BuildKind+buildKind)+[0x00000]+%0a++at+System.Web.Compilation.BuildManager.BuildAssembly+(System.Web.VirtualPath+virtualPath)+[0x00000]+%0a++at+System.Web.Compilation.BuildManager.GetCompiledType+(System.String+virtualPath)+[0x00000]+%0a++at+System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath+(
System.String+virtualPath,+System.Type+requiredBaseType)+[0x00000]+%0a++at+System.Web.UI.PageParser.GetCompiledPageInstance+(System.String+virtualPath,+System.String+inputFile,+System.Web.HttpContext+context)+[0x00000]+%0a++at+System.Web.UI.PageHandlerFactory.GetHandler+(System.Web.HttpContext+context,+System.String+requestType,+System.String+url,+System.String+path)+[0x00000]+%0a++at+System.Web.HttpApplication.GetHandler+(System.Web.HttpContext+context,+System.String+url,+Boolean+ignoreContextHandler)+[0x00000]+%0a++at+System.Web.HttpApplication.GetHandler+(System.Web.HttpContext+context,+System.String+url)+[0x00000]+%0a++at+System.Web.HttpApplication%2b<Pipeline>c__Iterator2.MoveNext+()+[0x00000]+
Error Message seen on browser page:
--------------------------------------------------------------------------------
Server Error in '/admin' Application
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however, be
viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on
remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute set
to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error
page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433
-------------------------------------------------------------------------------
Mono addon RPM's installed
mono-addon-web-2.4-0.12
mono-addon-libgdiplus0-2.4-0.4
mono-addon-data-2.4-0.12
mono-addon-xsp-2.4-0.8
mono-addon-core-2.4-0.12
mono-addon-winforms-2.4-0.12
mono-addon-devel-2.4-0.12
mono-addon-data-sqlite-2.4-0.12
--
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