All pastes #740020 Raw Edit

Stuff

public text v1 · immutable
·published 2007-10-17 17:14 UTC
rendered paste body
<html><body>

Date: <%response.write(date())%>.
<br/>
Time: <%response.write(time())%>.

</body></html>




Server Error in '/' Application

--------------------------------------------------------------------------------

Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. 
Error message: 
/tmp/wwwrun-temp-aspnet-0/205ace6b/26f1a7c4.0.cs(62,13) : error CS1002: Expecting `;'
/tmp/wwwrun-temp-aspnet-0/205ace6b/26f1a7c4.0.cs(63,21) : error CS1002: Expecting `;'
/tmp/wwwrun-temp-aspnet-0/205ace6b/26f1a7c4.0.cs(64,13) : error CS1002: Expecting `;'
/tmp/wwwrun-temp-aspnet-0/205ace6b/26f1a7c4.0.cs(65,21) : error CS1002: Expecting `;'


File name: /srv/www/htdocs/test.aspx

Source File: /tmp/wwwrun-temp-aspnet-0/205ace6b/26f1a7c4.0.cs 

Line 1: // ------------------------------------------------------------------------------
Line 2: //  <autogenerated>
Line 3: //      This code was generated by a tool.
Line 4: //      Mono 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: //  </autogenerated>
Line 9: // ------------------------------------------------------------------------------
Line 10: 
Line 11: namespace ASP {
Line 12:     using System;
Line 13:     using System.Collections;
Line 14:     using System.Collections.Specialized;
Line 15:     using System.Configuration;
Line 16:     using System.Text;
Line 17:     using System.Text.RegularExpressions;
Line 18:     using System.Web;
Line 19:     using System.Web.Caching;
Line 20:     using System.Web.Security;
Line 21:     using System.Web.SessionState;
Line 22:     using System.Web.UI;
Line 23:     using System.Web.UI.WebControls;
Line 24:     using System.Web.UI.HtmlControls;
Line 25:     
Line 26:     
Line 27:     public class test_aspx : System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState {
Line 28:         
Line 29:         private static bool __initialized = false;
Line 30:         
Line 31:         private static int __autoHandlers;
Line 32:         
Line 33:         public test_aspx() {
Line 34:             if ((ASP.test_aspx.__initialized == false)) {
Line 35:                 ASP.test_aspx.__initialized = true;
Line 36:             }
Line 37:         }
Line 38:         
Line 39:         protected override int AutoHandlers {
Line 40:             get {
Line 41:                 return ASP.test_aspx.__autoHandlers;
Line 42:             }
Line 43:             set {
Line 44:                 ASP.test_aspx.__autoHandlers = value;
Line 45:             }
Line 46:         }
Line 47:         
Line 48:         protected System.Web.HttpApplication ApplicationInstance {
Line 49:             get {
Line 50:                 return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
Line 51:             }
Line 52:         }
Line 53:         
Line 54:         public override string TemplateSourceDirectory {
Line 55:             get {
Line 56:                 return "/";
Line 57:             }
Line 58:         }
Line 59:         
Line 60:         private void __RenderTree(System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) {
Line 61:             __output.Write("\n<html>\n<body>\n\nDate: ");
Line 62:             response.write(date())
Line 63:             __output.Write(".\n<br/>\nTime: ");
Line 64:             response.write(time())
Line 65:             __output.Write(".\n\n</body>\n</html>\n\n");
Line 66:         }
Line 67:         
Line 68:         private void __BuildControlTree(test_aspx __ctrl) {
Line 69:             __ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.__RenderTree));
Line 70:         }
Line 71:         
Line 72:         protected override void FrameworkInitialize() {
Line 73:             base.FrameworkInitialize();
Line 74:             this.TraceModeValue = System.Web.TraceMode.SortByTime;
Line 75:             this.__BuildControlTree(this);
Line 76:         }
Line 77:         
Line 78:         public override int GetTypeHashCode() {
Line 79:             return 2062123847;
Line 80:         }
Line 81:     }
Line 82: }