Closed Bug 283536 Opened 21 years ago Closed 18 years ago

Microsoft ASP.NET - Clicking on the error message "links" doesn't expand them like in IE

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows Server 2003
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: chuacw, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 In the attached HTML file (see additional info), there are two links. Clicking on the links should expand it and show the text, but it doesn't. In IE, it does. Reproducible: Always Steps to Reproduce: 1. Load the attached HTML file in Firefox 2. Click on the links Actual Results: Nothing happens Expected Results: Expand it to show the text <html> <head> <title>Compilation Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Compilation Error</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. <br><br> <b> Compiler Error Message: </b>The compiler failed with error code 1.<br><br> <br><div class="expandable" onclick="OnToggleTOCLevel1()" level2ID="compilerOutputDiv">Show Detailed Compiler Output:</div> <div id="compilerOutputDiv" style="display: none;"> <br><table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> c:\winnt\system32\inetsrv&gt; &quot;c:\winnt\microsoft.net\framework\v1.1.4322\dccil.exe&quot; &quot;-luc:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll&quot; &quot;-luc:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll&quot; &quot;-luc:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\1df1d9a7\fcdaaf6c_5b08c501\rssclient.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\93e894a1\0082c595_5af8c301\skmmenu.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\6def8f91\062c7940_e602c501\exthyperlink.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll&quot; &quot;-luc:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll&quot; &quot;-luc:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\38d0340f\c62dd814_8bf5c401\right security consultants.dll&quot; &quot;-luc:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll&quot; &quot;-luc:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll&quot; &quot;-luc:\winnt\assembly\gac\freetextbox\3.0.3300.0__5962a4e684a48b87\freetextbox.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\4cef2a4d\1c45eb1c_dce9c401\borland.data.common.dll&quot; &quot;-luc:\winnt\assembly\gac\borland.data.web\9.0.1761.24408__91d62ebb5b0d1b1b\borland.data.web.dll&quot; &quot;-luc:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll&quot; &quot;-xC:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\7966d2f0\e50a5b56\mb8zyntm.dll&quot; -v- -$0+ -q &quot;C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\7966d2f0\e50a5b56\mb8zyntm.0.pas&quot; Right Security Consultants DCCIL invoker v1.0 Copyright (c) 2004 Right Security Consultants Cmd: &quot;c:\winnt\microsoft.net\framework\v1.1.4322\dccasp.exe &quot;-luc:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll&quot; &quot;-luc:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\1df1d9a7\fcdaaf6c_5b08c501\rssclient.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\93e894a1\0082c595_5af8c301\skmmenu.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\6def8f91\062c7940_e602c501\exthyperlink.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll&quot; &quot;-luc:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll&quot; &quot;-luc:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\38d0340f\c62dd814_8bf5c401\right security consultants.dll&quot; &quot;-luc:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll&quot; &quot;-luc:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll&quot; &quot;-luc:\winnt\assembly\gac\freetextbox\3.0.3300.0__5962a4e684a48b87\freetextbox.dll&quot; &quot;-luc:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\root\7966d2f0\e50a5b56\assembly\dl2\4cef2a4d\1c45eb1c_dce9c401\borland.data.common.dll&quot; &quot;-luc:\winnt\assembly\gac\borland.data.web\9.0.1761.24408__91d62ebb5b0d1b1b\borland.data.web.dll&quot; &quot;-luc:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll&quot; &quot;-xC:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\7966d2f0\e50a5b56\mb8zyntm.dll&quot; &quot;-v-&quot; &quot;-$O+&quot; &quot;-q&quot; Borland Delphi for .NET compiler version 17.0 Copyright (c) 1983,2004 Borland Software Corporation .NET Framework v1.1.4322 loaded Fatal: F1026 File not found: 'Borland.Delphi.System.dcuil' &quot;C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\7966d2f0\e50a5b56\mb8zyntm.0.pas&quot;&quot; ExitCode: 1 </pre></code> </td> </tr> </table> </div> <br><div class="expandable" onclick="OnToggleTOCLevel1()" level2ID="dynamicCodeDiv">Show Complete Compilation Source:</div> <div id="dynamicCodeDiv" style="display: none;"> <br><table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> Line 1: //------------------------------------------------------------------------------ Line 2: // &lt;autogenerated&gt; Line 3: // This code was generated by a tool. Line 4: // Runtime Version: 1.1.4322.2032 Line 5: // Line 6: // Changes to this file may cause incorrect behavior and will be lost if Line 7: // the code is regenerated. Line 8: // &lt;/autogenerated&gt; Line 9: //------------------------------------------------------------------------------ Line 10: Line 11: unit ASP; Line 12: Line 13: interface Line 14: Line 15: uses System.Collections, Line 16: System.Collections.Specialized, Line 17: System.Configuration, Line 18: System.Text, Line 19: System.Text.RegularExpressions, Line 20: System.Web, Line 21: System.Web.Caching, Line 22: System.Web.SessionState, Line 23: System.Web.Security, Line 24: System.Web.UI, Line 25: System.Web.UI.WebControls, Line 26: System.Web.UI.HtmlControls, System.Web.Mail, SysUtils; Line 27: Line 28: implementation Line 29: Line 30: {$AUTOBOX ON} Line 31: {$HINTS OFF} Line 32: {$WARNINGS OFF} Line 33: Line 34: Line 35: Line 36: procedure feedback_aspx.SendFeedback(Sender: System.Object; E: EventArgs) ; Line 37: var Line 38: mail: MailMessage; Line 39: I, J: Integer; Line 40: Config, Line 41: Coll: NameValueCollection; Line 42: S1, S2: array of string; Line 43: SMTPUser, SMTPPassword, Body, SMTPServer, MailTo: string; Line 44: begin Line 45: try Line 46: Coll := System.Web.HttpContext.Current.Request.Headers; Line 47: S1 := Coll.AllKeys; Body := ''; Line 48: for I := 0 to Length(S1)-1 do Line 49: begin Line 50: S2 := Coll.GetValues(S1[I]); Line 51: for J := 0 to Length(S2)-1 do Line 52: Body := Body + S1[I] + ':= ' + S2[J] + System.Environment.NewLine; Line 53: end; Line 54: Line 55: Config := NameValueCollection(ConfigurationSettings.GetConfig('RightSecurityConsultants')); Line 56: SMTPUser := string(Config['AuthenticatedSMTPSender']); Line 57: SMTPPassword := string(Config['AuthenticatedSMTPPassword']); Line 58: SMTPServer := string(Config['smtpServer']); Line 59: MailTo := string(Config['MailTo']); Line 60: Line 61: mail := MailMessage.Create; Line 62: mail.&amp;To := Format('Chee Wee &lt;%s&gt;', [MailTo]); Line 63: mail.From := From.Text; Line 64: mail.Subject := 'Feedback'; Line 65: mail.Headers.Add('X-Forwarded-For', System.Web.HttpContext.Current.Request.Headers['X-Forwarded-For']); Line 66: mail.Body := 'Message from feedback.aspx' + System.Environment.NewLine + Message.Text; Line 67: mail.Fields['http://schemas.microsoft.com/cdo/configuration/smtpauthenticate'] := 1; Line 68: mail.Fields['http://schemas.microsoft.com/cdo/configuration/sendusername'] := SMTPUser; Line 69: mail.Fields['http://schemas.microsoft.com/cdo/configuration/sendpassword'] := SMTPPassword; Line 70: SmtpMail.SmtpServer := smtpServer; Line 71: SmtpMail.Send(mail); Line 72: Message.Text := ''; Line 73: Status.Text := 'Message sent!'; Line 74: except Line 75: on E: Exception do Line 76: Message.Text := 'Your message was not delivered due to an error. Please retry at a later time.'; Line 77: end; Line 78: end; Line 79: constructor feedback_aspx.Create; Line 80: var Line 81: dependencies: System.Collections.ArrayList; Line 82: begin Line 83: inherited Create; Line 84: if (ASP.feedback_aspx.__initialized = False) then Line 85: begin Line 86: dependencies := System.Collections.ArrayList.Create; Line 87: dependencies.Add('d:\Right Security Consultants Website\feedback.aspx'); Line 88: ASP.feedback_aspx.__fileDependencies := dependencies; Line 89: ASP.feedback_aspx.__initialized := True; Line 90: end; Line 91: end; Line 92: Line 93: function feedback_aspx.get_AutoHandlers: Integer; Line 94: begin Line 95: Result := ASP.feedback_aspx.__autoHandlers; Line 96: end; Line 97: Line 98: function feedback_aspx.get_ApplicationInstance: System.Web.HttpApplication; Line 99: begin Line 100: Result := (System.Web.HttpApplication(Self.Context.ApplicationInstance)); Line 101: end; Line 102: Line 103: function feedback_aspx.get_TemplateSourceDirectory: string; Line 104: begin Line 105: Result := '/'; Line 106: end; Line 107: Line 108: procedure feedback_aspx.set_AutoHandlers(Value: Integer); Line 109: begin Line 110: ASP.feedback_aspx.__autoHandlers := Value; Line 111: end; Line 112: Line 113: function feedback_aspx.__BuildControlFrom: System.Web.UI.Control; Line 114: var Line 115: __ctrl: System.Web.UI.WebControls.TextBox; Line 116: begin Line 117: __ctrl := System.Web.UI.WebControls.TextBox.Create; Line 118: Self.From := __ctrl; Line 119: __ctrl.ID := 'From'; Line 120: __ctrl.ReadOnly := False; Line 121: __ctrl.TextMode := System.Web.UI.WebControls.TextBoxMode.SingleLine; Line 122: Result := __ctrl; Line 123: end; Line 124: Line 125: function feedback_aspx.__BuildControlStatus: System.Web.UI.Control; Line 126: var Line 127: __ctrl: System.Web.UI.WebControls.Literal; Line 128: begin Line 129: __ctrl := System.Web.UI.WebControls.Literal.Create; Line 130: Self.Status := __ctrl; Line 131: __ctrl.ID := 'Status'; Line 132: Result := __ctrl; Line 133: end; Line 134: Line 135: function feedback_aspx.__BuildControlMessage: System.Web.UI.Control; Line 136: var Line 137: __ctrl: System.Web.UI.WebControls.TextBox; Line 138: begin Line 139: __ctrl := System.Web.UI.WebControls.TextBox.Create; Line 140: Self.Message := __ctrl; Line 141: __ctrl.Columns := 40; Line 142: __ctrl.ID := 'Message'; Line 143: __ctrl.ReadOnly := False; Line 144: __ctrl.Rows := 10; Line 145: __ctrl.TextMode := System.Web.UI.WebControls.TextBoxMode.MultiLine; Line 146: Result := __ctrl; Line 147: end; Line 148: Line 149: function feedback_aspx.__BuildControl__control3: System.Web.UI.Control; Line 150: var Line 151: __ctrl: System.Web.UI.WebControls.Button; Line 152: begin Line 153: __ctrl := System.Web.UI.WebControls.Button.Create; Line 154: Self.__control3 := __ctrl; Line 155: __ctrl.Text := 'Send Feedback'; Line 156: Include(__ctrl.Click, Self.SendFeedback); Line 157: Result := __ctrl; Line 158: end; Line 159: Line 160: function feedback_aspx.__BuildControl__control2: System.Web.UI.Control; Line 161: var Line 162: __parser: System.Web.UI.IParserAccessor; Line 163: __ctrl: System.Web.UI.HtmlControls.HtmlForm; Line 164: begin Line 165: __ctrl := System.Web.UI.HtmlControls.HtmlForm.Create; Line 166: Self.__control2 := __ctrl; Line 167: __parser := (System.Web.UI.IParserAccessor(__ctrl)); Line 168: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create('&lt;strong&gt;F' + Line 169: 'rom:&lt;/strong&gt; ')); Line 170: Self.__BuildControlFrom; Line 171: __parser.AddParsedSubObject(Self.From); Line 172: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create(''#13#10' ' + Line 173: ' eg, Jim &amp;lt;jim@isp.com&amp;gt;&lt;br&gt;&lt;br&gt;'#13#10)); Line 174: Self.__BuildControlStatus; Line 175: __parser.AddParsedSubObject(Self.Status); Line 176: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create('&lt;br&gt;'#13#10 + Line 177: '&lt;strong&gt;Feedback&lt;/strong&gt;:&lt;br&gt;'#13#10)); Line 178: Self.__BuildControlMessage; Line 179: __parser.AddParsedSubObject(Self.Message); Line 180: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create('&lt;br&gt;'#13#10 + Line 181: ' ')); Line 182: Self.__BuildControl__control3; Line 183: __parser.AddParsedSubObject(Self.__control3); Line 184: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create(''#13#10)); Line 185: Result := __ctrl; Line 186: end; Line 187: Line 188: procedure feedback_aspx.__BuildControlTree(__ctrl: System.Web.UI.Control); Line 189: var Line 190: __parser: System.Web.UI.IParserAccessor; Line 191: begin Line 192: __parser := (System.Web.UI.IParserAccessor(__ctrl)); Line 193: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create(''#13#10'&lt;' + Line 194: 'html&gt;'#13#10'&lt;head&gt;'#13#10'&lt;title&gt;Feedback&lt;/title&gt;'#13#10'&lt;meta http-' + Line 195: 'equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;'#13#10'&lt;' + Line 196: 'link href=&quot;/css/site.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;'#13#10'&lt;/' + Line 197: 'head&gt;'#13#10)); Line 198: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create(''#13#10'&lt;' + Line 199: 'body class=&quot;site&quot;&gt;'#13#10)); Line 200: Self.__BuildControl__control2; Line 201: __parser.AddParsedSubObject(Self.__control2); Line 202: __parser.AddParsedSubObject(System.Web.UI.LiteralControl.Create(''#13#10'&lt;' + Line 203: '/body&gt;'#13#10'&lt;/html&gt;'#13#10)); Line 204: end; Line 205: Line 206: procedure feedback_aspx.FrameworkInitialize; Line 207: begin Line 208: Self.__BuildControlTree(Self); Line 209: Self.FileDependencies := ASP.feedback_aspx.__fileDependencies; Line 210: Self.ContentType := 'text/html'; Line 211: Self.ResponseEncoding := 'utf-8'; Line 212: Self.EnableViewStateMac := True; Line 213: Self.Request.ValidateInput; Line 214: end; Line 215: Line 216: function feedback_aspx.GetTypeHashCode: Integer; Line 217: begin Line 218: Result := -1167743042; Line 219: end; Line 220: Line 221: end. Line 222: </pre></code> </td> </tr> </table> </div> <script language="JavaScript" type="text/javascript"> function OnToggleTOCLevel1() { var elemSrc = window.event.srcElement; var elemLevel2 = document.all(elemSrc.level2ID); if (elemLevel2.style.display == 'none') { elemLevel2.style.display = ''; if (elemSrc.usesGlyph == '1') elemSrc.innerHTML = '&#054;'; } else { elemLevel2.style.display = 'none'; if (elemSrc.usesGlyph == '1') elemSrc.innerHTML = '&#052;'; } } </script> <br><br> <hr width=100% size=1 color=silver> <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 </font> </body> </html> <!-- [HttpCompileException]: External component has thrown an exception. at System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResults results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String sourceFile, String sourceString) at System.Web.Compilation.BaseCompiler.GetCompiledType() at System.Web.UI.PageParser.CompileIntoType() at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() [HttpException]: External component has thrown an exception. at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) at System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
Sorry, didn't know I could do attachments, so I originally posted the entire source of this file into Additional Info.
If you look at the JavaScript Console after trying to click one of these links, you'll see "Error: window.event has no properties", which means the page relies on IE-style event handling. window.event will not be added to Firefox (see bug 218415), so moving to tech evang.
Assignee: firefox → english-us
Component: General → English US
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Summary: Clicking on the two links shown doesn't expand them like in IE → Microsoft ASP.NET - Clicking on the error message "links" doesn't expand them like in IE
Version: 1.0 Branch → unspecified
see Bug 114158 too Any URL which shows this problem?
Without a live URL that demonstrates this problem, this is not an actual TE bug. INVALID, since TE is not intended to fix theoretical bugs (which, as I understand it, this is).
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: